User Tools

Site Tools


general:linux:create_usb_bootable_windows_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
general:linux:create_usb_bootable_windows_install [2021/11/11 12:01] – created sunkangeneral:linux:create_usb_bootable_windows_install [2021/11/12 12:23] sunkan
Line 1: Line 1:
-====== Create USB Bootable Windows installation ======+====== Create USB Bootable Windows installation source ======
 Install "wimtools" so we can use wimsplit as the .wim file is usually too big for FAT32 Install "wimtools" so we can use wimsplit as the .wim file is usually too big for FAT32
  
Line 23: Line 23:
 Create partition table and filesystem Create partition table and filesystem
 <code> <code>
-parted -s /dev/sde -- mklabel msdos +parted -s /dev/sde -- mklabel gpt 
-parted -s /dev/sde -- mkpart primary fat32 1M -1s +parted -s /dev/sde -- mkpart WIN10_EN fat32 1MiB -1 
-parted -s /dev/sde -- toggle 1 boot+parted -s /dev/sde -- toggle 1 esp
 mkfs.fat -n WIN10_EN /dev/sde1 mkfs.fat -n WIN10_EN /dev/sde1
 </code> </code>
Line 37: Line 37:
 </code> </code>
  
 +===== Install from this USB drive =====
 +
 +Due to the fact that install.wim is now split we need to launch Setup.exe manually.
 +
 +[[https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/split-a-windows-image--wim--file-to-span-across-multiple-dvds?view=windows-11|Split a Windows image file]]
 +
 +Choose "Repair your computer" and then start the "Command Prompt".
 +
 +Then find the drive that matches the USB stick (not X: as it is some runtime environment not the actual USB stick)
 +
 +<code>
 +c:\setup.exe /installfrom:"C:\sources\install.swm"
 +</code>
general/linux/create_usb_bootable_windows_install.txt · Last modified: 2021/11/16 12:13 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki