Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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've installed Ubuntu 10.04 with dual boot to Windows XP. I put it on auto-update. It was updating grub and after a restart all it says is;

error:no such device: <hex number>

With a grub rescue prompt.

I'm in panic mode right now as it's my mother's office computer and it might have some serious repercussions for her tomorrow. What should I do?

Update: It appears that the partition structure has been corrupted since it only displays (hd0) on ls

share|improve this question
Could you post the results of bootinfoscript in pastebin? – karthick87 Dec 29 '10 at 19:46

My guess is that the upgrade messed the mbr (was it an upgrade from 1.9x grub to 2.0?)

You can try restoring grub it using a livecd:

I didn't understand how you came up to conclusion that your hard drive partitions has been corrupted? can you try access the drives using the livecd?

share|improve this answer

Parted Magic has some tools for partition recovery. If that doesn't work, you might be able to rescue the files directly with this, although I haven't used it.

share|improve this answer
I can't download 147 MB plus, right now. Is there something I can do with a live CD? – Anna Dec 29 '10 at 19:15

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.