PDA

View Full Version : [ubuntu] How to dual boot ubuntu?



thunderwolf333
April 7th, 2012, 09:36 PM
Forgive me if this has been posted 1,000 times already but the things I searched for applied to those who installed ubuntu on top of windows.

My windows was corrupted and I installed ubuntu as the sole operating system, then I was able to install xp after that.

XP gave me a message that it would have to disable the other operating system in order to work, so there is no select operating system menu when I turn on my computer. It now boots to XP.
Ubuntu is still there it's on a partition.

How can I get the select operating system menu back?

Thanks guys.

darkod
April 7th, 2012, 10:09 PM
XP overwrote the grub2 bootloader on the hdd MBR with the windows bootloader which can't boot linux. You are right, your ubuntu is still there. You only need to restore back grub2 to the MBR using the ubuntu cd in live mode.

Detailed instructions are here:
http://ubuntuforums.org/showthread.php?t=1014708

thunderwolf333
April 8th, 2012, 01:47 AM
ok I've got the linux grub back but how I do add windows to the list?

edit:
found this link
http://ubuntuforums.org/showthread.php?t=1480874

helped me add xp.
good thing I have taken a programming class and had some idea of what I was doing :P

darkod
April 8th, 2012, 09:17 AM
When windows was added after ubuntu, all you need to do is run ubuntu once and execute:
sudo update-grub

That will detect windows and add it.

thunderwolf333
April 9th, 2012, 12:41 AM
There's no thanks button on this forum! But thank you darkod :)

Bucky Ball
April 9th, 2012, 12:52 AM
Good news. Could you please mark thread as 'Solved' from Thread Tools at top right to help others. ;)