MSFN Forum: Boot Windows 7 from VHD - an amazing concept - MSFN Forum

Jump to content


Windows 7 forum rules

If you have questions about customizing Windows 7 that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows 7, please post them in the Unattended Windows 7/Server 2008 R2 section.
  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

Boot Windows 7 from VHD - an amazing concept Here's how to do it

#41 User is offline   e-t-c 

  • WHS 2003 SP2
  • PipPip
  • Group: Members
  • Posts: 144
  • Joined: 13-March 06
  • OS:2003 x86
  • Country: Country Flag

Posted 12 May 2009 - 11:03 AM

Gizmo Central (Drive) http://arainia.com/software/gizmo can also mount VHD Images ... :)

http://www.msfn.org/board/index.php?s=&...st&p=856454

cheers


#42 User is offline   chuckr 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 31-December 06

Posted 12 May 2009 - 05:05 PM

View Postspacesurfer, on Apr 24 2009, 11:33 AM, said:

... 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 ...

Firstly, let me thank you with the same enthusiasm that "Jake" did, above.
This is awesome... :thumbup

Next, me being a dummy of sorts, can you explain exactly what the term "sysprep" means to do, in the
above quote?

I have the Win 7 RC in a vhd, boots fine, etc. I do understand everything you've written thus far,
but do not understand what the "sysprep" is, or -how to do it-.

I've got various OS's as .vhd under MS Virtual PC 2007 SP1, and would like to put one or more under the
Win 7 bootmgr, just for testing fun, but will have to "sysprep" their copies beforehand, I guess...

Thanks again for your amazing post and thank you for any further assistance.

Best regards,
Chuck R.

#43 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 12 May 2009 - 05:29 PM

Sysprep "generalizes" the OS back to (as much as possible) as pristine and unused a state as is possible. This process is actually documented pretty well on Technet, part1 and part2, so I suggest reading these a bit if you're confused.

#44 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 06 June 2009 - 06:03 AM

How do I update (unattended) an existing Bootmanager (Vista) to the the new Win7 Bootmanager so that I can later add the VHD, I've created with WIM2VHD, to the Bootmenu?

#45 User is offline   spacesurfer 

  • Pharmassist
  • Group: Patrons
  • Posts: 1,668
  • Joined: 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 June 2009 - 09:10 PM

not exactly sure but a thought might be to overwrite all existing cased of vista's bootmgr with windows 7's bootmgr on dvd and all install.wim images. thus, when copied to hdd, they will be the new one.

#46 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 07 June 2009 - 10:38 PM

