Dual boot XP - Vista on two different VHD

This is for discussing general topics about how to use VirtualBox.
Post Reply
Zippolo
Posts: 2
Joined: 17. Jan 2012, 13:48
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: XP

Dual boot XP - Vista on two different VHD

Post by Zippolo »

i have the necessity of install 2 os ntfs, one XP and one Vista in 2 different virtual disks, how can i do the dualboot from 2 different virtual disks?
I must configuring vhd XP on vhd Vista, for this i used the command bcdedit and i did these configurations:

########################################################
C:\Users\Administrator>bcdedit /enum

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
displayorder {current}
{c978ca04-4059-11e1-b4dc-0800272710c5}
{ntldr}
toolsdisplayorder {memdiag}
timeout 30
resume No

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Microsoft Windows Server 2008
locale en-US
inherit {bootloadersettings}
osdevice partition=C:
systemroot \Windows
resumeobject {6f266201-3e61-11e1-a62d-d7acbeaeb333}
nx OptOut

Windows Boot Loader
-------------------
identifier {c978ca04-4059-11e1-b4dc-0800272710c5}
device partition=E:
path \ntldr
description Windows_XP
locale en-US
inherit {bootloadersettings}
osdevice partition=E:
systemroot \Windows
resumeobject {c978ca04-4059-11e1-b4dc-0800272710c5}
nx OptOut
detecthal Yes
########################################################

when i try to reboot the virtual machine from Vista, i get two choices, one Vista and one XP, if i click on XP it stops on bar loading.

I don't understand because it not goes, someone can tell me something more in purpose?

Thanks a lot

By Symon
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Dual boot XP - Vista on two different VHD

Post by mpack »

You set up multiple Virtual PCs, one for each operating system you wish to play with. If you want to run XP you run the XP VM. If you want to run Vista you run the Vista VM. So-called "dual boot" has nothing to do with this.
Zippolo
Posts: 2
Joined: 17. Jan 2012, 13:48
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: XP

Re: Dual boot XP - Vista on two different VHD

Post by Zippolo »

Hi,
thanks for answer, but i must do a dual boot with the two vhd, this is possible?

Thanks in advanced for any answer.

By symon
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Dual boot XP - Vista on two different VHD

Post by mpack »

If it's possible to dual boot two versions of Windows using two hard drives in a physical PC, then it will be possible in a virtual PC. However I've never needed to find out how the former would be done.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Dual boot XP - Vista on two different VHD

Post by Sasquatch »

You would set the VM to the XP profile, so XP can work properly. Then you install XP first, as you would on bare metal. Then you install Vista on the second VDI to create a dual boot. If you did not set the profile to XP, then Windows XP will fail to boot due to missing drivers for the storage controller (default profile for XP is IDE, Vista has SATA as default HDD controller).

If the two OSes were installed separately, then the MBR of both disks, along with the Vista bootloader, will give problems and boot failure.

I really don't get it why you want to create a dual boot VM. You can just as easy create two separate VMs as mpack pointed out.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply