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

Re: Fresh Sarge Install - 2.6.8 Kernel Panic



On Mon, Dec 20, 2004 at 01:36:44PM -0800, technoMyst wrote:
> There is no initrd.img file for my current kernel in /boot. I tried 
> making a new one with "mkinitrd -k -o /boot/initrd.img -r /dev/hda2" but 
> booting with it caused the following error to repeat and eventially give 
> a kernel panic:
> 
> modprobe: FATAL: Could not load /lib/modules/2.6.820041219/modules.dep: 
> No such file or directory
> 

Your kernel config says
CONFIG_BLK_DEV_INITRD=y
so you need to make the initrd.img file.  Or, just say No to this
option.

Does your mkinitrd command actually create the image file for you in the
/boot directory?  What size is it?

Perhaps you need to edit the conf file (man mkinitrd).

Aside:  If you are going to the trouble of making a custom kernel, why
are you compiling everything under the sun as a module?

hth,
Patrick.
-- 



Reply to: