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
Tails5

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
limneos

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
Tails5

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
limneos

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
Tails5

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
Tails5

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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
mirroring drives in windows 7.
I think I just did something stupid? Can you not mirror an OS drive? I just set up a mirror drive and it converted both my source and destination to a dynamic disk. I'm ok with the mirror disc being dynamic but I'm thinking my OS disk is now not bookable? So now I need to break the mirror...
Backup and Restore
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
reliability of mirroring USB drives
How dependable is mirroring 2 external USB drives through disk management?
Hardware & Devices
Upgrading HDD - Question re mirroring please.
Hi I currently have 2 identical 320gb HDDs . The second of the 2 (which is currently empty following upgrade to Windows 7) is primarily used for my flight simulators and associated software. My other hobby is photography and therefore My Pictures folder on primary HDD is becoming...
General Discussion
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 00:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App