Skip to content

rsyring/zfs-on-root

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu Root on ZFS

Usage Steps

  • sudo python3 zor.py status
  • sudo python3 zor.py disk-wipe
  • sudo python3 zor.py disk-partition
  • sudo python3 zor.py disk-format
  • sudo python3 zor.py efi
  • sudo python3 zor.py zpool
  • sudo python3 zor.py zfs
  • sudo python3 zor.py install-os
  • sudo python3 zor.py install-user
  • sudo python3 zor.py install-desktop
  • sudo python3 zor.py status
  • sudo python3 zor.py unmount
    • Make sure you unmount which exports the zpool.
    • This errors out the first time you run due to proc, just run it again.

Troubleshooting

  • sudo python3 zor.py recover [--chroot]
  • sudo python3 zor.py install-os [--wipe-first]
  • sudo python3 zor.py chroot
  • sudo python3 zor.py unmount

ToDo

  • Configure swap
    • should be encrypted
    • /etc/sysctl.conf: vm.swappiness=1 vm.vfs_cache_pressure=50
  • Disable log compression
  • Set ZFS trim

Commands

Find processes that prevent unmount:

$ sudo fuser -vm /mnt/sampro

About

Scripts to install an Ubuntu system with encrypted ZFS on root

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published