I don't use the DVD to boot. I've converted the WIM to a VHD with WIM2VHD and now I would like to check if there is an existing Os install like WinXP or WinVista. If such an OS is detected the Bootmanager should be updated to the Win7 Bootmanager so that I can add the VHD file. On Technet I only found a way to completely clean the partition :(

#47 User is offline   net_user 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 371
  • Joined: 02-June 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 August 2009 - 07:41 AM

can this be done with all versions of win7?
ie..home..pro..ultimate

#48 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 18 August 2009 - 07:45 AM

View Postnet_user, on Aug 18 2009, 09:41 AM, said:

can this be done with all versions of win7?
ie..home..pro..ultimate

Officially supported, no - but works, yes.

#49 User is offline   tomcom2k 

  • Group: Members
  • Posts: 9
  • Joined: 19-February 06

Posted 28 August 2009 - 07:57 AM

Does this mean we can setup a software raid 0 in windows, then install windows 7 to a vhd disk inside that software raid 0?

as of now its impossible to install windows to a windows software raid / dynamic disk setup

#50 User is offline   unawave 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 13-September 09

Posted 13 September 2009 - 07:12 AM

View Postcluberti, on Aug 18 2009, 02:45 PM, said:

View Postnet_user, on Aug 18 2009, 09:41 AM, said:

can this be done with all versions of win7? ie..home..pro..ultimate
Officially supported, no - but works, yes.
What do you mean with "Officially supported, no - but works, yes." ?

I have tested this:
  • Vista's boot manager ("bootmgr") can not boot VHD installations
  • Any Windows 7 boot manager ("bootmgr") can boot VHD installations
  • Only Windows 7 Ultimate can be booted from VHDs
I have made an installation of "Windows 7 Home Premium" into a VHD.
Installation process works fine - two reboots.
Then: Username, computer name, keyword, product key, date and time, network, welcome screen ...
Then:
License Error
Booting from a VHD file is not supported on this system


#51 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 13 September 2009 - 08:44 AM

like all other features, the VHD boot is controlled by licensing.

It is only licensed to Ultimate and Enterprise, only those 2 version have the Kernel-NativeVHDBoot Policy enabled.

#52 User is offline   hack1vip 

  • Group: Members
  • Posts: 2
  • Joined: 04-October 09

  Posted 04 October 2009 - 03:11 AM

Thank you for sharing

#53 User is offline   epic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 318
  • Joined: 13-January 05

Posted 07 November 2009 - 04:45 AM

Would be nice to see a tool that can do all this... drag and drop your VHD to boot (or a boot menu manager), set a VHD virtual drive, etc...

This post has been edited by epic: 07 November 2009 - 04:46 AM


#54 User is offline   helpdesk98 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 15-September 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 December 2009 - 10:56 AM

I have a question: I received the windows 7 upgrade DVD I did a clean install (rather then installing it over my vista installation), but what I for got was my blue ray drives codac was p reinstalled on the vista installation. Now what I want to do is make an Image of my Win7 install create a .VHD and put the image on that and save it to a flash disk then I want to run the HP vista restore disk (so I get all my stuff back) then I want to mount the VHD so I can boot off of it.

Will it work (I have 64bit 7 Home Premium)

#55 User is offline   unawave 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 13-September 09

Posted 14 December 2009 - 02:16 AM

View Posthelpdesk98, on Dec 13 2009, 05:56 PM, said:

Will it work (I have 64bit 7 Home Premium)
Home Premium can not boot out of VHD file.
Only Ultimate and Enterprise can boot out of VHD file.

#56 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 14 December 2009 - 07:31 AM

all versions are technically able to boot from VHD, but MS only licensed Enterprise/Ultimate to use this feature. When you try to use other Edtions, the Software License service won't allow you to use this feature.

#57 User is offline   helpdesk98 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 15-September 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 December 2009 - 09:57 AM

ok well that saved me some time I gess ill just make a backup of my windows 7 install and burn it to a disk and go back to Vista that way I have 7 if i decide to go back.

#58 User is offline   hoak 

  • Member
  • PipPip
  • Group: Members
  • Posts: 154
  • Joined: 11-March 04

Posted 03 March 2010 - 11:54 PM

When you have a bootable Windows 7 VHD installed on a Vista or Sever 2008 R2 primary host partition, and boot the Windows 7 VHD system; can it 'see' the host file system (Vista or Sever 2008 R2) on the primary (NTFS on bare metal) partition?

There are contradictory comments about this on several forums and blogs; neither I can find no definitive statement in the Microsoft documentation regarding whether the booted VHD system can see the primary boot/host partition (assuming there's only one), though it is clear it can 'see' other volumes...

:blink:

This post has been edited by hoak: 04 March 2010 - 05:54 AM


#59 User is offline   Jake 

  • Group: Members
  • Posts: 2
  • Joined: 11-April 09

Posted 04 March 2010 - 12:19 PM

View Posthoak, on 03 March 2010 - 11:54 PM, said:

When you have a bootable Windows 7 VHD installed on a Vista or Sever 2008 R2 primary host partition, and boot the Windows 7 VHD system; can it 'see' the host file system (Vista or Sever 2008 R2) on the primary (NTFS on bare metal) partition?

There are contradictory comments about this on several forums and blogs; neither I can find no definitive statement in the Microsoft documentation regarding whether the booted VHD system can see the primary boot/host partition (assuming there's only one), though it is clear it can 'see' other volumes...

:blink:

Going by my own personal experience with installing W7 to, and running it from, a VHD, I can confirm that it will see the host partition's filesystem. However, it will see the virtual filesystem as C:/, I believe, if I recall correctly (I haven't actually used it that much), and the host partition as some other drive letter.

#60 User is offline   hoak 

  • Member
  • PipPip
  • Group: Members
  • Posts: 154
  • Joined: 11-March 04

Posted 04 March 2010 - 01:06 PM

Thanks Jake!

:)

Share this topic:


  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy