Hi,One thing I am confused that the LFS kernel (/boot/vmlinuz-4.18.5-lfs-8.3 from my partition(one partition for both /boot and /) was loaded and run, which indicated that the system can access my partition /dev/sda3 which was going to be mounted as root, right? why the kernel will give the error messages that unable to mount root fs?ThanksJimmy On Wednesday, November 28, 2018, 8:15:30 PM EST, renodr <ren...@linuxfromscratch.org> wrote: On 2018-11-28 14:56, thomas wrote: > Am 2018-11-28 19:57, schrieb Jimmy Zhang: >> Hi, >> I followed the instruction on LFS-BOOK-8.3.pdf step by step to the >> end. >> During the reboot, I got the error message "Kernel panic - not >> syncing: VFS: Unable to mount root fs on unknown-block(0,0)". >> I was building LFS with my VMware machine. >> Need help to see which part I may mess up? >> Thanks, >> Jimmy Zhang > > Usually this is caused by missing device drivers in the kernel so that > the kernel isn't able to read the root file system. This can be caused > by missing filesystem drivers like ext4 or by missing drivers for the > disk devices itself like PATA or SATA. > Check the kernel configuration for that. > > -- > Thomas
Jimmy, Look for Fusion MPT support and build all of that, as well as the VMWare VMCI Driver, SCSI Disk/Device/Generic support, Buslogic SCSI support, and PVSCSI support. You might need the VMXNET3 driver as well. -- 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
-- 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