I've been compiling lfs 8.3 on a new 4 terabyte usb drive I just purchased.
I compiled the kernel and put it in /boot as per the instructions.
grub2 is run from my host system which is Ubuntu. I ran update-grub from
there and it saw lfs 8.3 on the new drive and put it into the grub boot menu.
When I attempt to boot grub responds with a "no such partition" message and
give a long identifier. I don't know if it is a guid or uuid.
Here's the relevant portion from grub.cfg after I did update-grub:
Code:
menuentry 'unknown Linux distribution (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-f129096a-da2e-4946-ac60-765e5bad31cb' {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 f129096a-da2e-4946-ac60-765e5bad31cb
else
search --no-floppy --fs-uuid --set=root f129096a-da2e-4946-ac60-765e5bad31cb
fi
linux /boot/vmlinuz-4.18.5-lfs-8.3 root=/dev/sdb1 rootdelay=10
I inserted the "rootdelay=10" thinking that might be the problem since it's a usb drive. Didn't help.
I'm pretty sure the problem is because the new drive is partitioned gpt.
I've not had a drive this big before. I partitioned it into 4 equal partitions
using gparted and am using /dev/sdb1, the first partition, to compile lfs 8.3 on.
I consider myself fairly knowledgeable but this one has me stumped.
Anybody got any ideas on this?
Here's the error message from grub:
Code:
error: no such device f129069a-da2e-4946-ac60-765e5bad31cb
error: no such partition