[lfs-support] LFS-7.4 grub-install problem

Geoff Swan gswan3 at bigpond.net.au
Sat Sep 21 14:33:28 PDT 2013

On 21/09/2013 12:48 AM, Bruce Dubbs wrote:
> Geoff Swan wrote:
>> I recently proceeded with the LFS-7.4 build, using a FC16 bootstrap
>> host, which built nicely all the way to the grub-install part in chapter
>> 8.4.
>> The FC16 bootstrap OS is on sda and the new LFS build is on sdb, so
>> eventually sda can be removed and replaced with the LFS drive.
> I've never put grub on anything other than sda.  I do know that grub has 
> some areas on the disk that it needs to access outside of a file system. 
>   Fedora uses some security modules like selinux.  I don't know if that 
> is the issue or not.
> The way I'd do it is to just replace the disk so it is recognized as 
> sda, boot with a rescue CD, make sure that /boot is mounted correctly 
> and then run 'grub-install /dev/sda'.
>    -- Bruce
Looks like EFI booting is required.
This requires grub to be built differently, the addition of pciutils and
efibootmgr packages and the building of the efi image. Partitioning is
different as well, with a vfat efi partition. Mostly done now, hopefully
have it booting later today.

More information about the lfs-support mailing list