MSFN Forum: Boot WinPE 3.0 VHD from HDD - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Boot WinPE 3.0 VHD from HDD Rate Topic: -----

#1 User is offline   allanf 

  • Junior
  • Pip
  • Group: Members
  • Posts: 66
  • Joined: 01-June 07

Posted 03 May 2009 - 10:06 AM

On Windows 7 Beta with Windows AIK 2.0 installed.

Start > All Programs > Microsoft Windows AIK > Deployment Tools Command Prompt -> Right-Click > Run as administrator > Yes

diskpart

create vdisk file=d:\winpe.vhd type=fixed maximum=1024

select vdisk file=d:\winpe.vhd

attach vdisk

create partition primary

assign

format quick label=vhd

exit

imagex /apply "c:\program files\windows aik\tools\petools\x86\winpe.wim" 1 e:

diskpart

select vdisk file=d:\winpe.vhd

detach vdisk

exit

bcdedit /create /d "vhd" /application osloader

bcdedit /set {GUID} device vhd=[d:]\winpe.vhd

bcdedit /set {GUID} osdevice vhd=[d:]\winpe.vhd

bcdedit /set {GUID} path \windows\system32\winload.exe

bcdedit /set {GUID} systemroot \windows

bcdedit /set {GUID} detecthal yes

bcdedit /set {GUID} winpe yes

bcdedit /displayorder {GUID} /addlast


e: is the Drive Letter assigned to the attached VDISK.

{GUID} is returned following the command:
bcdedit /create /d "vhd" /application osloader


d: is the partition holding the .vhd file. In the BCD, [d:] may be replaced by [locate].

Compared to other methods of booting the unmodified winpe.wim volume image - from Boot Manager select to the appearance of the Command Prompt:
vhd - 34 seconds
wim - 33 seconds
flat - 32 seconds
(... give or take a second or two ... :D ...)

Regards :)

This post has been edited by allanf: 03 May 2009 - 10:09 AM



#2 User is offline   jmardian 

  • Group: Members
  • Posts: 1
  • Joined: 14-September 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 September 2012 - 07:01 PM

This works great for Windows 7. Does anyone have an update for Windows 8 RTM (WinPE 4.0, I believe)?

Thanks for a great post.

#3 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,447
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 17 September 2012 - 02:56 AM

View Postjmardian, on 16 September 2012 - 07:01 PM, said:

This works great for Windows 7. Does anyone have an update for Windows 8 RTM (WinPE 4.0, I believe)?

Thanks for a great post.

No real changes AFAIK, the above should work with WIndows 8 allright.
See also:
http://reboot.pro/16..._50#entry151250
http://blog.concurre...-windows-setup/

jaclaz

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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



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