-- Leo's gemini proxy

-- Connecting to henn.es:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Create a bootable USB stick using dd


Here are the commands I used to create a bootable USB stick which contains Ubuntu 22.04 LTS.


Step 1: Show list of block devices to determine the USB device:


lsblk

Step 2: Make filesystem on USB device (assuming USB device is sdb):


sudo mkfs.vfat /dev/sdb

I used `-I` to ignore safety checks after mkfs told me that there are partitions or virtual mappings on the device:


sudo mkfs.vfat -I /dev/sdb

Step 3: Copy ISO data to USB device (assuming USB device is sdb):


sudo dd bs=4M if=/path/to/ubuntu-22.04.1-desktop-amd64.iso of=/dev/sdb conv=fdatasync status=progress

The argument `conv=fdatasync` is used to ensure that the iso file is physically written to the device before finishing.

-- Response ended

-- Page fetched on Sat May 18 05:49:26 2024