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

Possible Duplicate:
Grub rescue - error: unknown filesystem

After using testdisk 6.11, I got the error message:

Unknown filesystem error: grub rescue

To fix it, I used Boot-Repair, but it took too long - hours! (I had to go to sleep and return (: )

So, is there other way to fix it faster? Thanks!

share|improve this question

marked as duplicate by jokerdino, belacqua, Ringtail, devav2, con-f-use Oct 31 '12 at 8:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

Try again with Boot Repair.

1 - Live CD

First, you'll need to boot from a Ubuntu Live CD.

2 - Repair the bootloader

To restore the Grub bootloader, follow these steps.

Open a terminal from the Live CD, and run the following commands:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair

After a few seconds, Boot Repair's main window will open.

Click on Recommended repair.

You're done!

Reboot to test everything out.

If everything went well, you should be up and running now.

share|improve this answer
I did it at first but as I said, his scan (after "boot-repair" command) has taken too long, is there other ways? – yinon Apr 24 '12 at 15:55
Well, you can always run sudo mount /dev/sdx1 /mnt; sudo grub-install --root-directory=/mnt /dev/sdx; sudo update-grub from the Live CD, where sdx is the identifier for your disk and sdx1 is the Ubuntu partition's identifier. – SirCharlo Apr 24 '12 at 16:10
if my boot is on the xp partition, and i'm doing it, it'll be okey? will it delete the old boot from there or i will have 2 boot partition? – yinon Apr 24 '12 at 16:38
No, this will install Grub to your disk's MBR. – SirCharlo Apr 26 '12 at 16:19
sorry to missunderstand, but its not okey or wont make 2 boot partition? – yinon Apr 30 '12 at 16:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.