From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: grub.cfg does not have luks module for encrypted root Date: Sat, 02 Feb 2019 20:02:46 +0100 Message-ID: <80E66FEF-2169-4046-9561-8F217B13C347@riseup.net> References: <8736p7hahq.fsf@dismail.de> <878syyz4di.fsf@dismail.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gq0dt-0007Iv-Ta for help-guix@gnu.org; Sat, 02 Feb 2019 14:07:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gq0ZD-0001NB-GB for help-guix@gnu.org; Sat, 02 Feb 2019 14:03:05 -0500 Received: from mx1.riseup.net ([198.252.153.129]:38180) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gq0Z9-00018F-D9 for help-guix@gnu.org; Sat, 02 Feb 2019 14:03:02 -0500 In-Reply-To: <878syyz4di.fsf@dismail.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org, Joshua Branson Joshua Branson skrev: (2 februari 2019 14:50:17 CET) >Jack Hill writes: > >> On Fri, 1 Feb 2019, Joshua Branson wrote: >> >>> Jack Hill writes: >>> >>>> Ahoy, >>>> >>>> I'm using the attached config=2Escm for a host with an encrypted gpt >>>> root partition while booking with bios-grub=2E It produces the >attached >>>> grub=2Ecfg, which lacks the luks module, thus grub cannot find the >>>> kernel=2E >>>> >>>> If I enter the grub command line and manually insmod luks and >>>> cryptomount, I can then boot correction=2E >>> >>> Out of curiosity how do you boot GuixSD on the grub command line? >>> >>> The only way I know how to do it is: >>> >>> set root=3D(hd0,1) ; wherever your root partition is >>> linux /gnu/path/to/vmlinuz-linux-libre root=3D/dev/sda1 >>> initrd /gnu/path/to/initramfs-linux-libre=2Eimg >>> boot >>> >>> In arch linux, I know where those paths are: /boot, but it GuixSD >those >>> paths are usually buried in /gnu/some/crazy/path=2E=2E=2E >> >> Once I ran 'insmod luks' and 'crytomount (hd0,gpt2)', the filesystem >> containing the store became available to Grub=2E I then ran 'configfile >> (hd0,gpt1)/boot/grub/grub=2Ecfg' to have Grub reprocess the config file >> that Guix wrote for it=2E Since the store was now available, Grub was >> able to load its theme, kernel, and initramfs=2E Sorry for admitting >> that step in my summary=2E > >You're fine=2E I was unaware of that command=2E I actually didn't know >how >to boot guixSD, from grub's command prompt=2E=2E=2E=2E I think this is a good thing to include in the manual=2E Maybe in a troubl= eshooting section? --=20 Sent from my k-9 mail for Android=2E