[Solved] Can you install Windows 8 using wim file in a vmware ?

Discussion in 'Windows 8' started by valued17, Apr 25, 2014.

  1. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    As the title says - Can you ?

    I was able to boot into WinPe, but when applying image I cant select a applydir option, for obvious reasons.

    Guess this cant be done ??
     
  2. SpeedDream

    SpeedDream MDL Addicted

    Feb 20, 2012
    619
    121
    30
    install from ntfs or iso mounting in vmware as hard drive or dvd drive respectly

    cheers, here my setup with just an iso as an idea
    Capture.JPG
     
  3. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    I know I can use an iso, but cant use a wim file. Can I somehow ?


     
  4. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    Yes you can apply a wim file to a partition, but it's a lot more complicated than that.
    Certain partition schemes have certain rules.

    MBR needs an active primary partition for the system partition and the windows partition needs to be on a primary partition as well.
    Any extra recovery partitions in mbr need id=27 setting..

    GPT scheme is a bit more involved, but you don't have to deal with the Active partition stuff.
     
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    Oh that? No. You can't boot a wim file by itself, so how would you install it?
     
  6. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    What I am trying now is - I have booted into WinPE in vmware and connected my usb which has install.wim.

    I will now use diskpart to create primary partition in vmware and try installing the image using dism. Will update if all goes well.


     
  7. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    Done :)

    1. I booted with WinPE.
    2. Connect my USB which has only install.wim file in it.
    3. Used diskpart to create primary partition inside vmware.
    4. Used dism to install my wim file
    5. Rebooted and its working :)

    Thats in short ^^
     
  8. haroldas.velioniskis

    Aug 16, 2015
    14
    1
    0
    Boot to Windows pe use imagex to extract image
     
  9. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,984
    1,331
    120
    Make a whd on the real machine (trough the windows disk manager), mount it, apply the image, make the partition active and install the bootloader using bcdboot.

    Unmount the vhd from the real machine and use it on the virtual one

    No reboot or interruption of the work involved in this way

    It's harder to explain than to do. ;)

    (optionally you can convert the image from vhd to vmdk with one of the many tools available, like winimage or the virtualbox command line tool)