Vhd booting
#1
Posted 04 September 2011 - 05:53 PM
#2
Posted 04 September 2011 - 06:13 PM
Window 7 create a vhd using system backup and restore feature. Does the vhd possible to boot using virtual pc on the machine creating the vhd and on other machine using window 7?
Answer is yes/no.
There is NO difference, which means that there are differences.
The VM will have it's own (specific) hardware (different from the "original" machine)
The "other" machine will have it's own (specific) hardware (different from the "original" machine)
The VM run on the "other machine" will have the same (specific) hardware as the SAME VM run on the "original machine" (but this will still be different form any "real machine" hardware).
So, every time you move the .vhd from one machine to another you will need to change something in it.
If you want to migrate a "real machine" install to a Virtual Machine, there are dedicated tools, so called "P2V" (as in Physical to Virtual).
You will need to post some more specific details about what you wish to do.
Wonko
#3
Posted 05 September 2011 - 12:16 AM
Wanted to to know whether the vhd created using window 7 backup and restore software has any problem booting? Not talking about using window 7 for native boot but using virtual pc to boot the vhd on the machine creating the vhd Does vhd created using p2v has any problem booting?
#4
Posted 05 September 2011 - 09:37 AM
Sure.Have install xp on a vm and the vm has no problem booting using virtual pc in ANY machine. No hardware dependence the vm hardware is on the file
If you use the SAME VM (let's say "Virtual PC", you move from one real machine to the other real machine the actual "virtual hardware", so there are NO changes in it and the VM works on any PC (as long as you have enough memory to run the VM along it's settings.
This is exactly the advantage of virtualization.
You have a 7 install on a real machine that has hardware "a,b,c".Wanted to to know whether the vhd created using window 7 backup and restore software has any problem booting? Not talking about using window 7 for native boot but using virtual pc to boot the vhd on the machine creating the vhd Does vhd created using p2v has any problem booting?
You *somehow* image it and restore it in a VM (that has hardware "d,e,f").
It won't work.
You use a P2V application (or change settings/drivers/whatever manually) and adapt the install to hardware "d,e,f".
It will work.
But it won't work anymore if you bring it back to hardware "a,b,c". (unless you use V2P app or change settings/drivers/whatever manually).
I hope this is more clear now.
I am still not understanding WHAT you are planning/wishing to do....
Read these:
http://www.sevenforu...age-backup.html
http://www.sevenforu...e-recovery.html
Wonko
#5
Posted 06 September 2011 - 08:08 PM
#6
Posted 07 September 2011 - 10:42 AM
The vhd create on machine using system backup and restore with hardware [w,h,s] would have no problem booting using vritual pc on machine with hardware [w,h,s] but not on other machine with different hardware?
I'll try again.
You have real machine "A".
You backup/image the install of 7 on it, let's call the result MachineA.vhd.
This VHD will NOT boot "as is" on *ANY* other machine that is not hardware identical to MachineA, this includes Virtual machines such as VirtualPC.
Then you use a P2V application to modify "MachineA.vhd" (or you do it manually) so that it is suited to run in VirtualPC, let's call the result VirtualMachineA.vhd.
"VirtualMachineA.vhd" will boot on VirtualPC, no matter on which machine the VirtualPC is running.
"VirtualMachineA.vhd" will NOT boot "as is" on *ANY* "real" machine, including the "original" machine A. (this may depend on how the vhd was modified).
I hope now it is more clear.
Wonko
#7
Posted 10 September 2011 - 05:52 PM
Related question: what's the simplest way to duplicate that VHD and then adjust its Disk Signature and MountedDevices Reg subkey on it, so that any of such VHD duplicates can be booted Win 7 from or mounted on the source HD (including several at once) without Sig conflicts and auto Sig changes by Windows?
#8
Posted 10 September 2011 - 09:19 PM
Not sure if the stuff it mentions adding to the BCD would help you with GRUB, but it might? Or maybe you have to go from GRUB to the windows boot manager, which then uses the BCD to drive the booting???
#9
Posted 10 September 2011 - 09:37 PM
Regarding booting VHD via Grub4DOS, I don't want to use BCD to boot from VHDs - yes, its obvious solution, but I already have a Grub4DOS Entry in BCD Menu, and everything service and test related should go under that entry.
As to avoiding Sig collisions when mounting VHDs on the SAME PC, I explain the task by giving a citation:
"Do not attach to VHDs on the same system on which you created them if you plan on booting from them. If you do so, Windows will assign the VHD a new disk signature to avoid a collision with the signature of the VHD’s source disk. Windows references disks in the boot configuration database (BCD) by disk signature, so when that happens Windows booted in a VM will fail to locate the boot disk."
Meaning, I don't need to sysprep, the HW is the same, just need to change each VHD Sig permanently and correct each VHD Registry hive to avoid future collisions, while allowing any of VHDs to boot on the same PC. If not done, next time when selecting a VHD to boot from, the system will boot from local HD instead, if the VHD was cloned from it.
#10
Posted 11 September 2011 - 12:01 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users