all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Matt Huszagh <huszaghmatt@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: guix system init with mounted btrfs
Date: Tue, 25 Jun 2019 09:27:21 +0300	[thread overview]
Message-ID: <20190625062721.GB1163@macbook41> (raw)
In-Reply-To: <CA+X8ke4eTmhfBvjrq=nj3Wg2_3=8muNJRqn9zc-iTNOaj7Ls9w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3566 bytes --]

On Mon, Jun 24, 2019 at 10:54:37AM -0700, Matt Huszagh wrote:
> Efraim Flashner <efraim@flashner.co.il> writes:
> > I spent some time yesterday with the arch wiki and I have an idea.
> > assuming you're using %desktop-services, inside services:
> >
> > (modify-services %desktop-services
> >   (udev-service-type config =>
> >                      (udev-configuration
> >                      (inherit config)
> >                      (rules (list lvm2 fuse alsa-utils crda btrfs)))))
> >
> > Perhaps adding the udev rules for btrfs will force it to run 'btrfs
> > device scan' or whatever the magic is that it apparently isn't running
> > now.
> 
> Efraim, is btrfs supposed to btrfs-progs here? I believe rules takes
> package names right? In any event I tried this and it didn't work for me.
> Did you have success with it?
> 

I haven't tried it yet, I'm somehow running low on physical machines and
I haven't set up a VM to test it yet. The two places I remember seeing
something about it was with Gentoo¹ and with Arch², which is where I got
the udev suggestion for btrfs, from the 64-btrfs.rule file.

¹ https://forums.gentoo.org/viewtopic-t-1010878.html
² https://bbs.archlinux.org/viewtopic.php?id=189845

> On Mon, Jun 24, 2019 at 7:51 AM Matt Huszagh <huszaghmatt@gmail.com> wrote:
> 
> > Efraim Flashner <efraim@flashner.co.il> writes:
> > > I spent some time yesterday with the arch wiki and I have an idea.
> > > assuming you're using %desktop-services, inside services:
> > >
> > > (modify-services %desktop-services
> > >   (udev-service-type config =>
> > >                      (udev-configuration
> > >                      (inherit config)
> > >                      (rules (list lvm2 fuse alsa-utils crda btrfs)))))
> > >
> > > Perhaps adding the udev rules for btrfs will force it to run 'btrfs
> > > device scan' or whatever the magic is that it apparently isn't running
> > > now.
> >
> > Thanks for the suggestion Efraim. I don't currently use desktop
> > services, just base-services at the moment. However, I'm concerned there
> > may still be an issue with this modification. I'm currently only getting
> > prompted for 1 of 2 LUKS device passphrases, which I believe is an issue
> > with the grub bootloader (which in my case is an efi shell program). I'm
> > getting stuck at the grub rescue prompt and so I don't even get to the
> > initial ramdisk stage. Is that where these services kick in, or does
> > that happen later when the full kernel is loaded? When I mount the btrfs
> > root fs manually, I have to decrypt both devices before I can run btrfs
> > device scan.
> >
> > To address the grub issue I've tried doing:
> > grub rescue> insmod luks
> > grub rescue> cryptomount -a
> >
> > However, that doesn't appear to have any effect. I've also tried
> > modifying grub.cfg directly and reinstalling the bootloader by chrooting
> > and running grub-install, but that doesn't work for reasons that seem to
> > be related to the guix way of doing things. Since I'm still new to Guix,
> > I don't know how one might make custom modifications to the cfg file.
> >
> 
> 
> -- 
> 
> *Matt Huszagh*
> Emerging Markets Trader | JP Morgan
> 
> o: (212) 834-4869
> c: (847) 313-5082
> LinkedIn <http://www.linkedin.com/in/matt-huszagh-987b3a37/>

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2019-06-25  6:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-23  2:05 guix system init with mounted btrfs Matt Huszagh
2019-06-23 12:42 ` Tobias Geerinckx-Rice
2019-06-23 12:47   ` Tobias Geerinckx-Rice
2019-06-23 17:36   ` Matt Huszagh
2019-06-23 21:10   ` Matt Huszagh
2019-06-24 11:49     ` Efraim Flashner
2019-06-24 14:51       ` Matt Huszagh
2019-06-24 17:54         ` Matt Huszagh
2019-06-25  6:27           ` Efraim Flashner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190625062721.GB1163@macbook41 \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=huszaghmatt@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.