i cant boot into new LFS installation
I have successfully done both LFS-9.0 and 9.1 by copying into /boot/grub/grub.cfg by slightly modifying the lines given by the book. This time I tried in Acer laptop having both SSD and hard disk. In legacy mode my host OS was Ubuntu-22.04.
This is what the book says:
=========================================================================
set default=0
set timeout=5
insmod ext2
set root=(hd0,2)
menuentry "GNU/Linux, Linux 6.1.11-lfs-11.3" {
linux /boot/vmlinuz-6.1.11-lfs-11.3 root=/dev/sda2 ro
}
==========================================================================
The LFS is installed in /dev/sda3. Can anyone please help me in modifying /boot/grub/grub.cfg? "set root=(hd1,3) and linux /boot/vmlinuz.... root=/dev/sda3 ro did not help.
|