Triple Boot- XP/Vista/Ubuntu - all independent of each other

aravin

New Member
For 3 or 4 of days now, I've been trying to install Xp, Vista and Ubuntu on my PC in such a way that

1. They all reside on the same hard disk on different partitions.
2. They are all accessible on individual choices from a Grub menu on startup.
3. All three OS' are independent from each other so that if I choose to reformat one partition, the other 2 OS' are not affected by that.

I've looked around on the web and came across some helpful articles. Here are the links.
http://www.techenclave.com/guides-and-tutorials/create-triple-boot-vista-xp-linux-95295.html

http://ubuntuguide.org/wiki/Multiple_OS_Installation

http://www.multibooters.co.uk/multiboot.html

Based on the above information and some more, I did the following after multiple attempts of installing and reformatting.


1. I partitioned my hard disk into 2 with Gparted from a LiveCD. One 30 GB partition first for a Vista install and a 25 GB partition following that for the Xp install. I formatted them both to the NTFS filesystem. I had space left unformatted on the 120GB hard disk.
2. I flagged the 25 GB partition as the boot partition.
3. I installed Xp in that.
4. I tried booting into it. It went fine.
5. Next, through GParted, I flagged the 1st 30GB partition as the boot partition and hid the Xp partition.
6. I ran the Vista install (Surprisingly, it went fine this time. I had problems with running the install previously after hiding the Xp partition). I installed Vista in the 1st 30 GB partition.
7. I restarted the computer.
8. It booted into Vista with no menu to get into Xp.(as I expected)(I assumed Vista installed itself as it would on a brand new harddrive; with all its files in its partition; not disturbing the Xp partition at all; overwriting the Xp entry in the MBR; not disturbing the PBR in the Xp partition. But later, complications that came up made me realise that this might not be what actually happened).
9. Then I created an extended partition(with GParted) in the unpartitioned space. I created swap and ext4 partitions and installed Ubuntu.
10. In the process, I let the Ubuntu setup write Grub to the MBR.
11. I restarted.
12. I was presented with 3 options in the Grub menu, one each for the 3 OS'.
13. I tried booting into all of them. They went great.

Now, I wanted to find out if both the Windows were independent of each other(that was the whole point of this exercise). I had no clue as to how I could find out which partitions the Ntldr and Bootmgr were residing in. So I thought, I'd do the whole process listed above twice(Yes! I did that!); delete the partitions containing the Windows, each in turn, and see what turns out.

Okay.
Steps 1 to 13(the first time).
14. I deleted(through GParted) the partition containing Xp.
What turned out:
I had the Grub menu on restart.
Boot into Ubuntu: fine
Boot into Vista: fine (Yippee!)(So, Vista, when installed after Xp, did not write any of its files in the Xp partition).
Boot into Xp: I was presented with an error report.(Obviously!Duh!) But the error message slapped me hard! "BOOTMGR is missing!" and I was left thinking what Bootmgr had to do with Xp.

Fine.

I deleted all the partitions again!

Steps 1 through 13 again:

14. I deleted (through GParted) the partition containing Vista.
I restarted.
I was presented with the Grub menu.
Boot into Ubuntu: fine
Boot into Vista: Error: "no such partition".
Boot into Xp: (Moment of truth!) Error: " Windows could not start because the following file is missing or corrupt: <windows root>\system32\hal.dll."

As I'm searching with the error messages, I'm wondering what exactly happened behind the scenes during those installs. I have no idea if the Vista install changed things in the Xp partition. Can anyone offer me an explanation? Or more theory behind those multiple Windows installs?

Thanks!
 
Ah, a multi boot user like myself. Never done a dual xp/vista, but i have done a xp/7 with linux mint. I currently have 4? OS's installed that i boot from.
As far as what actually happened, i can't be of much help. However, at step 14, i would have proceeded differently. I would have fixed the xp partition via the install disk. That probably would have messed up grub, which i would have then had to recover. After that though, i have a feeling it would be fine.
Most people put windows OS's on separate HDD's for the exact same reason your experiencing. If i took a guess though, something got overwritten during the vista install even though you "hid" it. MS is always a pain in multi boot setups.

Reading your links, the procedure i went with is pretty much exactly the same as the one in the first link.


I might have a go at this, i have a spare HDD laying around :P
 
@NyxCharon: I had no idea what I could fix in the Xp partition with the install disk, mate. I wasn't sure what it would be capable of doing and if the other 2 OS' would interfere with it. I'll have to read about it.

Meanwhile, I came across another article which sounded promising.
http://www.goodells.net/multiboot/
I'll have a go at something like
1. Install Xp in one partition.
2. Take an image of it with Partimage.
3. Wipe out that partition.
4. Install Vista in another partition.
5. Write the image back onto its original place.
6. Install Ubuntu in a logical partition.
7. Use Ubuntu install to write Grub to MBR.
8. See what happens.

A few questionable steps are
No 5: I haven't imaged a partition as yet. I don't know how feasible it is to image an OS with all its PBR entries and all. I have to read about it.
No 7: I don't know if Grub would pick up the rewritten Xp bootloader.

I'll try it out and post what happened.

Meanwhile, please do post what you tried (if you did at all) with your spare HDD, mate. :)

@DMGrier: I like the phrase 'Just for the heck of it!', mate. :) The thing is, I started it. I can't seem to rest in peace till I can figure out something here.
 
Sorry, just now getting back to this. I'll try it this weekend for sure, it's been a busy around here the last couple days.


As far as imaging a partition, i've never done it as i've never had to, so i'm of no use there.
 
Back
Top