From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#35995: Installer: GUIX_IMAGE as /dev/sda on some hardware? Date: Wed, 29 May 2019 22:19:44 +0200 Message-ID: <20190529221944.2d361250@scratchpost.org> References: <874l5i52i1.fsf@roquette.mug.biscuolo.net> <87r28mzqxv.fsf@nckx> <87y32u3c9f.fsf@roquette.mug.biscuolo.net> <87o93mwr4b.fsf@gnu.org> <87a7f6qygw.fsf@nckx> <87ftox11nu.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/bG3A9a27UR6n.p0MwdaAxIw"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW53L-0003Sg-LP for bug-guix@gnu.org; Wed, 29 May 2019 16:20:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW53K-0000PL-R3 for bug-guix@gnu.org; Wed, 29 May 2019 16:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hW53K-0000PG-Ns for bug-guix@gnu.org; Wed, 29 May 2019 16:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hW53K-0001YP-GC for bug-guix@gnu.org; Wed, 29 May 2019 16:20:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87ftox11nu.fsf@roquette.mug.biscuolo.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Giovanni Biscuolo , 35995@debbugs.gnu.org Cc: guix-devel@gnu.org --Sig_/bG3A9a27UR6n.p0MwdaAxIw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Grub already can search by uuid or label (via "search --fsuuid" and "search --label", respectively). IF you specify an uuid or label in your operating-system configuration it will use that. The only part missing is: The Guix installer's config generator should find out the uuids and print those instead of the /dev nodes. If nothing else, we can just use blkid to find out which is which. For example: blkid -d -s UUID -o value /dev/sda1 But T G-R is right, Guix already does what is required at other places. Care has to be taken that parted also uses GUIDs for GPT partition TYPES and also for partitions as such (not their contents). Those are something else. --Sig_/bG3A9a27UR6n.p0MwdaAxIw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzu6WAACgkQ5xo1VCww uqV3+wf9EXt8vpP3lyfQVilyOagjkrolC9wWwDLXvgHNvxrT3dVb1zVWKm8UEIok 8EvETyDTPoSejkgzRjfpN+pJlH1L7LcGMXl62WZGkTVK5r6f5tJGBv+eVBiBug5P 4AuB/AdVvGKwMJgEfc626jQVIdcsaW6JQOIW28tLB3ieIPx+xCoGQLON4YCB6GV1 DZ9HinntnI7IXi56BzzoQpEz9Snq4iNIvqiPD0o6hQL85KL3GG6LPkBf48ynAWSM 7cqgUNSupvyK7LESwlLn3bt9rhFVjyuTde21X22N34ucxfRBiUC2yVrl3lKSM0Rv 7fD4EkFPvgqMEjIOb7RlgMpQbZ9u4Q== =0Ah5 -----END PGP SIGNATURE----- --Sig_/bG3A9a27UR6n.p0MwdaAxIw--