A minimalist and powerfull initramfs for ZFS and gentoo.
- Cryptsetup (external header, offset, loop, and more...)
- GPG 2 with gpg-agent
- Full disk encryption (boot + main system)
- Custom hook
- External key into the initramfs
- mdev, devtmpfs and udev
- No complex doc
- Simple cmdline (only 2 args required) with no ugly symbols
,+:;({.*_-})
# git clone https://github.com/szorfein/eclosion
# cd eclosion
# make install
For a hypothetical zpool named zfsforninja
:
$ zpool status | grep pool
pool: zfsforninja
And a kernel version 4.14.80-gentoo
:
$ ls /lib/modules
4.14.80-gentoo
- Kernel cmdline :
root=ZFS=zfsforninja/ROOT/gentoo init=/lib/systemd/systemd
- Build cmd :
eclosion.sh --kernel 4.14.80-gentoo
Full disk encryption with custom hook, external header and gpg key: doc.
- Gentoo docs: gentoo-custom-initramfs, gentoo-custom-initramfs-examples
- LFS docs LFS
- Other initramfs: mkinitramfs-ll, bliss-initramfs, better-initramfs
- mdev-like-a-boss
- zfsonlinux
- salsa.debian
- genkernel-next
Any support will be greatly appreciated, star the repo, coffee, donation... thanks you !