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

This question already has an answer here:

I installed ubuntu on my computer. I restarted my computer and then tried to enter windows again but I got this line that said error:unknown file system. Grub rescue> and it won't let me proceed from that. But if I restart my computer ubuntu works perfect. So I need to know how to fix the windows xp part of my partition.

share|improve this question

marked as duplicate by user68186, Olli, Eric Carvalho, karel, Seth Feb 20 '14 at 2:41

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.

You probably need to recover grub if the machine is not booting. That should give you a prompt when booting that you can use to select windows to boot into. The link I provided should describe how to do that.

In addition you should run '$ sudo update-grub' on linux if there is no grub prompt when booting, or windows is not listed.

If that fails and you need to get Windows up and running immediately then you can rewrite over the entire disk by looking at How to remove Ubuntu and put Windows back on? (thanks user68186). If you need your data, you can retrieve it by using a live USB stick.

In addition, the answer for How to remove Ubuntu and put Windows back on? describes a program called boot-repair that can fix many boot issues.

share|improve this answer

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