e.g. x86_64, standard, system-disc mode
mode = system-disc
select the target architecture, and download
- the os image
- the GPG signature of the image
verify image GPG signature
download and install alpinelinux GPG key
curl https://alpinelinux.org/keys/ncopa.asc | gpg --import ;
verify the signature
$ gpg --verify alpine-*.iso.asc alpine-*.iso
gpg: Signature made Fri 14 Feb 2025 01:58:06 SAST
gpg: using RSA key 0482D84022F52DF1C4E7CD43293ACD0907D9495A
gpg: Good signature from "Natanael Copa <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 0482 D840 22F5 2DF1 C4E7 CD43 293A CD09 07D9 495A
determine id of target USB drive
$ lsblk
sda 8:0 1 14.4G 0 disk
└─sda1 8:1 1 14.4G 0 part /media/david/transfer
copy disc image to USB disc on sda
$ sudo dd if=alpine-standard-3.21.3-x86_64.iso of=/dev/sda bs=4M status=progress
61+1 records in
61+1 records out
256901120 bytes (257 MB, 245 MiB) copied, 36.8735 s, 7.0 MB/s
eject disc to endsure that write-cache is empty
$ sudo eject /dev/sda
bitwise verify USB image against ISO source
$ sudo cmp alpine-standard-3.21.3-x86_64.iso /dev/sda
cmp: EOF on alpine-standard-3.21.3-x86_64.iso after byte 256901120, in line 1088110
boot from USB, and install
$ root
$ setup-alpine
us
us-intl
eth0
dhcp
wlan0