Avr 242014
 

In the previous article, we have seen how to benefit from the new wimboot feature of MS Windows 8.1 using the DISM command.

Thanks to the free/opensource WimLib, let’s now see how we can proceed with the capture/apply phase. This WimLib method will be similar to the DISM one.

Since Wimlib 6.3, you no longer need a Windows 8.1 Update 1 source which means you can use any Winpe 3/4/5 version !

 

Here below the procedure (we assume Win8.1U1 is already installed on C drive):

1-Lets make a WINPE out of  windows (7 or 8) iso/dvd (I use QuickPE) .

2-Boot onto this Winpe (I use rufus to « burn » the winpe iso onto USB).

3-Capture the installation : wimcapture.cmd c:\ e:\install.wim --wimboot
Note : e:\ is a second partition on my hard drive.
Note : wimlib binaries are in x:\extra\wimlib if you used QuickPE.

4-Format C drive (so that we start from a fresh drive)

5-Apply our wim file (from step 3) to my C drive : wimapply.cmd e:\install.wim c:\ --wimboot

Note : before step 5, you may want to perform the following command wimlib-imagex update install.wim 1 --command="add CustomWimBootCompress.ini \Windows\System32\WimBootCompress.ini" in order to fully apply bootmgr files (and not use pointers to the wim file).
Here is the customewimbootcompress.ini.
This applies only if you have one unique boot & system partition which is nowadays rarely the case as Windows always created a hidden/reserved partition for the boot files.

And voila, you should end up with a C drive occupied by only 250 MB (before 1st boot where pagefile.sys and hyberfil.sys will be created).

 Posted by at 21 h 30 min

25
Poster un Commentaire

avatar
9 Comment threads
16 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
4 Comment authors
reinstall using WIM method... anyone tried? - Page 28ArthurmrsharkadminAndy Recent comment authors
  Subscribe  
plus récents plus anciens
Me notifier des
Andy
Invité
Andy

Hi this, and your previous tutorial seem great but I’m still alittle confused – can you just explain the capturing of the installation bit as I presume I download WimLib but where do I unzip this to for step 3?

I also linked to this post on an Asus T100 forum as there are a few people looking to do similar here

Thanks

Andy
Invité
Andy

Ok that sounds great.

I think I have created the winre iso from the QuickPE program but it’s on 193mb – does that sound ok? I’m confused where the rest of the 2.9.gb windows iso I told QuickPE to use has gone and how this is going to end up on my c drive…

Andy
Invité
Andy

Can I also just confirm when you say the following above you mean I can use any Windows 8 ISO and don’t actually need 8.1 or 8.1 Update 1?

Since Wimlib 6.3, you no longer need a Windows 8.1 Update 1 source which means you can use any Winpe 3/4/5 version !

Andy
Invité
Andy

Ok great – will get both and put them in extras/wimlimb and extras/wimlib64 just in case and try again!

Andy
Invité
Andy

Ok I’m in WinPE but when I try the command wimcapture.cmd c:\ e:\install.wim –wimboot what drive are you assuming c: is?

My c is the system reserved of the machine I am booting Winpe on so I think I need to change this to x: which is the Windows install area that has been created within Winpe with several setup.exe files however I then get the following error:

[ERROR} Failed to open « \\?\x:\\Program Files\Common Files » for reading: No such file or directory

Sorry for no doubt the simple error I’m making!

mrshark
Invité
mrshark

Hi!
cannot get usb to boot into winpe… tried making winpe iso using various source iso, all STOCK msdn…
it_windows_8.1_professional_vl_with_update_x86_dvd_4048709.iso
or
Windows 7 with Service Pack 1 x86 ITA – X17-59212.iso
but selecting the resulting winre.iso in rufus, it selects bios+uefi and ntfs, and this does not boot on asus t100,,, forcing mbr+uefi, rufus complains that when destination is UEFI, i have to use EFI bootable ISO as source… choose efi iso or select bios instead of uefi…

hints? thanks…

Arthur
Invité
Arthur

Hi and thanks for the tutorial. One question: can we set a compression ratio for the .wim file?

trackback

[…] […]