[Top][All Lists]

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

Re: Installer: GUIX_IMAGE as /dev/sda on some hardware?

From: Ludovic Courtès
Subject: Re: Installer: GUIX_IMAGE as /dev/sda on some hardware?
Date: Tue, 28 May 2019 17:11:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)


Giovanni Biscuolo <address@hidden> 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:

    ;; …
    (target (uuid …)))

Would that work?

I believe using Guile-Parted we could map it back to a /dev name.



reply via email to

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