help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: boot error: zfs + luks + grub


From: James
Subject: Re: boot error: zfs + luks + grub
Date: Fri, 17 Jun 2016 18:03:32 -0400

Thanks Andrei, this helped. I rebuilt my initramfs and updated grub.
Definitely a step in the right direction.

Now when I reboot my system GRUB will prompt me for a master key. I provide
the password and successfully unlock (presumably) one of the crypto disks.

It then prompts me for another password. It says that it opens slot 0, but
then GRUB immediately fails.

Please see attached screenshot.

Any thoughts on why this is happening?

On Wed, Jun 15, 2016 at 11:28 PM, Andrei Borzenkov <address@hidden>
wrote:

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

Attachment: grub-fail.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]