Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kernel Panic:vfs: Unable to mount root fs on 307

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm getting this message- Kernel Panic:vfs: Unable to mount root fs on 307. Any help????
 
Hi,

I think this message just means it doesn't know which is the root partition. Assuming you know what partition it's on you would just pass parameters to lilo at boot time. So, you get the 'boot: ' prompt (exit any graphical screen first with control-x) and type something like :

boot: linux root=/dev/hda7

(where /dev/hda7 would be your correct root partition).

The 03:07 refers to the major and minor device numbers. Block major 3 is the first ide drive (/dev/hda) and minor 7 should be partition 7.

If it works you need to edit /etc/lilo.conf and put 'root=/dev/hda7' on a line in the linux 'image' block so it looks something like this :

image=/boot/vmlinuz-2.4.12
label=linux
root=/dev/hda7
read-only

Then update the binary lilo with '/sbin/lilo -v' as root.

If this doesn't work try tom's root /boot disk to boot linux and be able to run fsck on your partitions --> .

Good Luck !!
Regards
 
Hi,



Update to the above.. actually, thinking about it a bit more - have you changed your partitions recently ? If so, the device numbers of the partitions may have changed and that could be why you can't boot - lilo is trying to access /dev/hda7 when it should be /dev/hda8 or whatever.



Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top