Kernel Panic: No Init Found
I just installed Kernel 2.6.3 on Mandrake 9.2 and I get the error:
Kernel Panic: No Init Found. Try passing init=option to kernel. I ran mkinitrd /boot/initrd-2.6.3.img 2.6.3 How do I know if that correctly made the ram disk? My other kernel still boots ok. I notice that the ram disk for initrd-2.4.22-10mdk.img is 302K and the one for initrd-2.6.3.img is 75k, is that a problem? How do i get it to load the ram disk? Thanks in advance. :newbie: |
Check the options for each kernel in grub/lilo. Make sure that your new kernel is flagged as a ramdisk in the same way that the old one is.
You may need to do as it suggests, and pass an "init=<initlocation>" to the kernel. --Rounan |
Tried that, lilo.conf looks ok.
I used the commands mkinitrd initrd-2.6.3.img 2.6.3 cp initrd-2.6.3.img /boot cp /usr/src/linux-2.6.3/arch/i386/boot/bzImage /boot/vmlinuz-2.6.3 vi /etc/lilo.conf lilo -v /etc/lilo.conf . . . image=/boot/vmlinuz-2.6.3 label="263" root=/dev/hda1 initrd=/boot/initrd-2.6.3.img read-only . . . . /etc/fstab /dev/hda1 / ext3 defaults 1 1 /dev/hda6 /home ext3 defaults 1 2 . . . Why wont this boot? I am running an AMD duron processor. Thanks in advance. |
Silly question:
Did you include initrd support in the kernel? There's an option, I believe in file systems. --Rounan |
uhhhh
Is it enabled by default? |
*chuckle* maybe not.
Check it out in your config, recompile if necessary. ;) |
I didnt see it, do you happen to know exactly what it is listed under?
|
Device drivers -> Block devices -> initrd support
|
Thanks.
What is the config file called and where is it located? |
the kernel config file - you did compile your own kernel?
Hrmmm.... now that I look back, you never said that. Me and my assumptions. ;) If you didn't compile it yourself, you don't need to worry about this - it wouldn't be a problem in a stock kernel. If you did compile it, you need to make sure that you've selected the initrd option as I described when you type make menuconfig --Rounan |
try deleitng the line 'initrd=/boot/initrd-2.6.3.img' from your lilo.conf file
|
All times are GMT -5. The time now is 08:41 AM. |