![]() |
kernel panic while booting
Hi,
For improve aplication performance I tuned kerel-smp-2.6.9(Fedora3)by enabling preemptive in configuration and succeessfullt built it. And i installed it on Redhat4(2.6.9). While I am booting into new kernel I am getting following errors [nash ... starting] mkrootdev: label / not found mount: error 2 mounting ext3 mount: error 2 mounting none switchroot: mount failed: 22 umount: /initrd/dev/ failed: 2 Kernel panic - not syncing: Attempted to kill init any help appreciated ! Regars, gangaraju |
post the o/p of:
#cat /etc/grub.conf regards |
# grub.conf generated by anaconda
# # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,4) # kernel /boot/vmlinuz-version ro root=/dev/sda5 # initrd /boot/initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz hiddenmenu title WiOS Linux ES (2.6.9-WiOs1.0smp) root (hd0,4) kernel /boot/vmlinuz-2.6.9-WiOs1.0smp ro root=LABEL=/12 rhgb quiet initrd /boot/initrd-2.6.9-WiOs1.0smp.img title Red Hat Enterprise Linux ES (2.6.9-5.ELsmp) root (hd0,4) kernel /boot/vmlinuz-2.6.9-5.ELsmp ro root=LABEL=/12 rhgb quiet initrd /boot/initrd-2.6.9-5.ELsmp.img title Red Hat Enterprise Linux ES-up (2.6.9-5.EL) root (hd0,4) kernel /boot/vmlinuz-2.6.9-5.EL ro root=LABEL=/12 rhgb quiet initrd /boot/initrd-2.6.9-5.EL.img |
Note:I customized Fedora as WiOs
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,4) # kernel /boot/vmlinuz-version ro root=/dev/sda5 # initrd /boot/initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz hiddenmenu title WiOS Linux ES (2.6.9-WiOs1.0smp) root (hd0,4) kernel /boot/vmlinuz-2.6.9-WiOs1.0smp ro root=LABEL=/12 rhgb quiet initrd /boot/initrd-2.6.9-WiOs1.0smp.img title Red Hat Enterprise Linux ES (2.6.9-5.ELsmp) root (hd0,4) kernel /boot/vmlinuz-2.6.9-5.ELsmp ro root=LABEL=/12 rhgb quiet initrd /boot/initrd-2.6.9-5.ELsmp.img title Red Hat Enterprise Linux ES-up (2.6.9-5.EL) root (hd0,4) kernel /boot/vmlinuz-2.6.9-5.EL ro root=LABEL=/12 rhgb quiet initrd /boot/initrd-2.6.9-5.EL.img |
did you solve this, i m having same kind of problem
|
"
mkrootdev: label / not found mount: error 2 mounting ext3 mount: error 2 mounting none switchroot: mount failed: 22 umount: /initrd/dev/ failed: 2 Kernel panic - not syncing: Attempted to kill init" ??? |
Can you bout the previous kernel?
Have you tried using e2label on your partitions? e2label /dev/hda for example? |
I am getting kernel paninc while attepmting to boot F7.
I have used the live CD for a good bit now, and it has worked just fine. Then I installed it to my HD. I use openSuSE as my main distro, so I have the SuSE GRUB set to boot F7. I have not been able to boot it. It starts to boot, and runs through the startup stuff pretty quickly, then I get "kernel panic - attempting to kill init". I have not changed kernel versions or done anything differently. I have multi-booted other linux distros along with SuSE and WinXP before, so I don't know what the problem is. I would presume it's not GRUB, as the boot process does actually start. And, I don't imagine that the problem could be trying to run F7 in graphical mode, as I have used the live CD in graphical mode -- and various other distros in graphical mode. Could the problem be with initrd? I have no idea whether the live CD can run without initrd. The reason I bring this up is that when I look in the /boot folder using the live CD, I don't see an initrd.img file. f-t |
| All times are GMT -5. The time now is 05:36 AM. |