From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#27735: Lookup by UUID Date: Thu, 20 Jul 2017 19:38:01 +0200 Message-ID: <20170720193801.131a59c7@scratchpost.org> References: <327af9f3-fdfb-7916-f0ea-9aec0fae20f3@tobias.gr> <20170717191731.2d3ad604@scratchpost.org> <87bmoi0xua.fsf@gnu.org> <20170719211107.51ebe24b@scratchpost.org> <87tw28kqh6.fsf_-_@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYFPo-0003iu-F5 for bug-guix@gnu.org; Thu, 20 Jul 2017 13:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYFPi-0001CG-Gc for bug-guix@gnu.org; Thu, 20 Jul 2017 13:39:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYFPi-0001CB-Cq for bug-guix@gnu.org; Thu, 20 Jul 2017 13:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dYFPi-0003Hk-3U for bug-guix@gnu.org; Thu, 20 Jul 2017 13:39:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tw28kqh6.fsf_-_@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27735@debbugs.gnu.org Hi Ludo, > With iso9660, it works=E2=80=A6 by chance, because GRUB=E2=80=99s =E2=80= =9Csearch --fs-uuid=E2=80=9D > fails. Guess why? Because it compares UUIDs as strings, and we format > it as a DCE UUID instead of an ISO UUID. Sounds familiar no? :-) Yeah :) > So that=E2=80=99s where we are. Thoughts on how to address it? https://www.gnu.org/software/grub/manual/grub.html#Making-a-GRUB-bootable-C= D_002dROM says: >...grub-mkrescue >This produces a file named grub.iso, which then can be burned into a CD (o= r a DVD), or written to a USB mass storage device. >The root device will be set up appropriately on entering your grub.cfg con= figuration file, so you can refer to file names on the CD without needing t= o use an explicit device name. This makes it easier to produce rescue image= s that will work on both optical drives and USB mass storage devices.=20 So... just leave the entire "search" instruction off if it's created by gru= b-mkrescue ? That's how one could interpret thir "root device" sentence...