0

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...

Eliah Kagan
  • 119,640
ashwin
  • 1

4 Answers4

2

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.

atenz
  • 12,858
1

This one helped me. Especially the section for older LCD

"/etc/default/grub and uncommenting / removing the #hash from what appears as line 364 in the boot info script as #GRUB_GFXMODE=640x480"

Link: Why is Grub menu not shown when starting my computer?

0

Also try installing this harmless little package: extlinux -- sometimes it causes an os-probe which succeeds in finding Windows when regular update-grub does not.

sudo apt-get install extlinux

You can remove it if it works and Windows shows up in the Grub boot menu.

ish
  • 141,990
0

According to http://paste.ubuntu.com/1091318/ you don't have any valid Windows XP installation to boot. (None of your NTFS partitions contain a /ntldr file among other things).

Probably not the answer you wanted, but if you want Windows to show up in the boot menu you need to install Windows, as currently you don't have any Windows installation.

Jordan Uggla
  • 4,755