slashbeast / better-initramfs

Small and reliable initramfs solution supporting (remote) rescue shell, lvm, dmcrypt luks, software raid, tuxonice, uswsusp and more.
BSD 3-Clause "New" or "Revised" License
318 stars 54 forks source link

luks for multiple devices and ZFS support #13

Closed simonbuehler closed 11 years ago

simonbuehler commented 11 years ago

hi,

it would be great if multiple luks devices were supported like decrypting /dev/sda2 and /dev/sdb2 with a keyfile on usb or /dev/sda1 and after that import the zfs volume (using both or more partitions)

any plans on this?

simonbuehler commented 11 years ago

ok i think multi device luks is working, ZFS would be great!

slashbeast commented 11 years ago

There is a support for multiple luks devices with enc_root=/dev/sda2:/dev/sdb2 however there is no key support yet.

ZFS support is work in progress. I am still unsure how I want to handle it. Propably there will be userspace in initramfs if it will play nice with uClibc and there will be another initramfs with kernel module (zfs, spl etc), so you will load generic initramfs and initramfs with modules for specified kernel. That also require support for loading modules, its on my todo.

slashbeast commented 11 years ago

multuple luks support is in there and ZFS support is on-hold, there is a support for hooks so patches are welcome but I am not going to push ZFS into better-initramfs anytime soon, but I will accept patches.

Closing for now.