From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#21843: Generated grub.cfg does not support encrypted roots Date: Fri, 06 Nov 2015 16:52:34 +0100 Message-ID: <87twozi0ql.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZujK7-0008S7-AM for bug-guix@gnu.org; Fri, 06 Nov 2015 10:53:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZujK2-0007sY-Jn for bug-guix@gnu.org; Fri, 06 Nov 2015 10:53:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZujK2-0007sR-Gd for bug-guix@gnu.org; Fri, 06 Nov 2015 10:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZujK2-0008Kr-8o for bug-guix@gnu.org; Fri, 06 Nov 2015 10:53:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZujJh-0007nH-MD for bug-guix@gnu.org; Fri, 06 Nov 2015 10:52:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZujJc-0007gQ-Rp for bug-guix@gnu.org; Fri, 06 Nov 2015 10:52:41 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZujJc-0007gA-Pd for bug-guix@gnu.org; Fri, 06 Nov 2015 10:52:36 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:53892 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZujJc-0000l6-Bh for bug-guix@gnu.org; Fri, 06 Nov 2015 10:52:36 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21843@debbugs.gnu.org As reported by =E5=AE=8B=E6=96=87=E6=AD=A6 at : Follow the manual to setup encryted root, using the desktop.scm template, but at the final step, it failed with: Path '/mnt/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting. (can be reproduced by `grub-install /dev/sdb --boot-directory /mnt/boot') After search, it seems that an un-encrypted boot partition is needed: https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_syst= em#Preparing_the_boot_partition So, I run fdisk to add a boot partiotion, finally install finished! But it can't boot, I have to mount the encrypted root in Grub's cmdline: insmod cryptodisk insmod luks cryptomount hd0,msdos2 Ludo=E2=80=99.