Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Mirroring partition to VHD

26 Jan 2009   #11

Windows 7 RC 64-bit/Windows Vista Ultimate 64-bit

So should I be able to simply copy all files and add the .vhd to the bootloader? (And uh.. I dont think it was 7 that deleted Vista's bootmanager, I think I did that when I deleted the partition that was at the start of the drive to install 7)

My System SpecsSystem Spec
26 Jan 2009   #12

Windows 7 RC 7100 32bit/64bit

ok, we need to be thorough on this one, to make it work.

1. Copy the \bootmgr and \boot stuff from your Win7 Partition to your VHD image's root \
2. start elevated CMD
3. type :

bcdedit /store X:\boot\bcd

where X: is your VHD's drive letter.

You will get a {bootmgr} listing, among others. You will also get another UUID in {} which will be your W7's location.

4. Change the {bootmgr} path to match your VHD's one. I'd set it to C:, since booting with VHD only, it will be discovered as C: by default.

bcdedit /store X:\boot\bcd /set {bootmgr} device partition=C:
remember to change X: above with your VHD's drive letter again.

5. Change the W7 listing on VHD to be C: as well:

bcdedit /store X:\boot\bcd /set {your_windows_7_UUID} device partition=C:

bcdedit /store X:\boot\bcd /set {your_windows_7_UUID} osdevice partition=C:

That should make it work.
My System SpecsSystem Spec
26 Jan 2009   #13

Windows 7 RC 64-bit/Windows Vista Ultimate 64-bit

So, just running that should let me choose 7(real partition) or Vista(vhd on 7's partition) on booting, or should I then add the .vhd as a boot item? And would I be able to use bitlocker and still expect the vhd to boot?

Edit: The Windows 7 entry just shows up as {default} without any other UUID can I just use that and continue?
My System SpecsSystem Spec

26 Jan 2009   #14

Windows 7 RC 7100 32bit/64bit

These are settings you need to make in the VHD's partition.

To have Triple Boot with Vista, Windows 7 , and VHD, you need to make other settings.

on your current BCDEDIT config, you need to add the VHD entry. While in Windows 7:

BCDedit /copy {current} /d "VHD Boot"
This will give you a new {UUID} that was just created.

Bcdedit /set {new_UUID_resulted_from_above} device vhd=[C:]\yourvhdfile.vhd

Bcdedit /set {new_UUID_resulted_from_above} osdevice vhd=[C:]\yourvhdfile.vhd
My System SpecsSystem Spec
26 Jan 2009   #15

Windows 7 RC 64-bit/Windows Vista Ultimate 64-bit

Thanks very much, I've done all that you've said - I'm just waiting for the file copy to work (I did a CTRL+A with all files unhidden on the drive, and then just pasted into the mounted VHD file.)
My System SpecsSystem Spec
27 Jan 2009   #16

Windows 7 RC 64-bit/Windows Vista Ultimate 64-bit

Uhm. There's been a slight problem, I left the copy going over-night, and after I copied the BCD store from the Seven drive, the OS thinks that it's Windows 7 and has corrupt system files, when actually it's Vista with the wrong BCD... Will Ihave to re-install Vista to the VHD to fix this? If so, how do I go about installing Vista to the VHD?
My System SpecsSystem Spec

 Mirroring partition to VHD

Thread Tools

Similar help and support threads
Thread Forum
Windows mirroring
Hello, I have a work laptop, HP ZBook 17 G2, with a 256GB SSD and a 1TB HDD. This laptop I use with the HP 230W Advanced Docking station that has an integrated SATA upgrade bay. I have an identical 1TB drive plugged into that. Windows is installed to the SSD on C:\. I have my profile...
Performance & Maintenance
Mirroring drives
I have built several new workstations for my shop. I have 5 Windows 7 keys and pretty much other than the hardware specs all the stations will have the same programs. A buddy of mine suggested mirroring?? I was curious to know the best way to do this. I thought about installing the OS, not...
General Discussion
Raid+windows mirroring
I recently had some raid problems when my 2 drives suddently dropped out of raid 0. I was able to restore my files but got me thinking about my backups. I still want raid 0 because of its speed and I do not want any trouble is disks srop out of raid and become non-raid members. of using 2...
Performance & Maintenance
Mirroring vs Raid
My Windows 7 is currently installed on a raid 1 array. I am considering on switching from hardware raid to windows 7's mirroring function as hardware raid tends to be problematic if the motherboard dies or is replaced. I am however curious on a number of issues. First of all, is this a good idea...
Performance & Maintenance
Help with a mirroring question, please.
I read alot here, but never really found an answer to my question. I have an Intel Desktop Board DX48BT2, its supports about everything. Intel Desktop Board DX48BT2 - Overview I have Windows7 64bit ultimate. My C drive is a 300 gig raptor and I don't want to change that. I want to...
Hardware & Devices

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:12.
Twitter Facebook Google+