PDA

View Full Version : [all variants] Dual boot, ubuntu installed first



pubairplanes
August 14th, 2008, 03:09 PM
Hey all,

I have been using Ubuntu for about two years now. For the past few months I have had a single boot system, running Ubuntu 8.04.

Yesterday I purchased an iPod touch and, in an attempt to get it working, I installed windows xp onto a blank partition. My drive now has 5 partitions, Ubuntu, Swap, NTFS storage 1, NTFS storage 2, and Windows XP. When I boot the system it skips my old grub boot loader and boots right into Windows XP.

Obviously, what I want is for the system to ask me which OS to load. From what I understand, installing XP first usually does this automatically, but I didn't do that... so yea. I remember reading something about a file that controls the windows boot loader, and that you can add other OS's to that. Can anyone tell me the file, or how to get a boot menu with both systems?

Thanks!

PS. All of my files are safe in an NTFS partition, just a side note.

meindian523
August 14th, 2008, 03:35 PM
Nopes,it's the other way round,installing XP after installing Ubuntu makes sure you boot XP and won't ask you which system to load.Follow:
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

willix
August 21st, 2008, 11:53 PM
One way of doing it is reinstalling the first boot stage of grub
read here http://ubuntuforums.org/showthread.php?t=224351
then you need to add something like

title Windows 95/98/NT/2000
root (hd0,0)
makeactive
chainloader +1

to your /boot/grub/menu.lst file where (hd0,0) should point to your windows partition (replace the first 0 with your drive number and the second with the partition number, both a zero based).

and reboot