- Feb 21, 2013
- 2,650
- 4
- 81
I'm trying to install on gentoo/funtoo on ZFS w/ LUKS to encrypt the Vdev.
I have a single hard drive with the following layout.
After using crypt-setup to turn /dev/sda3 -> /dev/mapper/cryptroot, I followed a standard ZFSonLinux installation guide, making sure to compile --luks support as well as --zfs into my genkernel:
emerging grub w/ libzfs:
updating /etc/boot.conf
emerging boot-update and boot-updating
and of course adding the zfs tool zfs-import and zfs-mount to the boot run-levels, and zfs-share and zfs-zed to the default run levels.
Everything seemed to be OK, and the reboot went fine, I get to the GRUB menu, and when I select a boot option, I don't get an option to open the luks volume, I just get a kernel panic.
This is my first time working with luks, so I'm guessing that I missed something dumb, like not adding something to a run-level, or not configuring boot.conf correctly for a luks volume. Any ideas?
I have a single hard drive with the following layout.
Code:
/dev/sda
/dev/sda1 Bios Boot
/dev/sda2 /boot ext2
/dev/sda3 / zfs root pool
Code:
genkernel all --zfs --luks --no-clean --no-mountboot --callback="emerge @module-rebuild"
Code:
echo "sys-boot/grub libzfs -truetype" >> /etc/portage/package.use
emerge grub
grub-install /dev/sda
Code:
"Funtoo ZFS" {
kernel kernel[-v]
initrd initramfs-genkernel-x86_64[-v]
params real_root=ZFS=tank/funtoo/root
params += dozfs=force
}
and of course adding the zfs tool zfs-import and zfs-mount to the boot run-levels, and zfs-share and zfs-zed to the default run levels.
Everything seemed to be OK, and the reboot went fine, I get to the GRUB menu, and when I select a boot option, I don't get an option to open the luks volume, I just get a kernel panic.
This is my first time working with luks, so I'm guessing that I missed something dumb, like not adding something to a run-level, or not configuring boot.conf correctly for a luks volume. Any ideas?