Giter Club home page Giter Club logo

plymouth-zfs-mkinitcpio's Introduction

This is a hook for mkinitcpio in ArchLinux when using Plymouth and ZFS with native encryption.

Usage

!!! Make sure plymouth-zfs is NOT installed !!!

  1. Download plymouth-zfs.install and plymouth-zfs.hook.
  2. Place plymouth-zfs.install at /etc/initcpio/install/plymouth-zfs.
  3. Place plymouth-zfs.hook at /etc/initcpio/hooks/plymouth-zfs.
  4. Update the HOOKS array in /etc/mkinitcpio.conf as per the docs.
  5. Rebuid the initrams (mkinitcpio -P) and sign it if needed.

Example HOOKS array:

HOOKS=(base udev plymouth autodetect modconf block keyboard plymouth-zfs filesystems)

Status

The hook works for me but YMMV. My goal is to setup an AUR package that automatically patches the hook from the ArchZFS repository.

Motivation

This is a replacement for plymouth-zfs.

That package seems unmaintained and there's a bug in the handling of the file systems: it ignores filesystems with canmount=off.

The scripts here are based on up-to-date ones from ArchZFS with minimal changes inspired by plymouth-zfs.

Contributing

Feel free to open an issue or send a pull request. Note that as this is a tiny modification over the upstream, the issue is likely to come from there.

License

This code is distributed under the terms of the MIT License, like the upstream project ArchZFS.

See also

plymouth-zfs-mkinitcpio's People

Watchers

 avatar  avatar  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.