I was following chapters LFS book 8.4 and have successfully completed till chapter 7 without any errors, all compilation was successful.
Host System is Ubuntu 18.04 with grub v2.02-2ubuntu8.13. sda9 is the boot partition with ext2, sda10 is the root partition with ext4. I have created a swap space (sda11) but I dont think that'll matter for now. I followed the chapter 8.3, and completed it without any errors. sda10 is mounted on $LFS, and sda9 is mounted on $LFS/boot. I Did not want to overwrite grub so i made an entry in the grub.cfg following this link :
linuxquestions.org which is working fine. :
Code:
menuentry "LFS on (/dev/sda10)" {
insmod ext2
gfxpayload=1280x1024x32,1280x1024
set root='(hd0,9)'
linux /vmlinuz-4.20.12-lfs-8.4 root=/dev/sda10 ro single
}
The Only problem is that the while choosign the LFS option the message is
Code:
vmlinuz-4.20.12-lfs-8.4 has an invalid signature
I previously compiled the linux package 3 times, again and again but to no avail.
Thanks in advance.