LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel panic (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-688112/)

attaro 12-03-2008 03:24 PM

kernel panic
 
When I boot my system (Fedora 7) I get error msg:

VFS: Cannot open root device "VolGroup00/LogVol00" or unknown-block(0,0)
Please append a correct "root=" boot option
kernel panic - not synching: VFS: Unable to mount root fs on unknown-block(0,0)

I've tried sda1 etc to no avail

Any help will be much appreicated

baig 12-03-2008 03:28 PM

On my old pc

80G.B HDD
384 MB RAM
733 MHz Intel Processor
OS Fedora 8 & w$OS

The same happens on booting it.. and when I reboot it "pressing button" then it boots up very well as if there was never a Kernel Panic.. about three time this happened and I rebooted it and it worked..

I don't know why this happens?....

hasanatizaz 12-03-2008 03:30 PM

post your grub.conf or menu.lst

attaro 12-03-2008 03:43 PM

grub.conf


# NOTICE: You have a /boot partition. This means that
# all kernel paths are relative to /boot/, etc
# root (hd0,0)
# kernel /vmlinuz-2.4.18-0.12 ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-2.4.18-0.12.img
#boot=/dev/sda
default=0
timeout=5
title Fedora (2.6.21-1.3194)
root (hd0,0)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00

baig 12-03-2008 03:52 PM

#boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-41.fc9.x86_64)
--------root (hd0,5)
--------kernel /vmlinuz-2.6.27.5-41.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
--------initrd /initrd-2.6.27.5-41.fc9.x86_64.img
title W$4DMES
--------rootnoverify (hd0,0)
--------chainloader +1



Device Boot Start End Blocks Id System
/dev/sda1 * 1 2607 20940696 7 HPFS/NTFS
/dev/sda2 2608 9728 57199432+ f W95 Ext'd (LBA)
/dev/sda5 2608 6431 30716248+ b W95 FAT32
/dev/sda6 6432 6456 200781 83 Linux
/dev/sda7 6457 9728 26282308+ 8e Linux LVM

So the count starts form 0 there for my 6th partition is referred to as 5th

this is my working Grub of New PC which works fine so compare it...


I am using sda.

attaro 12-03-2008 04:10 PM

Baig, Is this part of your grub.conf file?

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2607 20940696 7 HPFS/NTFS
/dev/sda2 2608 9728 57199432+ f W95 Ext'd (LBA)
/dev/sda5 2608 6431 30716248+ b W95 FAT32
/dev/sda6 6432 6456 200781 83 Linux
/dev/sda7 6457 9728 26282308+ 8e Linux LVM


Grub tells me that initrd /initrd-2.6.27.5-41.fc9.x86_64.img is missing (Error 15)

chainloading +1 is not valid

Thanks

baig 12-03-2008 05:49 PM

No Man!!!!!

its my fdisk -l part... Sorry, that was to make the point clear about numbering your partition...

baig 12-03-2008 05:54 PM

# NOTICE: You have a /boot partition. This means that
# all kernel paths are relative to /boot/, etc
# root (hd0,0)
# kernel /vmlinuz-2.4.18-0.12 ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-2.4.18-0.12.img
#boot=/dev/sda
default=0
timeout=5
title Fedora (2.6.21-1.3194)
root (hd0,0)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.21-1.3194.fc7.img
rootnoverify (hd0,0)
chainloader +1


don't you think this is missing there?

attaro 12-04-2008 12:53 AM

Baig

This line
/initrd-2.6.27.5-41.fc9.x86_64.img
gives me Error 15 - missing file on

and
chainloading +1 is not a valid command


Thanks

hasanatizaz 12-04-2008 09:38 AM

you need to re-create initrd with the help of mkinitrd

hasanatizaz 12-04-2008 09:40 AM

see in grub its not chainloading. its chainloader

judge312 12-04-2008 10:00 AM

try this (one should work )
1. root=/dev/sda6 in kernel options (check fdisk -l )
2. check your lvm (if lvm was configured at installation time).
3. mkinitrd YOUR_KERNEL
4. check raid drivers (if raid drive )

baig 12-04-2008 10:33 AM

What method you have adopted to edit grub.conf? are you using a rescue media i.e CD, Floppy or what? if yes then reinstall your grub..


Cheers!!

attaro 12-04-2008 05:31 PM

mkinitrd seems to be solving the problem. However, booting gets stuck on "UNKNOWN KEY PRESSED...."

Thanks a lot

hasanatizaz 12-04-2008 05:34 PM

did you press something while booting or have you passed any extra argument?


All times are GMT -5. The time now is 08:25 AM.