[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

    Joined:
    Jul 1, 2013
    Messages:
    148
    Likes Received:
    10
    Trophy Points:
    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

    Joined:
    Feb 20, 2012
    Messages:
    619
    Likes Received:
    121
    Trophy Points:
    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

    Joined:
    Jul 1, 2013
    Messages:
    148
    Likes Received:
    10
    Trophy Points:
    10
    I know I can use an iso, but cant use a wim file. Can I somehow ?


     
  4. LatinMcG

    LatinMcG Bios Borker

    Joined:
    Feb 27, 2011
    Messages:
    5,710
    Likes Received:
    1,594
    Trophy Points:
    180
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Joined:
    Nov 18, 2012
    Messages:
    6,944
    Likes Received:
    10,706
    Trophy Points:
    210
    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.
     
  6. murphy78

    murphy78 MDL DISM Enthusiast

    Joined:
    Nov 18, 2012
    Messages:
    6,944
    Likes Received:
    10,706
    Trophy Points:
    210
    Oh that? No. You can't boot a wim file by itself, so how would you install it?
     
  7. valued17

    valued17 MDL Member

    Joined:
    Jul 1, 2013
    Messages:
    148
    Likes Received:
    10
    Trophy Points:
    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.


     
  8. valued17

    valued17 MDL Member

    Joined:
    Jul 1, 2013
    Messages:
    148
    Likes Received:
    10
    Trophy Points:
    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 ^^
     
  9. haroldas.velioniskis

    haroldas.velioniskis MDL Novice

    Joined:
    Aug 16, 2015
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    0
    Boot to Windows pe use imagex to extract image
     
  10. T-S

    T-S MDL Guru

    Joined:
    Dec 14, 2012
    Messages:
    3,988
    Likes Received:
    1,327
    Trophy Points:
    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)