Create a Bootable USB with Windows Installer

From Exterior Memory
Revision as of 20:27, 5 November 2021 by MacFreek (Talk | contribs) (Created page with "Hints for the process of installing Windows from scratch on self-build hardware ;Installation order:If you want both Windows and Linux, start by installing Windows first, tha...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Hints for the process of installing Windows from scratch on self-build hardware

Installation order
If you want both Windows and Linux, start by installing Windows first, than Linux. The other way around if possible, but requires a lot more manual fiddling because the Windows installer does not have a dual-boot option. See
Download
Windows can be downloaded from https://www.microsoft.com/software-download/windows10. You do not to buy a media (although it is easy), but you do need a licence code.

Create Windows 10 bootable USB on MacOS

You do need to download a ISO image with Windows, from https://www.microsoft.com/software-download/windows10

You do need a USB 2 stick (not USB 1 or USB 3!) at least 16 GByte, but no more than 32 GByte in size.

(If you use a USB 1 stick, the process is way too slow. If you use a USB 3 stick, you may get an error right at the start of the installation process: "A media driver your computer needs is missing. This could be a DVD, USB or Hard disk driver.")

Insert the disk and check the device identifier. On MacOS, you can use `diskutil list` in the terminal. E.g.:

/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *16.0 GB    disk4
   1:                 DOS_FAT_32 WINDOWS10               16.0 GB    disk4s1

So here the name is `disk4`.

Be very careful, if you type the wrong disk number in any of the following commands, you will erase that other disk. You can easily destroy your main hard disk in seconds. If you feel uncomfortable here, consider looking for other step-by-step instructions that use a program instead of the terminal.

Proceed to erase and format this disk with a MBR (master boot record) and FAT32 file system. To erase `disk4`:

sudo diskutil eraseDisk MS-DOS "WINDOWS10" MBR disk4

unmount the disk:

sudo diskutil unmountDisk /dev/disk4

Copy al data from the downloaded ISO image to the USB disk `disk4`:

dd if=Downloads/Win10_21H1_EnglishInternational_x64.iso of=/dev/disk4 bs=1m

For a USB 2 stick, this may easily take 30 minutes or more.