Ubuntu – How to boot Windows XP (no GRUB menu is shown)

bootgrub2windows xp

I installed ubuntu 12.04 alongwith with Windows XP. But the system directly boots Ubuntu without giving grub selection menu. I opened a terminal up (ctrl-alt-t) and typed in the following:

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

Then my password and followed by:

sudo apt-get install -y boot-repair && boot-repair

But i got the message as follows:

BuildiReading package lists... Doneng dependency tree       
Reading state information... Done
E: Unable to locate package boot
E: Unable to locate package repair

So now what should I do? Please help as I cannot access Windows XP…

Best Answer

You typed the Wrong syntax of Apt-get command,

It should have been

sudo apt-get update 
sudo apt-get install -y boot-repair

Alternately you can make your Xp detected by grub through

sudo update-grub

EDIT : You didn't mentioned presence of second Hard Drive as can be seen from paste.ubuntu , as sdb.

My guess as Jordan Uggla said , Windows XP is not present , i think you installed Ubuntu over XP installation thereby erasing it .

If you think Xp is still present , then try searching for the Windows system folder and please post the Whereabouts of its location from your Drive in your question by editing it , probably as its partition number.