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

Re: Kernel Panic: "initrd" ?



Alex Goldman wrote:
My self-compiled kernel refuses to boot, saying it can't
mount/init/access /dev/hda7 (root partition)

I compiled 2.6.14.2 following the instructions in
/usr/share/doc/kernel-package/README.gz, basically

cp /boot/config-2.6.8-2-386 linux-2.6.14.2/.config
make menuconfig (few ACPI-related changes relative to /boot/config-2.6.8-2-386)
make-kpkg clean
fakeroot make-kpkg --revision=custom.1.0 kernel_image

Just like the stock kernel, it has

CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=m

Any idea what could be wrong?

The README mentions that something related to initrd in a very obscure
manner, but I don't really encourage doing anything related to it, and
IMO applying patches to kernels newer than the patches is risky at
best.



Maybe the needed harddisk support is a module (set to 'm') instead of builtin (set to 'y')
Also, if you're using ext3 on your root, that must be set to 'y' I think

HTH,

Joris



Reply to: