Alpine Diskless
Mit Hilfe von diesem Reddit Post.
- Vom Install media booten
setup-alpinebis man mit apk repository setup fertig ist, danach Ctrl+Capk add wipefs util-linuxlsblkund schauen welche Platte man als boot nutzen willwipefs --all /dev/...(Nuked die Platte leer)fdisk /dev/...- n - New
- p - Primary
- 1 - Partitionnummer 1
- <enter> - erster Sektor
- <enter> - letzter Sektor
- t - Partitionstyp ändern
- c - Win95 FAT
- a - Bootable
- w - Schreiben
mkfs.vfat /dev/...1dfausführen und nach einem read-only mount suchen wie /media/cdrom oder /media/usb.setup-bootable /media/... /dev/...1rebootund installationsmedium entfernen- Als root anmelden
setup-alpine, wenn nach disks gefragt wird:- Disks: none
- Storing configs: bootplatte nehmen bsp.
sda1(ohne /dev/) - Storing cache: <enter> (Standard von /media/...1/cache)
lbu commitum die Änderungen zu speichern
LBU
lbu commit oder lbu ci
Speichert Änderungen.
Option -d anhängen um alte Overlay files zu löschen.