On Tue, 25 Jul 2017 18:09:43 +0200 "John D. Hefele" <[email protected]> wrote:
> Hello lfs support community! > > I have recently went through the majority of the lfs book, and up until > the final step, everything has gone great. At every opportunity I tested > the system, and did not experience and serious issues. However, I am > now having problems with the final step of rebooting the system. > Namely, my > problem is that after the grub menu is loaded, I am greeted by a black > screen filled with text and a message stating: > > VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 > ............ > To address the 2nd through 4th points I tried numerous setups of the > kernel. I followed the setup exactly from the hint above, I copied > .config file of my home system, and I even tried enabling all options > through the make allyesconfig command while disabling "support for > uevent > helper". So far, no luck. Using your host's kernel config file is usually a bad idea. Most distro kernels are set to compile almost everything as a module, so as to be able to cope with anything an unknown system can throw at them while still keeping the loaded kernel small. An initrd (a kind of ramdisk) is used initially so that appropriate filesystem driver modules can be loaded at boot. LFS doesn't use initrds, so when you build your kernel, you must build the root filesystem driver (in this case ext4) right into the core of the kernel. Did you do that? -- H Russman -- 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
