stevleibelt / arch-linux-configuration

Scripts and Ansible playbook to setup Arch Linux on ZFS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arch linux configuration

This repository contains, free as in freedom, scripts to configure your archiso environment.

The current change log can be found here.

See my archzfs page if you want to know more.

This is a hard fork from eoli3n/archiso-zfs. For the history, eoli3n asked me kindly to do a hard fork, so I did.

How to use

Boot your archiso, either an iso with build in OpenZFS support or by adding OpenZFS support on runtime.

git clone --recursive https://github.com/stevleibelt/arch-linux-configuration
#if you want to setup upstream too
#git remote add upstream https://github.com/eoli3n/arch-config
#git fetch upstream

#bo: zfs installer section
cd scripts/zfs/install
bash 01-configure.sh
bash 02-configure.sh
#eo: zfs installer section

#bo: zfs recover section
bash 01-mount.sh
#do what you need to do
bash 02-umount.sh
#eo: zfs recover section

Features

ZFS root features

  • Native encryption aes-256-gcm
  • Zstd compression on all datasets
  • Boot Environments managed with zfsbootmenu
    • /boot included in ZFS
  • No swap
  • Netboot recovery

BTRFS root features

  • LUKS encryption aes-xts-plain64
  • Zstd compression on all subvolumes
  • Bootable BTRFS snapshot managed with snapper and grub-btrfs
  • Encrypted swap
  • Separated VFAT /boot
  • Netboot recovery

Links

About

Scripts and Ansible playbook to setup Arch Linux on ZFS.

License:GNU General Public License v3.0


Languages

Language:Shell 99.9%Language:Jinja 0.1%