OK -- perhaps that's the issue. I made no effort to avoid modules.
I guess that means I have to figure out how to rebuild the kernel without modules or figure out how to boot w/modules? Thanks for you help Andy. John On Sat, Oct 30, 2010 at 5:16 PM, Andrew Benton <[email protected]> wrote: > On Sat, 30 Oct 2010 16:41:12 -0600 > John Mitchell <[email protected]> wrote: > > > Thanks Andy. > > > > I'm a bit out of phase with the email server. > > > > Yes -- the kernel does boot and prints a bunch of stuff (successful > stuff) > > to screen. > > > > Then I get the following error followed by a "kernel panic" > > > > VFS: Cannot open root device "sdb8" or unknown-block(0,0) > > That's good that grub finds the kernel and boots it. perhaps the > problem is with the grub command line? Maybe the kernel thinks the > partition is /dev/sda8 or /dev/hdb8 or something? Try some different > combinations for the root= option that grub passes to the kernel. > > > > I don't think this is a 'grub' error -- perhaps a grub user error. I > built > > a kernel using my existing .config file so I expect it to be good. > However, > > my existing kernel uses a initrd.img file but I don't know how to create > one > > of those? I'm not even sure I need one? It wasn't mentioned in the > > book-6.7? > > > > You shouldn't need an initrd, as long as you compiled everything > important into the kernel (no modules!). I suspect that the config that > you started from uses modules. By important I mean all the bits that > support the motherboard's chipset, the filesystem, the disk controllers > and so on. They need to be built into the kernel. > > Andy > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
