Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I commented out a wrong line in /boot/grub/menu.ls and now it tells me kernel panic - not syncing : VFS: unable to mount root fs on unknown - block (0,0) It stops there and does nothing. How can I change the file back and uncomment it. I am unsing centos

thanks

share|improve this question
add comment

4 Answers 4

up vote 2 down vote accepted

Boot the PC/Server using a Linux Live CD, for example KNOPPIX Once the desktop is loaded the partitions should be visible on the desktop. Double click the partitions that contains /boot filesystem and edit menu.lst as required. Maybe make a copy beforehand :) If the partition is mounted as read only, right click the partition icon on the deskop and select Change Write/Read Mode.

share|improve this answer
add comment

boot from a livecd like knoppix and edit the file again (by the way, it's /boot/grub/menu.lst , with a 't' at the end).

share|improve this answer
add comment

boot from livecd(Ubuntu,SystemRescueCD,Knoppix) and mount /boot, and edit menu.ls

share|improve this answer
add comment

Hit anykey during the boot up cycle. Then hit E to edit. Type in your grub password if you set one. Select the right line and uncomment. When it boots up edit the file and fix your mistake.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.