[Top][All Lists]

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

Re: grub.cfg does not have luks module for encrypted root

From: Joshua Branson
Subject: Re: grub.cfg does not have luks module for encrypted root
Date: Sat, 02 Feb 2019 08:50:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Jack Hill <address@hidden> writes:

> On Fri, 1 Feb 2019, Joshua Branson wrote:
>> Jack Hill <address@hidden> writes:
>>> Ahoy,
>>> I'm using the attached config.scm for a host with an encrypted gpt
>>> root partition while booking with bios-grub. It produces the attached
>>> grub.cfg, which lacks the luks module, thus grub cannot find the
>>> kernel.
>>> If I enter the grub command line and manually insmod luks and
>>> cryptomount, I can then boot correction.
>> 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=(hd0,1)  ; wherever your root partition is
>> linux /gnu/path/to/vmlinuz-linux-libre root=/dev/sda1
>> initrd /gnu/path/to/initramfs-linux-libre.img
>> boot
>> In arch linux, I know where those paths are: /boot, but it GuixSD those
>> paths are usually buried in /gnu/some/crazy/path...
> Once I ran 'insmod luks' and 'crytomount (hd0,gpt2)', the filesystem
> containing the store became available to Grub. I then ran 'configfile
> (hd0,gpt1)/boot/grub/grub.cfg' to have Grub reprocess the config file
> that Guix wrote for it. Since the store was now available, Grub was
> able to load its theme, kernel, and initramfs. Sorry for admitting
> that step in my summary.

You're fine.  I was unaware of that command.  I actually didn't know how
to boot guixSD, from grub's command prompt....

> Best,
> Jack

Joshua Branson
Sent from Emacs and Gnus

reply via email to

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