Help Needed For Making Dualboot System

Status
Not open for further replies.

raahpatel

Beginner
Hi Techies..
I'm Interested In Using Vista But I Also Have Keep Windows Xp.
As Windows Vista Don't Have Boot.ini Only One Os Can Be Used...

I've Tried Such Things...
1- I've Installed Windows Xp On C:/ Drive
2- I've Installed Windows Vista On D:/ Drive

Problem - Whenever I Switch To Vista The "d" Drive Becomes "c"
So It's Quite Confusing Regarding Data

2nd---
I've Installed Xp On "d" Drive
And Then Vista On "c" Drive
But After That I Can Only Use Vista..

So Techies Please Help Me For Installing Vista On "c" And Xp On "d"

:(
 
why does matter which one is c or d ?... but to answer your ? it depends on which one is the active partition when you install the OS's. If you install all your software on a 3rd partition, then it won't matter. I have an install partition and it works great.... and a triple boot... but I suppose Linux wouldn't count in this equation... :)
 
The drive on which an OS is installed will always be recognized as c:

btw are you talking about 2 different drives or just 2 partitions on a single drive ?
 
raahpatel said:
Hi Techies..

I'm Interested In Using Vista But I Also Have Keep Windows Xp.

As Windows Vista Don't Have Boot.ini Only One Os Can Be Used...

I've Tried Such Things...

1- I've Installed Windows Xp On C:/ Drive

2- I've Installed Windows Vista On D:/ Drive

Problem - Whenever I Switch To Vista The "d" Drive Becomes "c"

So It's Quite Confusing Regarding Data

2nd---

I've Installed Xp On "d" Drive

And Then Vista On "c" Drive

But After That I Can Only Use Vista..

So Techies Please Help Me For Installing Vista On "c" And Xp On "d"

:(

Vista bootloader doesnt read instructions from boot.ini You have third party tools to read the vista bootloader and modify it

1st - Windows Vista makes the drive it is installed as C drive. It doesn't really matter for Vista whether the partition is active or not.

2nd - As i told before, it doesnt take instructions from boot.ini, still i fail to understand why it did not detect and OS on D drive. Probably need to make adjustments in vista bootloader??
 
Before I tell you how to fix your boot, do this:

1. Start "System Information" (If you dont know how to, type System Information in search box of start button).

2. Click Components > Storage

3. Click Files > Export

4. Choose a file name.

5. Attach the file here.

In the meantime, you can download VistaBootPro from here.
 
You need to head to neosmart.net forums to understand Vista/XP dual booting and drive letters better. Here's one of my posts from the neosmart forums about this issue. Hope it helps.

Vista XP Dual Boot - Understand the basics - The NeoSmart Forums
Hi All,

Now EasyBCD is a fantastic program. I have raved about it before and I will do it again. Vista has a powerful bootloader but trust MS to ruin its usability. EasyBCD actually unlocks the full power of the Vista bootloader. It also makes grub on the MBR redundant - a god send for newbies - with neogrub as a file on your Windows. And you can boot OSX and PE too! Now thats super flexible for people like me who use it to boot Vista, XP, Ubuntu and OSX on the same hard drive.

I just bought a Sony SZ and it comes preinstalled with Vista Business and all the junk of the universe reducing this powerful computer to a pre 200mhz P2 with 128mb ram days. Since Vista is a confirmed dog the best thing you can do is put yourself out of the misery is to kill it and revert to XP.

Alas not an option till sometime ago however luckily Sony succumbed to consumer demand and posted all XP drivers and utilities for SZ. I thought it will be safer to dual boot untill I can confirm all the stuff is working well on the notebook. This is not a dual boot guide, there are many of those around, just a little background information that will hopefully give you a little more information about Vista/XP bootloaders, how they work and dual boot systems.

Dual Booting Primer
There are 2 parts to the boot process, the bootloader and the files on the 'active' partition it looks for to boot the OS.

1. For XP this is the XP bootloader (which gets copied to the MBR of your hardisk) and these 3 files; boot.ini, NTDETECT.COM and ntldr.

2. For Vista its the Vista bootloader and the folder /boot on the root of the Vista partition and the file bootmgr also in the root which is the Vista boot manager.

3. The PC bios loads the bootloader from the MBR. The bootloader then loads the files it is associated with, IMPORTANT: The bootloader looks for these files on the 'active' partition.

(So if you have XP MBR and it doesn't find boot.ini, ntdetect.com and ntldr on the active partition it won't boot. Similarly if you have Vista MBR and it doesn't find /boot folder and bootmgr on the active partition it won't boot. This is usually the problem in some sticky dual boot scenarios, the files will be there but not in the active partition)

4. Vista's Bootsect.exe can write both XP and Vista bootloader to selected disk MBR.
for instance:

bootsect.exe -NT60 C: will write Vista bootloader to C drive.(you can write to any drive letter, you usually want to write to the active partition)

bootsect.exe -NT52 C: will write XP bootloader to C drive (you can write to any drive letter, you usually want to write to the active partition)

Now if you have these files with you preferably on a rescue disk like VistaPE/BartPE, and the knowledge of how they work you will never be stranded.

Easy BCD can also write the Vista bootloader but sometimes things are so messed you can't run it untill you use these tools first.

Dual-boot setup
Now installing XP after Vista has a few issues as opposed to installing Vista after XP.

If you install Vista after XP, Vista automates the dual boot and presents you with a menu to choose Vista or XP in the boot menu. You don't have much to do. Here XP is C drive(active partition). Vista would be any drive you installed it to, D,V whatever but not the active partition. Vista will install its bootloader to MBR and place its boot files in the active a partition, in this case C: where XP is installed. So when you reboot into XP you will see this new folder called /boot in your root and a file called bootmgr also in your root. The /boot folder contains a file called BCD which is what EasyBCD manipulates to set up boot options.

Now if you install XP after Vista, it will merrily overwrite your MBR with its own bootloader and the next time you reboot you will boot straight into XP. No Vista option. Installing XP after Vista also means Vista is the active partition and XP is installing on another partition/Disk, could be drive D/whatever. In this case XP will install to the particular partition you want it to but put its boot files in the active partition, in this case Vista's partition which is C. This is also why when you install XP after Vista in a dual boot system, XP drive will be D/or whichever drive you installed it to but not C. This is not really a problem, since XP is smart enough to set itself up properly but some installers can get confused and install on Drive C which is Vista.

Now a couple of things have happened in the background
1. Vista bootloader was installed on your MBR, it was referencing the boot folder on Vista drive C and bootmgr file on Vista drive C to boot Vista. XP just deleted Vista bootloader and placed its own bootloader which is now looking for these 3 files boot.ini, NTDETECT.COM and ntldr on the active partition to boot XP. XP install process places these files in the active partition, in this case C where Vista is installed not where XP is installing. So when you reboot XP bootloader reads these files from the active partition(Vista C) and boots in to XP.

To dual boot you have to:
1. Restore Vista bootloader.
2. Set up Vista bootloader to give you an option to boot XP.

Restoring Vista bootloader will boot into Vista, you won't have an option to boot into XP untill you set it up which is where EasyBCD comes in. Once you restore Vista bootloader with EasyBCD or bootsect.exe -NT60 C: you will be able to reboot into Vista. Here you can run EasyBCD to set up an entry for XP. EasyBCD will edit the BCD file and add an entry or XP. The next time you reboot you will have an option to boot Vista or XP and you are set.

But the whole problem for me was purely superficial. I didn't want XP as drive D, I had no intention of using Vista (just wanted to leave it there) and wanted XP as drive C. In my SZ following the normal dual boot guides XP was showing up as drive D. Apparently with some registry editing you can change that but it didn't work for me. XP doesn't like its drive letter changing after install and it won't boot.

So I reinstalled XP but this time after creating the XP partition in Vista I made it active. So when XP installed it installed on the active partition which is Drive C and after installation on reboot it showed up as Drive C which is what I wanted. But now restoring the Vista bootloader and setting up a dual boot would be slightly more tricky. Why?

if I restore the Vista bootloader when I reboot, the Vista bootloader will look for its files on the active partition, in this case it is drive C where XP in now installed (this is where Vista would be normally but remember I had made the XP partition active before rebooting to install XP) and will find no /boot folder or bootmgr file and no boot for me.

The trick for me now is to copy over /boot folder and bootmgr file from Vista's partition to XP and making an entry for XP via EasyBCD before restoring the bootloader. Once that is done Vista bootloader will find its files on my XP partition and offer me a nice dual boot menu. Of course the Vista bootloader files are also on the Vista partition but the vista partition is not active hence the vista bootloader doesn't reference them at all. Should I remove XP, I will have to make the Vista partition active and then reboot or else I will have a no boot show again. Hope this writeup will be helpful for those dual booting to understand how it works so you don't get into a sticky situation.
 
  • Like
Reactions: 2 people
hi techies...
while trying all this my hdd just gone mad...
two of my partitions are now not active...
i can see them...
in comp manangement->disk management->storage ican see them.. but it's showing me " HEALTHY(UNKNOWN PARTITION)

i m lost... my 100 gb data is on bet..

how do i recover it...

also to recover... i tried to reinstall Win Xp... while those drives were indicating (INACTIVE O/S 2 PARTITION)..

PLEASE SURVIVE ME..

:huh: :huh: :huh:
 
pretty same problem like mine... but now its a strange solution of this suddenly happens like as...

i hv partitions like:

HDD1
c: 20GB
d: 20GB
e: 34.5GB
HDD2
c: 100GB
d: 132GB

now i keep doing like this...

Step 1
1. install xp on c of hdd1
2. install vista on d of hdd1
showing... 1. Earlier version of windows & 2. Vista
on vista bootloader

Step 2
3. install xp on c of hdd2
now only showing two windows xp ... no vista at os boot

then
Step 3
4. install vista on d of hdd2
now bootloader is like
1. Earlier version of windows
2. windows vista (C of HDD2)
3. windows vista (D of HDD1)
when i click earlier version of windows a new os boot menu opened as viewed on Step 2 earlier... now the problem is another

Partition E of HDD1 is always showing Access Denied when i trying to open it from any vista but all drives r cooly operates on two different xp os... how can i see the content of E from vista........ plz help
 
@raahpatel: bro, can you please attach this file?...

1. Start "System Information" (If you dont know how to, type System Information in search box of start button).

2. Click Components > Storage

3. Click Files > Export

4. Choose a file name.

5. Attach the file here.

And a screenie to Disk management > Storage.

Don't do anything else. Just post these steps.

@gamepagol:

Why the hell you need to install two vistas and xps on ONE system? Can please enlighten me??
 
@justin:
dude i am not a sick and dont even feel happy to hv 4 os in a single system... but as u can read carefully u might notice i hv one 80GB and other 250GB hdd... on the 1st hdd two os were smoothly run but as i introduce a new sata it will neither detects my any previous os so i tried to install xp on it and then vista going unavailable so tried vista again... now i hv such a mess in my pc but as i told one partition is not accessable from vista... what will i do without any fear of data loss?
 
Hmm. Got your point mate. But the way you are doing is just not ok. The best thing to do for you is whats called Harddisk mirroring. Go to any system vendor and ask him to mirror your previous harddisk to the new one. You wont lose anything and will have a old backup too (provided you dont want to sell the old harddisk or wanna use it).

All the best. :)
 
Status
Not open for further replies.