Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

All of a sudden my Ubuntu 13.04 (Raring) server does not boot correctly anymore. It stops at a grub command line.

If I type ls, I get

(hd0) (hd0,msdos5) (hd0,msdos1) (fd0) 

i can then ls each individual partition and the only one where it finds something is hd0,msdos1

I hooked up the hard disk to another PC and it seems to me all the data is still there!

How can I boot normally again?

share|improve this question
up vote 1 down vote accepted

Looks like there is problem with the grub menu.

Start by booting your ubuntu from a LiveCD or Live USB. You need to re-install grub on the server hard disk device. To know the device address, type in a terminal

sudo fdisk -l

This will list the disks and their volumes in a list. Note the device where you need to install the grub. The size of thee device shall give you a hint. If /dev/sda is the device where grub needs to be installed, go to terminal and type

sudo grub-install /dev/sda

Reboot your server and check if the problem is resolved.

Update : If the above fails, use boot-repair tool to fix issues, or you can try

sudo grub-install /dev/sda --force
share|improve this answer
thanks but that gives me the error: Path /boot/grub is not readable by GRUB on boot. Installation is impossible. Aborting. – clamp Jun 25 '13 at 20:13
I have added an update, try --force, else go for boot-repair – Vibhav Sinha Jun 26 '13 at 6:57
boot-repair did the trick – clamp Jun 26 '13 at 12:31

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.