Coder Social home page Coder Social logo

debian-buster-zfs-root's Introduction

debian-buster-zfs-root

Installs Debian GNU/Linux 10 Buster 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

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 reviewd 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
  11. Star this repository :)

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

debian-buster-zfs-root's People

Contributors

hn avatar webmalex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.