Skip to content

Instantly share code, notes, and snippets.

View vanvanni's full-sized avatar
💭
Working on open-source and new projects...

Joey de Vries vanvanni

💭
Working on open-source and new projects...
View GitHub Profile
@hmenke
hmenke / README.md
Last active May 17, 2023 11:21
Ubuntu cloud-init autoinstall

Create an Ubuntu 20.04 LTS autoinstall USB

This only works with UEFI boot.

  1. Get a USB key and format it with a GPT partition table. Using gptfdisk something like this should do it:
    sgdisk -og /dev/sdX
    sgdisk -n 0:0:0 -t 0:ef00 /dev/sdX
    

Create a FAT32 partition, mount it and extract the ISO image to that location