From: "Ludovic Courtès" <ludo@gnu.org>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: guix-devel@gnu.org, help-guix@gnu.org
Subject: Re: Installer: GUIX_IMAGE as /dev/sda on some hardware?
Date: Tue, 28 May 2019 17:11:48 +0200 [thread overview]
Message-ID: <87o93mwr4b.fsf@gnu.org> (raw)
In-Reply-To: <87y32u3c9f.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Sat, 25 May 2019 15:16:28 +0200")
Hello!
Giovanni Biscuolo <g@xelera.eu> skribis:
> But wait! There's the /dev/disk/by-id/ tree, I did not notice it until
> now! :-)
>
> That's the solution:
>
>
> (bootloader
> (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/disk/by-id/scsi-3600508b1001c75a3bebb04b23d19e249")
> (keyboard-layout keyboard-layout)))
>
> I did not test this but it smells like running, if Guix devels agree I
> think Installer should adopt /dev/disk/by-id by default, sorry I'm not
> able to propose a patch for this
Ideally, we’d use an actual UUID object (or a string?) here rather than
this Linux/udev-specific idiom. So it would look like:
(bootloader-configuration
;; …
(target (uuid …)))
Would that work?
I believe using Guile-Parted we could map it back to a /dev name.
WDYT?
Ludo’.
next prev parent reply other threads:[~2019-05-28 15:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-25 9:04 Installer: GUIX_IMAGE as /dev/sda on some hardware? Giovanni Biscuolo
2019-05-25 11:58 ` Tobias Geerinckx-Rice
2019-05-25 13:16 ` Giovanni Biscuolo
2019-05-26 11:22 ` Tobias Geerinckx-Rice
2019-05-26 11:31 ` Tobias Geerinckx-Rice
2019-05-26 21:26 ` Tobias Geerinckx-Rice
2019-05-28 15:11 ` Ludovic Courtès [this message]
2019-05-28 17:29 ` Tobias Geerinckx-Rice
2019-05-29 19:49 ` bug#35995: " Giovanni Biscuolo
2019-05-29 19:49 ` Giovanni Biscuolo
2019-05-29 20:19 ` bug#35995: " Danny Milosavljevic
2019-05-31 21:42 ` Ludovic Courtès
2019-05-31 21:42 ` Ludovic Courtès
2019-05-31 22:16 ` bug#35995: " Tobias Geerinckx-Rice
2019-05-31 22:16 ` Tobias Geerinckx-Rice
2019-05-31 23:31 ` bug#35995: " Danny Milosavljevic
2019-05-31 23:31 ` Danny Milosavljevic
2019-05-29 19:16 ` bug#35995: [wishlist] bootloader-configuration, avoid use of /dev/sd? Giovanni Biscuolo
[not found] ` <handler.35995.B.155915741432036.ack@debbugs.gnu.org>
2024-02-28 9:29 ` Giovanni Biscuolo
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=87o93mwr4b.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=g@xelera.eu \
--cc=guix-devel@gnu.org \
--cc=help-guix@gnu.org \
/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.