From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Installer: GUIX_IMAGE as /dev/sda on some hardware? Date: Sat, 1 Jun 2019 01:31:27 +0200 Message-ID: <20190601013127.6dbd31ca@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> <20190529221944.2d361250@scratchpost.org> <874l5amhc8.fsf@gnu.org> <87r28ep8vg.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/.7knr1weIFesk=fKC0Fz5x2"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWqzo-0005E7-Ce for guix-devel@gnu.org; Fri, 31 May 2019 19:31:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWqzn-0003pI-Bk for guix-devel@gnu.org; Fri, 31 May 2019 19:31:36 -0400 In-Reply-To: <87r28ep8vg.fsf@nckx> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Geerinckx-Rice Cc: 35995@debbugs.gnu.org, guix-devel@gnu.org --Sig_/.7knr1weIFesk=fKC0Fz5x2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Yeah, but disk ids are not uuids. /dev/disk/by-id seems to be a good way to find those disk ids in order to p= ass them to grub-install. I doubt that this can be made OS-independent--even t= he udev rules specify different variables for different devices, sometimes it's bus id and serial number, sometimes it's name and serial number, sometimes = it's ieee1394_id, sometimes ID_WWN_WITH_EXTENSION. Alternatively, grub also works from a boot-active partition--it nothing else works, we can install grub to a partition (for example the root partition). Then, migration would be difficult, though (if people had grub installed on the MBR, that destroyed the previous loader that would have loaded from the boot sector of the partition). --Sig_/.7knr1weIFesk=fKC0Fz5x2 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzxuU8ACgkQ5xo1VCww uqWIegf/VzQwkEKWQoN3NHCaKGOS7ddoLoW6VmJKtdNOKLq951aq5vMxt/l4K/8v W2D8ArZASv6NZEukelCLKqiG5u4S5nILAYyjJ7w6mSFdDCkNd6IN5CnNZvpO82oI kv9VolTKDafhu3Dm1h2lJIECNB6b53T69XqOUW8PVpXrJfS4pAvtCS29zFCucIcx ptEdUVyGdMjZbXAnOUUglLizd/dYPuX4ULgijFt7XjkJKsU0yKaH/VkMbD6xHXEU HciItmCIFeYKE1rDk0R5sNxorMWfyQKztd3o6TSDmB05UrsQOowBvkAS0dnMhauo ev5kr8/IAuwNZNNpNiAfX0l88ObZ/A== =0eIB -----END PGP SIGNATURE----- --Sig_/.7knr1weIFesk=fKC0Fz5x2--