Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I was running kernel 2.6.9-1.667smp and did a yum update. Now it is trying to boot with kernel 2.6.12 but has Kernel Panic.
This is what I see when it boots:
Booting 'Fedora Core (2.6.12-1.1381_FC3smp)'
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-188.8.131.52.1381_FC3smp ro root=LABEL=/ rhgb quiet
[Linux-bzImage, setup=0x1e00, size 0x180747]
[Linux-initrd @ 0x37f8e000, 0x619ce bytes]
Uncompressing Linux... Ok, booting the kernel.
ide0: I/O resource 0x1F0-0x1F7 not free.
ide0: ports already in use, skipping probe
Red Hat nash version 184.108.40.206 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!
I am still able to load with the old kernel. This is my grub.conf file:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/hda5
# initrd /initrd-version.img
title Fedora Core (2.6.12-1.1381_FC3smp)
kernel /vmlinuz-2.6.12-1.1381_FC3smp ro root=LABEL=/ rhgb quiet
title Fedora Core (2.6.12-1.1381_FC3)
kernel /vmlinuz-2.6.12-1.1381_FC3 ro root=LABEL=/ rhgb quiet
title Fedora Core (2.6.9-1.667smp)
kernel /vmlinuz-2.6.9-1.667smp ro root=LABEL=/ rhgb quiet
title Fedora Core-up (2.6.9-1.667)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
title Windows XP
I had this kind of problem when I decided to use e2label...
Cause I missed to adjust grub and fstab as well.
So the files you posted must give us a hint.
Cause if you still can boot with the old kernel...?
Your fstab says LABEL=/ /
But the error says mkrootdev: label / not found
e2label could be a fix but you could change to LABEL=root / for e.g
but don't forget to change within grub and fdisk as well.
I have a similar problem with kernal panic error Redhat 7.3
Running a text based email / www server.. for a company on dial up...on and old ACER 333Mhz 32Mb box 4gigbyte HD with Redhat 7.3. (I know OLD )
It has been running fine 2 years..Suddenly... I don't seem to be able to boot it up. It is giving the following error.
Loading jbd Module
Journaled Block Device loaded
Loading ext3 module
Mounting /proc filesystem
Crewating root device
Mounting root filesystem
ext3: No journal on filesystem on ide0(3,2)
Mount : error 22 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Freeing unused kernel memory: 280 k freed
Kernel panic: No init found. Try passing init= option to kernel
server loaded grub boot
I use a rpm to load / compile server to our isp config
so am really a newbie not a real linux programmer
I need help to rescue server ..have seen similar error on new linux 9 load..too
Desperate to rescue server ..pressured by my clients to fix their server....