AW: Cannot execute grub-install

Bruce Dubbs bruce.dubbs at
Thu Jun 17 08:18:07 PDT 2010

Michael Vahl wrote:
>>> Michael Vahl wrote:
>>> Hey y'all,
>>> i've recently passed all prior steps of chapter 8.4.2 (LFS 6.6). But now,
>>> without any error messages, I'm not able to execute "grub-install
>>> --grub-setup=/bin/true /dev/sda". grub-install can be found and sda is
> the
>>> system's hdd but the system doesn't confirm the command. Nothing happens.
>>> The only thing I can do is "Ctrl+C". Does someone else have the same
> problem
>>> or can give me a hint? 
>> Do you have /dev poopulated according to section 6.2.2?
>> What grub-install does though is copy files to /boot/grub.  Is that 
>> happening?

> Thanks for your reply......
> Unfortunately /dev is populated correctly and no grub-config files are
> copied to /boot/grub: possibility one as well as possibility two I've
> already considered.
> Any other suggestions?

The way I would approach it would be to look at the source and see where 
it is hanging.  grub-install is a shell script.

A very simple first test would be to ensure `grub-install --help` works.

   -- Bruce

More information about the lfs-support mailing list