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 Windows XP installed, followed by Mint 12 and finally Ubuntu 12.04. I did a sudo grub-install /dev/sda followed by sudo update-grub. On rebooting all was fine and the boot menu had Ubuntu 12.04, mem, windows, and finally Mint 12.

All was fine till now. Today wanted to boot into windows BUT found Wiindows XP missing from boot menu.

Tried sudo grub-install /dev/sda followed by sudo update-grub, BUT Windows XP is NOT FOUND.

Can someone help with what to do to restore Windows XP in the boot menu, please?

share|improve this question
Content of /boot/grub/menu.lst please. – Mitch Jun 22 '12 at 8:22
shouldn't be a menu.lst - closest is likely to be /boot/grub/grub.cfg – 23 93 26 35 19 57 3 89 Jun 22 '12 at 8:25

Are you sure you not delete XP partition when installing Ubuntu 12.04?

I suggest you to download Grub Customizer and check your grub menu.

Install grub customizer 2.2 on ubuntu

Open the terminal and run the following commands

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

Screen shot

enter image description here

enter image description here

enter image description here

If you cannot find Windows XP, probably you replace the partition with Ubuntu 12.04. If that so, find hardisk recovery to get back your data.

share|improve this answer

You did the necessary things, but may be, try this: boot with the boot-repair Cd. (this is different from your method) . Read and download here

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.