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

I have a windows xp os, and I ve decided to give ubuntu a shot. I installed and It when rebooting it did boot by default windows. I red several forums and after entering those commands:

sudo mkdir /mnt/ubuntu
sudo mount /dev/sda2 /mnt/ubuntu
sudo grub-install /dev/sda --root -directory=/mnt/ubuntu

after rebooting the system showed me the command grub. And I cannot get anywhere. I don t have a windows cd to fix anything. so how can I launch windows from this command grub?

Thanks... I am in a real mess.

share|improve this question

If you want to do it the (very) easy way download the boot repair disk and burn it to a cd, and boot from the cd.

share|improve this answer

Looks like you've managed to bork the bootloader. Insert the live cd and follow these instructions to restore it using the live cd.

share|improve this answer
Thanks, yes.. i am I ll try this. – user903645 Oct 4 '12 at 15:40
Don't worry about messing things up, it's the best way to learn. I've stuffed the bootloader up many times in the past and it took me awhile to become confident enough in knowing that I could fix it whenever it broke. – eltommo Oct 4 '12 at 15:45

I'm going to guess that you used EasyBCD to set up your dual-boot situation? This is what I had done (running Windows 7), and I suffered from a similar problem.

You need to boot to XP, upgrade EasyBCD to version 2.2, and then manually create a new entry for Linux using GRUB2. Version 2.2 of EasyBCD allows you to specify the Linux boot partition location for GRUB2, which older versions did not allow for.

Once you ensure that your new entry successfully boots you into Ubuntu 12.10, go back and delete the old entry.

share|improve this answer

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.