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...
sudo update-grub
, this will identify Xp i guess. And this is wrong way of using apt-getsudo apt-get install -y boot-repair && boot-repair
, it should be onlysudo apt-get install -y boot-repair
– atenz Jul 12 '12 at 17:32sudo os-prober
in the terminal and post the output (if any). If it produces no output, then please also run boot info script: http://bootinfoscript.sourceforge.net/ and post the RESULTS.txt which it produces. – Jordan Uggla Jul 12 '12 at 18:52sudo bash ~/Downloads/boot_info_script.sh
. I assume that since you're trying to run boot info script,sudo os-prober
produced no output. Is that correct? – Jordan Uggla Jul 13 '12 at 20:34boot_info_script.sh
file , just run it , and it will generate text file post its contents here. – atenz Jul 14 '12 at 10:40