2015年4月13日星期一

Quick install win8 by using vhd file (Note)

1. Prepare a .vhd file already installed with win8 pro
2. Start windows 8 installation disk
3. Press Shift+F10 to enter command mode
4. Format the target driver (such as c:) by "format c:/q"
5. Copy the .vhd file to target driver c:\, such as "win8.vhd"
6. Attach the vhd file by following commands
diskpart
select vdisk file=c:\win8.vhd
attach vdisk
list volume
select volume N (for the windows volume)
assign letter v
7. Initialize boot
bootrec.exe /FixMbr
bootrec.exe /FixBoot
bootrec.exe /RebuildBcd
8. Return to GUI & use repair tool to repair startup

These can be done in VMware.