[blfs-support] Booting a BLFS system with Syslinux

Alexey Orishko alexey.orishko at gmail.com
Tue Dec 3 06:30:06 PST 2013

On Tue, Dec 3, 2013 at 12:16 PM, Richard Melville
<richard.melville69 at googlemail.com> wrote:
>> Richard Melville wrote:
>> > I'm attempting to boot with syslinux from a USB flash drive with GPT and
>> > ext2.  I'm able to boot OK but I'm seeing some weird behaviour.  If I
>> > use a
>> > UUID instead of /dev/sdb2 I get a kernel panic and it doesn't seem to
>> > like
>> > either menu.c32 or vesamenu.c32; the boot cycle goes round in circles.

I saw similar behaviour with my build. I've built latest blfs-7.4 and
booting it from USB disk with UUID tag for rootfs. The trick is to
install initramfs as it was described in the book and fix (!) fstab.
Just in case:
--------- grub.cfg -----------------
set default=0
set timeout=3
insmod ext2
set root=(hd0,1)
menuentry "LFS 7.4 Kernel 3.10.10" {
    linux /boot/vmlinuz-3.10.10
root=UUID=3d78d00e-9eea-4c0e-8100-7f9ee77ea582 rootfstype=ext4 ro
    initrd /boot/initrd.img-3.10.10
------------ fstab --------------
UUID=3d78d00e-9eea-4c0e-8100-7f9ee77ea582 / ext4    errors=remount-ro 0       1
proc           /proc        proc     nosuid,noexec,nodev 0     0
Hope it helps.


More information about the blfs-support mailing list