[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't Boot 2.6 Kernel -- IDE is a Module



Hello

Brian White (<bcwhite@precidia.com>) wrote:

> When I try to install a stock Debian kernel (2.6-386) on my system, it
> won't boot any longer (VFS: Unable to mount root fs).  The stock 2.2
> kernel that comes with Woody rescue disk boots fine.
> 
> As far as I can tell, it's because the 2.6 kernel is compiled with IDE
> as a module instead of including it in the kernel proper.  Is there
> something I still need to do to allow this module to be loaded?

The kernel comes with an initrd (initial ramdisk) image. You need to
configure your bootloader to use it. If you use lilo, and the kernel is
symliked to /vmlinuz (i.e. if you can select it choosing the "Linux"
entry), there should be a symlink /initrd.img pointing
to /boot/initrd-2.6.?-386.img. Add a line

initrd=/initrd.img

to the Linux section of your lilo.conf and run lilo.

best regards
 Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html



Reply to: