[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: boot error: zfs + luks + grub
From: |
Andrei Borzenkov |
Subject: |
Re: boot error: zfs + luks + grub |
Date: |
Thu, 16 Jun 2016 06:28:44 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
16.06.2016 00:52, James пишет:
> Hello,
>
> Hoping to get some help with a (seemingly basic) setup I'm struggling with.
>
> I'm using Ubuntu Xenial (16.04) and installing on ZFS on LUKS which, as far
> as I have read, is supported. A reboot after going through the installation
> process results in an ugly error:
>
> error: no such cryptodisk found.
> Entering rescue mode...
> grub rescue>
>
...
>
> # cat /etc/default/grub
> GRUB_DEFAULT=0
> GRUB_HIDDEN_TIMEOUT=0
> GRUB_HIDDEN_TIMEOUT_QUIET=true
> GRUB_TIMEOUT=10
> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
> GRUB_CMDLINE_LINUX=""
>
For historical reasons grub does not add support for cryptodisk unless
GRUB_ENABLE_CRYPTODISK=y
is present. Please add it and re-run grub-install and grub-mkconfig.
I begin to think that at least grub-install should unconditionally probe
for cryptodisk.