On 17/03/2019 20:33, Pei Jia wrote:
Hi, Bruce:
Thank you very much for your prompt reply.
I actually *boot from grub*, please refer to:
https://www.longervision.cc/bugs/lfs_grub_boot.jpg
It looks *EXT4* module is *NOT* able to load successfully?
Yes, you are right. I AM booting from a *USB stick*, which I actually
do *NOT partition the drive*.
From my *HOST Ubuntu 18.04.2*, the USD stick is the drive */dev/sde*,
I do NOT have a */dev/sde1* ....
BTW, did I put *rootdelay=10* at the right position?
Thank you very much Bruce
Pei
On 2019-03-17 11:48 a.m., Bruce Dubbs wrote:
On 3/17/19 1:25 PM, Pei Jia wrote:
Hi, Can anybody give me a hand why my built LFS failed to boot?
Thank you very much...
The ERROR is displayed at:
https://www.longervision.cc/bugs/lfs_endtrace_fail2boot.jpg
Can you give us some details about your hardware? Most of the time
you get a kernel panic at boot is because your did not compile the
drivers needed to access the disk/root partition into the kernel.
Note the message: "Unable to mount root fs ..."
Another reason that boot fails is because you are trying to boot from
a USB drive and will need a rootdelay=10 option on the kernel command
line.
-- Bruce
You should partition the usb stick not just create a file system on it
sde1. sde wont work.
You can copy (cp -a) your lfs to HDD, partition the usb /dev/sde1 cp -a
lfs back, set /etc/fstab as needed and grub,cfg
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style