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 Windows 7 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 Windows 7'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 Windows 7 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
Reply

 Mirroring partition to VHD




Thread Tools



Similar help and support threads for2: Mirroring partition to VHD
Thread Forum
How to enable 2 monitors without mirroring them Graphic Cards
How to enable 2 monitors without mirroring them Hardware & Devices
Mirroring drives General Discussion
Raid+windows mirroring Performance & Maintenance
Mirroring vs Raid Performance & Maintenance
Help with a mirroring question, please. Hardware & Devices
Mirroring and disk signatures Installation & Setup

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 09:28 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33