Skip to content

Instantly share code, notes, and snippets.

View Soulsuke's full-sized avatar

Maurizio Oliveri Soulsuke

  • Italy, Genoa
View GitHub Profile
@Soulsuke
Soulsuke / arch_on_usb_with_zfs.txt
Last active September 27, 2022 10:00
Arch mbr+efi bootable usb installation using zfs with encryption at rest
# Partition the drive:
parted /dev/sdX
mklabel gpt
mkpart primary fat32 1MiB 2MiB
mkpart ESP fat32 2MiB 514MiB
mkpart primary ext4 514MiB 100%
set 1 bios_grub on
set 2 esp on
set 2 boot on
quit

Keybase proof

I hereby claim:

  • I am soulsuke on github.
  • I am soulsuke (https://keybase.io/soulsuke) on keybase.
  • I have a public key ASCWnstkL7kvM4WBO6_lVNhfLY46C1T_fhjcyeRnjlKtNQo

To claim this, I am signing this object:

@Soulsuke
Soulsuke / arch_on_zfs.txt
Last active May 7, 2024 03:39
Arch on zfs root + native encryption at rest + ZfsBootMenu (UEFI without another bootloader)
NOTE: requires an EFI bios, so zfs will not use the whole disk as this is a single disk scenario.
/*\
|* Prerequisite: preare archiso with zfs support
\*****************************************************************************/
// 0. Do everything as root.