Skip to content

Install Debian 11 (Bullseye) to a native ZFS root filesystem

Notifications You must be signed in to change notification settings

Cinux90/debian-bullseye-zfs-root

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

debian-bullseye-zfs-root

Installs Debian GNU/Linux 11 Bullseye to a native ZFS root filesystem using a Debian Live CD. The resulting system is a fully updateable debian system with no quirks or workarounds.

Warning

This is a fork of hn's buster script and so it could have Debian 11-specific issues that haven't been worked out.

Due to problems with grub-efi-amd64-signed UEFI secure boot has been disabled until a proper solution is available (SoerenBusse has created a fix which has not been reviewed yet).

Usage

  1. Boot Debian Live CD
  2. Login (user: user, password: live) and become root
  3. Setup network and export http_proxy environment variable (if needed)
  4. Run this script
  5. User interface: Select disks and RAID level
  6. User interface: Decide if you want Legacy BIOS or EFI boot (only if your hardware supports EFI)
  7. Let the installer do the work
  8. User interface: install grub to all disks participating in the array (only if you're using Legacy BIOS boot)
  9. User interface: enter root password and select timezone
  10. Reboot

Fixes included

  • Some mountpoints, notably /var, need to be mounted via fstab as the ZFS mount script runs too late during boot.
  • The EFI System Partition (ESP) is a single point of failure on one disk, this is arguably a mis-design in the UEFI specification. This script installs an ESP partition to every RAID disk, accompanied with a corresponding EFI boot menu.

Bugs

  • grub-install sometimes mysteriously fails for disk numbers >= 4 (grub-install: error: cannot find a GRUB drive for /dev/disk/by-id/...).

Credits

About

Install Debian 11 (Bullseye) to a native ZFS root filesystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%