PDA

View Full Version : [ubuntu] How do I install windows on a computer that has Ubuntu only?



Warslaughter
September 20th, 2008, 06:10 AM
I have Ubuntu currently installed, and no windows installed, and when i put in the windows boot cd, it wont boot from it.
I was wondering if there was a way i could get windows to install on it's own separate partition other than linux partition and have my computer boot from windows instead of ubuntu on default.

Watchtow3r
September 20th, 2008, 06:23 AM
You're putting the CD in then restarting the computer, right? Also, make sure your boot order (in your BIOS) is set to boot CD BEFORE hard drives. To get ubuntu and Windows, I'd back up all your ubuntu stuff, install Windows to your entire HD, and then use the Ubuntu CD to reinstall it (and Ubuntu easily lets you partition it), then load all your crap again.

Warslaughter
September 20th, 2008, 07:06 AM
yeah, the cd's in the drive prior to me restarting it.

As for booting order in the bios, i didn't do that, but i pressed one of the Fkeys, and selected for the computer to boot from Atapi CD/DVD Rom drive, but it still takes me to the ubuntu start-up screen, where I choose between normal ubuntu or recovery mode

lemmy999
September 20th, 2008, 08:27 AM
Watchtow3r is totally correct. Windows overwrites the master boot record so it has to be installed first. After that you can re-partition and install Ubuntu with Grub to choose which OS boots.

If you have selected "boot from CD/DVD drive" and its not booting that suggests that your Windows CD is borked! Try it on another machine if possible!

Peter09
September 20th, 2008, 08:54 AM
If you want windows use virtualbox, its easy and wont damage your Ubuntu installation. (unless you're doing it to play windows games which VBox won't support).

Warslaughter
September 21st, 2008, 05:39 AM
hey lemmy, i'm booting from cd, but it's definitely not the cd's fault, cause i've tried it with 2 different windows 98 SE disk (well same contents but a different cd), and a windows 2003 MCE. None of the cds are burned or anything: the windows 98 disks came with the computer that i had like 8 years ago, and i borrowed the windows Media center one from a friend, and they all have their random windows logos and whatever cover stuff on top.

but for all the cds, it still ends up sending me to the ubuntu boot menu even when i boot from cd.

SunnyRabbiera
September 21st, 2008, 05:43 AM
That is strange, and you say editing the BIOS doesnt work?
what kind of computer is this?

sayakb
September 21st, 2008, 05:44 AM
If you install Windows after ubuntu, you'll lose your grub bootloader. Download the Super Grub Disk (http://supergrubdisk.org) -- which should be a 4-5MB ISO, burn it to a CD. Now after you have installed windows, pop in the Super Grub Disk and choose to recover GRUB.

kansasnoob
September 21st, 2008, 05:45 AM
This has worked for me more than once:

http://apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_instal led_first.htm?page=1

kansasnoob
September 21st, 2008, 05:50 AM
If you install Windows after ubuntu, you'll lose your grub bootloader. Download the Super Grub Disk (http://supergrubdisk.org) -- which should be a 4-5MB ISO, burn it to a CD. Now after you have installed windows, pop in the Super Grub Disk and choose to recover GRUB.

Everyone should have a Super Grub Disk! I like Herman's guide:

http://users.bigpond.net.au/hermanzone/SuperGrubDiskPage.html

I have it on Floppy, CD, and USB! It's a life saver!

sayakb
September 21st, 2008, 06:01 AM
Right :) It's really very handy when I lose my GRUB, and thats quite often ;)
PS: Nice guide!