PDA

View Full Version : [ubuntu] Dual boot XP and Ubuntu



joachim10022
April 17th, 2010, 07:36 AM
Is it possible to install XP after installing Ubuntu?

IndyGunFreak
April 17th, 2010, 07:42 AM
Yes, you just have to be careful... Windows has this desire to nuke your entire drive during install. Also, assuming you're using Ubuntu 9.10.. You'll want to make sure you have a current Ubuntu Live CD, so you can restore your Boot loader....

ANother thing you can try(note, I've never tried this), assuming you put Windows right back on the same partition, and all goes OK... is use MBRFix, to back up your current MBR... save the image to an external source, reinstall Windows, boot Windows, and restore the MBRFix image...

http://www.sysint.no/nedlasting/mbrfix.htm

IGF

goldshirt9
April 17th, 2010, 07:43 AM
http://http://apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_instal led_first.htm (http://http//apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_instal led_first.htm)

if it helps , a little old in the linux issue but i should think too different

joachim10022
April 17th, 2010, 08:09 AM
Yes, you just have to be careful... Windows has this desire to nuke your entire drive during install. Also, assuming you're using Ubuntu 9.10.. You'll want to make sure you have a current Ubuntu Live CD, so you can restore your Boot loader....

ANother thing you can try(note, I've never tried this), assuming you put Windows right back on the same partition, and all goes OK... is use MBRFix, to back up your current MBR... save the image to an external source, reinstall Windows, boot Windows, and restore the MBRFix image...

http://www.sysint.no/nedlasting/mbrfix.htm

IGF

If my bootloader gets busted, how do i restore it from the live cd?

wilee-nilee
April 17th, 2010, 08:14 AM
If you have grub2 which should be the case unless you upgraded without installing, step 11.
https://help.ubuntu.com/community/Grub2#Upgrading

IndyGunFreak
April 17th, 2010, 08:27 AM
Nevermind.. see below.

wilee-nilee
April 17th, 2010, 08:47 AM
Edit: If you reinstall Windows, its not "IF" your boot loader will get busted, there's about a 98% chance it will, unless you've done some advanced setup/partitions when you installed Ubuntu. Follow the below, or like I said, try the MBR Fix tool I listed above...

Assuming Ubuntu 9.10 and below...

https://help.ubuntu.com/community/GrubHowto

Here's the relevant section:

This is for grub legacy which is okay if that is what you have. Karmic came with Grub2, or at least immediately upgrades to it unless you stop it.

IndyGunFreak
April 17th, 2010, 08:48 AM
This is for grub legacy which is okay if that is what you have. Karmic came with Grub2.

Did it?.. Wow, my mistake, i was thinking it still had Grub 1...

IGF

wilee-nilee
April 17th, 2010, 08:50 AM
Did it?.. Wow, my mistake, i was thinking it still had Grub 1...

IGF

It is good for the OP to have all the info possible, it's all good.

unmole
April 17th, 2010, 09:18 AM
This is explained in detail in pages 139-140 of the Ubuntu Manual (http://ubuntu-manual.org/).

chris.jericho
April 17th, 2010, 09:39 AM
if you are using 9.04 or before then you can use Grub and if 9.10 for after then use Grub 2