|
Kernel panic:Attempted to kill init
Hello,
I downloaded the kernel version 2.4.17(Actually i am using 2.4.18, but i use now 2.4.17 because if something goes wrong i could boot with my 2.4.18-14).
In my /usr/src/linux-2.4.17, I used
make mrproper
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install
cp /usr/src/linux-2.4.17/arch/i386/boot/bzImage
/boot/vmlinuz-2.4.17
mv System.map /boot/System.map-2.4.17
mkinitrd /boot/initrd-2.4.17.img 2.4.17
Then I added the following lines into my grub.conf
title Red Hat Linux (2.4.17)
root (hd0,5)
kernel /vmlinuz-2.4.17 ro root=/dev/hda7
initrd /initrd-2.4.17.img
In my /etc/fstab, it looks as:
/dev/hda7 / ext3 defaults 1 1
/dev/hda6 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 swap swap defaults 0 0
When I reboot my system, it stops with
"kernel panic: Attempted to kill init"
and the system does not boot.
What might be the problem? Help me.
|