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 am using windows 7 ultimate and Ubuntu in my home desktop.

When my local disks were about to get filled up, I tried to delete the Ubuntu partition. I did it from windows. I right clicked on my computer->manage and partitioned. I deleted the Ubuntu partition and some local disks and then I repartitioned my harddrive.

I used my computer for about 2 hours and then shut it down. When I powered it on after sometimes it shows like error message:

Error:unknown filesystem. 
Grub rescue>

When I use ls command it shows like this

Error:unknown filesystem
grub rescue>ls
(hd0) (hd0, 10) (hd0, 9) (hd0, 8) (hd0, 7) (hd0, 6) (hd0, 5) (hd0, 2) (hd0, 1)
Grub rescue>

What to do now?

share|improve this question
up vote 1 down vote accepted

You need to reinstall your Windows Boot-loader. To install windows boot-loader use windows cd/live USB.

Boot into cd/usb and select your windows and use repair windows

In that goto repair -> repair using cmd or command prompt

Type the following commands



It gives a successful messages for each command.


You can boot into windows again.

share|improve this answer
Thanku but windows cd and live usbs are already tried. They are not booting. Is there any other way? – Sanal Nadh M Jul 12 '14 at 12:54
what do you mean they are not booting – Sudheer Jul 12 '14 at 12:55
Yes.. I tried them but. Nothing is happened when cd is inserted or usb.. .just as i told u.. . – Sanal Nadh M Jul 12 '14 at 13:09
Booting into cd/USB has nothing to do with OS problems. You should be able to boot them at system startup. – Sudheer Jul 12 '14 at 13:14
Yes i know. .unable to boot in to cd or usb. I made some changes in boot menu also. But no chance... . – Sanal Nadh M Jul 12 '14 at 13:26

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.