Problem compiling my first kernel
Hi,
I am new to kernel compilation. I have never compiled a kernel before.
Today I said I must learn how to compile my kernel (who knows when I need it )
1) I downloaded the kernel from kernel.org (2.4.29)
2) a) make menuconfig
b) make dep
c) make bzImage
d)make modules
e) make modules_install
3) cp the new compiled kernel vmlinuz-2.4.29 in /boot
4) configure the boot manager (grub) to user the new compiled kernel.
I am using RedHat 9.
The problem is that when I boot with my new kernel I get the following error:
no socket drivers loaded
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
kernel panic: VFS: Unable to mount root fs on 00:00
Does anyone know what I did wrong?
For my old kernel I also use initrd /boot/initrd-2.4.20-8.img
How I get a good initrd image for my new kernel? Where can I get it from? Do I need it? Can anyone explain me what is this initrd*.img
thanks
|