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 |
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?.... |
post your grub.conf or menu.lst
|
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 |
#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. |
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 |
No Man!!!!!
its my fdisk -l part... Sorry, that was to make the point clear about numbering your partition... |
# 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? |
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 |
you need to re-create initrd with the help of mkinitrd
|
see in grub its not chainloading. its chainloader
|
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 ) |
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!! |
mkinitrd seems to be solving the problem. However, booting gets stuck on "UNKNOWN KEY PRESSED...."
Thanks a lot |
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. |