Skip to content

Latest commit

 

History

History
360 lines (187 loc) · 11 KB

File metadata and controls

360 lines (187 loc) · 11 KB

Creating a Windows 11 Bootable USB on Ubuntu

This guide looks at creating a Windows 11 Bootable USB with preinstallation drivers drivers using a Dell XPS 8960 as an example. The Bootable USB will be prepared on Ubuntu 24.04 LTS.

Checking System Information

To view system details. Open up Settings from the Start Screen:

img_001

To the left, select the System tab and then select About:

img_002

The hardware model and processor will be listed. In this case:

  • Dell XPS 8960
  • 13th Generation Intel Core i7-13700
  • 16 GB RAM
  • 1 TB SSD

The minimum generation of processor supported by Microsoft is 8th generation, there is at least 8 GB of RAM and the internal drive is a SSD greater than 256 GB so this system is officially supported for Windows 11.

img_003

For more information, select system details:

img_004

Downloading Installation Media

Windows 11 Installation Media can be downloaded from Microsoft: Windows 11 Software Download Page. The first two options are Windows Applications which cannot be run on Linux. Select the third option:

img_005

Select Windows 11:

img_006

Select the Language:

img_007

Note that for English there are two options:

  • English (UK)
  • English (USA)

Microsoft refer to English (UK) as English International.

img_008

Select Confirm:

img_009

Select 64-Bit Download:

img_010

The ISO will be downloaded and saved in Downloads:

img_011

Checking the ISO sha256 Checksums

Open up the Terminal and input:

sha256sum path_to_windows.iso

Replacing path_to_windows.iso with the path of your installation image. For convenience the ISO can be dragged into the terminal to retrieve the path:

img_012

img_013

Copy the sha256 checksum. Note to copy from the terminal use Ctrl, + c instead of Ctrl + c as the latter keyboard shortcut is mapped to cancel an operation. Ctrl, + v is used for pasting:

img_014

On the Windows 11 software download page, select verify your download:

img_015

Press Ctrl + f to open the find prompt in FireFox and press Ctrl + v to paste the sha256 checksum:

img_016

If the ISO has been correctly downloaded these should match:

img_017

Downloading Dell Drivers

Windows 11 unfortunately lacks two important drivers for current Dell systems. These include:

  • Storage Controller Driver - Required to access the internal drive to install windows
  • Wireless Network Driver - Required to access the internet

Dell drivers can be downloaded from Dell Drivers and Downloads.

Input your model, in this case XPS 8960:

img_018

Select Windows 11 under Operating System and Storage under Category:

img_019

Select Intel Rapid Storage Technology and select Download:

img_020

Select Windows 11 under Operating System and Network under Category:

img_021

Select Wireless Driver and select Download:

img_022

The Drivers are in the form of a Dell Update Package. The Dell Update Package is a Windows Application that gives the option to install or extract a driver. Linux cannot run the Windows Application. Changing the file extension from .exe. to .zip allows it to be extracted. Right click the storage controller driver file and select Rename:

img_023

Change the .exe to .zip:

img_024

img_025

Right click the .zip file and select Extract:

img_026

img_027

Navigate through the extracted folder to find the driver:

img_028

In this case there is a production, windows, windows build and then drivers subfolder:

img_029

img_030

img_031

img_032

The drivers folder contains the VMD folder:

img_033

And the raw drivers look like the following:

img_034

Go back up two levels and rename Drivers to F6Drivers:

img_035

F6 Drivers

F6 is a historical term as legacy Windows Versions prompted to press F6 during the Windows Setup to install a storage controller driver from a Floppy Disk. We no longer need to press F6 and thankfully do not need to use a floppy disk.

Move F6Drivers to Downloads:

img_036

The .exe and rest of the extracted folder can be deleted:

img_037

Right click the wireless network driver file and select Rename:

img_038

Change the .exe to .zip:

img_039

img_040

Right click the .zip file and select Extract:

img_041

Navigate through the extracted folder to find the driver:

img_042

In this case there is a production, windows, windows build and then drivers subfolder:

img_043

img_044

img_045

img_046

This contains a folder wth the model of wireless card:

img_047

And the raw drivers look like the following:

img_048

Go back up two levels and rename Drivers to NetworkDrivers:

img_049

img_050

Move NetworkDrivers to Downloads

img_051

The .exe and rest of the extracted folder can be deleted:

img_052

Right click the ISO file and select Mount:

img_053

It's contents looks a follows:

img_054

Install GParted

GParted will be used to manually partition a Bootable USB. Open up Software and search for GParted:

img_055

Select Install:

img_056

Installation requires superuser privileges. Input your password and select authenticate:

img_057

GParted is now installed:

img_058

Partitioning the USB Flash Dive

Launch GParted from the Start Screen:

img_059

To repartition a USB requires superuser privileges. Input your password and select authenticate:

img_060

The Bootable USB requires a FAT32 Boot Partition as some systems require a FAT32 Partition in order to display a Bootable Device in the BIOS Boot Menu. Unfortunately the maximum file size for the FAT32 file system is 4.0 GB and the install.wim exceeds this, so we need to make a NTFS partition also.

In the dropdown to the left, select the USB Flash Drive:

img_061

Right click all partitions on the USB Flash Drive and select Unmount:

img_062

Select Device → Create Partition Table:

img_063

Select GPT and apply:

img_064

Right click the unallocated space and select New:

img_065

Change the options to:

  • New Size: 1024
  • Partition Name: BOOT
  • File System: FAT32
  • Label: Boot

Select Add:

img_066

Right click the unallocated space and select New:

img_067

Change the options to:

  • Partition Name: INSTALL
  • File System: NTFS
  • Label: INSTALL

The new size should automatically populate the rest of the USB. Select Add:

img_068

Select apply all operations:

img_069

Select apply:

img_070

Select Close:

img_071

Copying Files to USB

From the ISO copy everything except sources to the BOOT partition:

img_072

img_073

Create a new folder on the BOOT partition called sources:

img_074

Open up sources on the ISO and in BOOT:

img_075

Copy the boot.wim to the BOOT partitions sources folder:

img_076

img_077

From the ISO copy everything to the INSTALL partition:

img_078

img_079

From downloads copy F6Drivers and NetworkDrivers to the INSTALL Partition:

img_080

img_081

The installation media is now ready. Return to Windows 11 Setup Guide.