Boot Windows 7 from VHD - an amazing concept Here's how to do it
#21
Posted 27 February 2009 - 04:22 AM
then I lke to make my system die then put the backup VHd in place of the old one that was dead and see if the system will boot up and work like before it die.
cause if that work then that be a great one to do a backup of my system.
only thing I don't now what would happen if the MBR die I guest that it still would kill the hole system.
what you thin? worth a try out?
#22
Posted 02 March 2009 - 09:12 AM
cluberti, on Feb 5 2009, 11:52 AM, said:
I wasn't talking about LiveCDs or VMs either. Back in 1999 my PC had one FAT32 partition (Win95), onto which I installed QNX, BeOS and Mandrake. These 3 operating systems each created a file of around 500MB, which was a HD image. The bootloader/kernel and/or some other essential parts were launched from inside Win95, which was then shut down and the alternative OS booted.
Your Google skills must be poor, I found this info about BeOS on the second page of results.
For details about QNX, the first page of results throws up the necessary info.
Well, that's proved me right, I won't bother finding something that proves Mandrake used the same technology.
#23
Posted 02 March 2009 - 09:26 AM
And my google-foo is good, it's just that all 8 people who used BeOS didn't really document anything in depth regularly, and the Be archives aren't exactly easily searchable.
#24
Posted 11 March 2009 - 05:04 PM
Adding an existing VHD to boot menu,
Enabling Vista to be able to boot VHD, and
Removing VHD boot entries
#25
Posted 03 April 2009 - 11:10 AM
- Can I install a Win7 x64 VHD into a Vista x86 OS root.
- Can I install it into C:\VHDs
e.g. C:\VHDs\Windows7.vhd (if so can/does that directory have system/hidden attributes?)
#26
Posted 03 April 2009 - 11:27 AM
Yzöwl, on Apr 3 2009, 01:10 PM, said:
- Can I install a Win7 x64 VHD into a Vista x86 OS root.
- Can I install it into C:\VHDs
e.g. C:\VHDs\Windows7.vhd (if so can/does that directory have system/hidden attributes?)
I don't see why you couldn't place the VDH in the OS root. I'm got mine placed in C:\Shared\ folder in Vista.
As far as x64 vs x86, I'm going to try that on my sis's laptop, which has x86 vista pre-installed. Will post findings here.
The directory will not have hidden/system attributes on it's own. Of course, you won't be able to delete the VHD file while you've got Windows 7 loaded. When in Vista, however, you can delete that file accidentally. I'm sure you can make it system/hidden on your own while in Vista though.
#27
Posted 04 April 2009 - 06:58 AM
Just one question I have with the running VHD, System Properties doesn't show any installed RAM, is this usual?
#28
Posted 04 April 2009 - 08:51 AM
Also, after build 7068, as far as I can see, WEI cannot be calculated for VHD installs.
#29
Posted 04 April 2009 - 10:59 AM
For the installed RAM, I know it's not a major thing, the RAM shows correctly as 4096 MB in the Task Manager Performance window, so I'm sure it's all working, it is just that I hate to see the empty field in that window.
#30
Posted 04 April 2009 - 11:27 AM
Yzöwl, on Apr 4 2009, 12:59 PM, said:
For the installed RAM, I know it's not a major thing, the RAM shows correctly as 4096 MB in the Task Manager Performance window, so I'm sure it's all working, it is just that I hate to see the empty field in that window.
If you're on a newer build (7068 or higher) you can use resmon to look at the memory and get an accurate picture, just a thought.
#32
Posted 09 April 2009 - 04:42 PM
spacesurfer, on Apr 4 2009, 04:51 PM, said:
Yzöwl, on Apr 4 2009, 06:59 PM, said:
I also have this issue. Why is the calculation of the hdd is disabled when you install Windows 7 into a VHD? Does anyone know WHY MS disabled this?
#33
Posted 10 April 2009 - 08:37 AM
#34
Posted 10 April 2009 - 09:39 AM
#35
Posted 11 April 2009 - 01:44 AM
spacesurfer, on Feb 3 2009, 03:11 PM, said:
-----------------------------------------------------
With Windows 7, you now have the option to boot the OS from a VHD, a virtual disk file, instead of a partition. This way, you don't have to reconfigure your hard drive partitions.
Limitations: Hibernate is not supported.
Here are the simplified instructions:
1) Start Windows 7 installation from DVD.
2) Press Shift+F10 to start the command prompt.
3) Start diskpart.
4) Use the "create vdisk file=D:\Win7.vhd maximum=xxxxx" to create a virtual hard disk. Choose your drive and filename accordingly. xxxxx is in MB.
5) Type "select vdisk file=D:\Win7.vhd".
6) Type "attach vdisk". You will get a confirmation that it was attached.
7) Type "exit" to exit diskpart. And then close the command prompt.
8) Click on "Install Now" and install as you would normally by clicking on "Custom Install". Choose your attached vdisk as the location.
The installation takes care of adding the boot option to bcd. You don't have to do anything.
Just registered here for the sole purpose of saying THANK YOU!!!
I've been wanting to install Win 7 beta ever since its release, but didn't want to create a new partition, and this was the exact kind of thing I was looking for...very cool, dude.
Installed it the first time to the VHD following your instructions, and it works GREAT!!
I must say the features of Win 7 are bad-a**, and its a far superior OS than Vista...it is everything Vista is not.
Very sweet OS (at its present state at least)...now MS better just not screw it up badly by the time of its final release! I like it very much the way it is now, so I hope the final release doesn't stray too far from that.
Thanks very much, dude.
My sincere appreciation for finding these wonderful instructions. Got pointed to here from another forum on which I am a frequent member, and so I think I should maybe go thank him too...
Thanks again.
This post has been edited by Jake: 11 April 2009 - 01:45 AM
#36
Posted 23 April 2009 - 09:57 PM
If you can put Windows 7 on to a VHD and boot from it then its loading on its own without having to be inside an OS to load the VHD, like if you were to use VMWorkstation etc, so presumably multiboot is possible and then have multiple VHD's on your hard drive? Say a WinXP VHD and Win7 VHD and choose which one to boot?
#37
Posted 24 April 2009 - 06:31 AM
#38
Posted 24 April 2009 - 09:31 AM
#39
Posted 24 April 2009 - 11:33 AM
MagicAndre1981, on Apr 24 2009, 11:31 AM, said:
Well, although booting XP from VHD is out of the question right now, theoretically, Vista can be booted from VHD, although I don't know if anyone has tried it.
The thing is when you create the VHD in Windows 7 setup, you have to attach it using diskpart so that it's recognized during setup. Now if you attached it in windows 7 setup, then reboot, then it gets detached automatically since it's a software-driver driven HDD, and not a physical HDD. So, no! Vista will not recognize it.
Moreover, Vista's diskpart does not support attaching VHD's as far as I know. So you cannot use Vista's setup to attach a VHD and install Vista.
So, the only way to boot physically boot Vista from a VHD (theoretically) is to install it in Virtual PC, then sysprep, then add the VHD boot entry, then boot from it. You will need windows 7 installed, however, because windows 7 bootmgr supports vhd boot and vista's bootmgr does not. If you check the bootmgr size, you'll see that they are different. this is only theoretical, of course, and i haven't tried it. but you can be the first!
#40
Posted 26 April 2009 - 06:57 AM
And I also got a Bugcheck 0x136 on my host Windows 7 where I hosted the VHD with a message "not enough free space". How much free space must I have on the host to boot a Windows 7 from a VHD?



Help
Back to top











