Alpine on the Laptop
Created: 2020-08-14T00:30:06.105824
Return to the Index
- Using a custom partition layout: you have to set the disks up yourself and run setup-disks, pointing it at the root to install Alpine at.
- Particular challenge is getting cryptroot to decrypt the LUKS partition. syslinux didn't want to do this and had to prod around for the syntax/UUIDs to get in place.
- Have to make an /etc/crypttab to tell the system to decrypt shit.
- Make sure cryptsetup is in /etc/mkinitfs.conf's module list.
- Make sure /etc/update-extlinux.conf is set up with the cryptroot flags.
Hard mode: btrfs subvolumes
- Also include rootflags=subvol=@/alpine-sys since subvolumes are used to separate different areas of the system for snapshotting.