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

My Ubuntu crashed yesterday and after rebooting the grub rescue showed up. I've never used grub before but when I tried ls look like there are only Windows partitions there.

grub> ls
(memdisk) (loop0) (hd0) (hd0,msdos2) (hd0,msdos1)

I also tried booting from live CD and use fdisk. However there is no ubuntu partition listed. I am newbie and don't know what I can do next. Please help. Thanks in advance.

share|improve this question

First of all you should stop using this harddrive alltogether. While booting into Windows should be relatively safe, you should better not have any writing access to this drive.

Next get your hands on a Live-CD, for example the disk that you used to install Ubuntu. Boot into this livesystem, and fire up testdisk, to see, if it finds your missing partition:

sudo apt-get install testdisk
sudo testdisk

The next steps are depending on your exact setup, and what is left of your partition. You can find more information on the testdisk homepage, and possibly in this thread

share|improve this answer
Thanks. I'm just trying testdisk. It looks promising. – bin Jul 24 '12 at 20:01

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.