Write the image to a USB key
The key's contents will be erased. You need a USB key of 2 GB or more and the file yapuka-<version>.img.xz.
The easiest way is a free tool that reads the .img.xz file without unpacking it: balenaEtcher or Raspberry Pi Imager (choose “Use custom”). Both exist for Windows, macOS and Linux:
- Download balenaEtcher (official site)
- Download Raspberry Pi Imager (official site)
Windows
- Install balenaEtcher or Raspberry Pi Imager.
- Pick the file, then your key.
- Click “Flash” or “Write”.
macOS
The same with balenaEtcher or Raspberry Pi Imager. On the command line:
diskutil list
diskutil unmountDisk /dev/disk4
xz -dc yapuka-<version>.img.xz | sudo dd of=/dev/rdisk4 bs=4m
diskutil eject /dev/disk4
Replace disk4 with your key's number from diskutil list.
Linux
lsblk
xz -dc yapuka-<version>.img.xz | sudo dd of=/dev/sdX bs=4M conv=fsync status=progress
Replace sdX with your key, seen in lsblk. Check the disk name twice: dd overwrites everything without asking.
Updated on