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'm new to Ubuntu and just installed it on my HP Compaq nx5000. I dual-boot installed with Windows XP. When I boot, it goes to the grub bootloader. At the bottom of the Grub list it says boot Windows XP professional. But when I select the last one and press enter, no matter how many times I try, it either loads Ubuntu or goes back to the bootloader.

share|improve this question
Please run Boot-Repair's "Recommended repair", and indicate the URL that will appear. It will help us understand your problem. – Yann May 25 '12 at 3:13
Can you please post the output of the following commands: sudo os-prober|grep -i windows and grep -B 2 chainloader /boot/grub/grub.cfg? – Joseph R. Sep 9 '13 at 0:22

Use Boot-Repair, Boot-Repair is a one-click solution that detects currently installed operating systems and updates grub configuration.

share|improve this answer

On Ubuntu open up the Terminal (if you don't know how, open the Dash launcher and type terminal). In the terminal window type this in:

sudo update-grub2

It will ask for your user password (the one you use to login to Ubuntu). Type it in and press enter. After that some text will come up in the terminal (it should be pretty similar to the text you get on the grub boot menu screen). After a minute, when the command stops restart and try loading Windows XP again. Tell us if it works.

share|improve this answer
no it does the same thing again :( – user40994 Jan 8 '12 at 2:30
it only shows "_" without quotes flickering at the upper left screen and back to grub boot loader – user40994 Jan 8 '12 at 2:37
plz i really need help... – user40994 Jan 8 '12 at 3:19
Try running the command again, and copy and paste the text that comes out. Also, open your home folder and try to see if your windows hard drive shows up under "devices". – new_user Jan 8 '12 at 17:44

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.