On 10/17/2014 09:12 AM, Armin K. wrote: > On 10/17/2014 09:04 AM, Nagasayanam,V.S wrote: >> Hello, >> >> I tried LFS 7.6 RC 1 partly and later moved to LFS 7.6. Thanks to >> wonderful >> LFS Book and with the help of other LFS fans through Google, I managed >> to >> install everything. But I am unable to boot with "Kernel panic" message >> thrown at me. >> I managed to boot into the host OS (Fedora 20) using Ubuntu Live CD and >> looked in Grub files. I noticed that only the kernel (vmlinuz) had been >> mentioned but no initrd which is normal. As the Book does not mention >> initrd anywhere, I presume that I must have missed loading it either >> directly or indirectly. I shall be thankful if you could clarify 'kernel >> panic' message and advise as to how to go about installing grub >> properly. >> Thanks in advance and regards. >> V S Nagasayanam >> [email protected] >> >> >> > > Mainstream distributions use initrd as they support vast number of > different configurations, thus they build most of the drivers as modules. > > In LFS, we don't use initrd/initramfs as the system is targeted to the > machine you are building to, or in other words, only one configuration. > > Thus, it's required to properly configure the kernel for only one > machine, which means everything (or at least the required parts) is > built as built-in instead of module. > > Without initrd/initramfs, you need to at least have drivers for Disk > controller and the file system your LFS partition resides at. You can > consult my basic kernel doc that gets past the kernel panic that says > something like "not syncing VFS ... unable to mount root fs at block ..." > > http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt > > Note that the doc is a bit old and some options might have a bit > different na mes. >
Also, forgot to mention. Besides the options mentioned in the document, make sure you also select ones mentioned on the LFS "Linux" page from chapter 8. -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- 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
