Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I commented out a wrong line in /boot/grub/ 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


share|improve this question
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

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

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

share|improve this answer

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

Your Answer


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.