there are two ways of fixing this. firstly, do you want to keep Ubuntu and have a dual boot system? If so then you need to edit Grub to load windows as a menu option. in a terminal type sudo gedit /boot/grub/menu.lst and the text editor (gedit) will open the menu file. Now scroll down until you see something like the following (depends on your install)
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f397e1f0-fd1c-4707-8933-2957abf0d2b0 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f397e1f0-fd1c-4707-8933-2957abf0d2b0 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f397e1f0-fd1c-4707-8933-2957abf0d2b0 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f397e1f0-fd1c-4707-8933-2957abf0d2b0 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
You are looking for the last entry here (XP) and it should be something similar. If it isn't then add this text in to your menu.lst and save it. when you reboot then you should be able to get into Windows without a problem ( I have had to do this before due to a setup issue on *nix so I know this works OK).
If you don't want to have Ubuntu as a dual boot option, then you will need to load your Win CD and get into the recovery console (cmd prompt) and then type the following: FIXMBR and hit enter. This will rewrite your Master Boot Record on the 1st hard drive, allowing you to only boot into windows. To clean your installation of Ubuntu on the second drive, you will need to either run something like partition manager (some free ones about to but this is one of the better ones) or run FDISK (can't quite remember how as I have rarely if ever used it on a pc that was not getting a fresh instal.
Hope this all helps and if I have missed anything I am sure some other people more knowledgeable than I will correct me.
|