From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27735: Lookup by UUID Date: Thu, 20 Jul 2017 22:32:29 +0200 Message-ID: <87379qn92a.fsf@gnu.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> <20170720193801.131a59c7@scratchpost.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]:42561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYI8C-0005Xt-Er for bug-guix@gnu.org; Thu, 20 Jul 2017 16:33:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYI87-0008Kz-Ms for bug-guix@gnu.org; Thu, 20 Jul 2017 16:33:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYI87-0008Kq-J6 for bug-guix@gnu.org; Thu, 20 Jul 2017 16:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dYI86-0007Nm-3K for bug-guix@gnu.org; Thu, 20 Jul 2017 16:33:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170720193801.131a59c7@scratchpost.org> (Danny Milosavljevic's message of "Thu, 20 Jul 2017 19:38:01 +0200") 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: Danny Milosavljevic Cc: 27735@debbugs.gnu.org Heya, Danny Milosavljevic skribis: >> 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= -CD_002dROM says: > >>...grub-mkrescue >>This produces a file named grub.iso, which then can be burned into a CD (= or a DVD), or written to a USB mass storage device. >>The root device will be set up appropriately on entering your grub.cfg co= nfiguration file, so you can refer to file names on the CD without needing = to use an explicit device name. This makes it easier to produce rescue imag= es 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 g= rub-mkrescue ? That's how one could interpret thir "root device" sentence.= .. Oooh, interesting, that comes in handy. :-) Now, how can we pass the information to =E2=80=98grub-configuration-file=E2= =80=99 so that it doesn=E2=80=99t emit that =E2=80=9Csearch=E2=80=9D command? It seems that the bootloader API doesn=E2=80=99t leave room to pass bootloader-specific options. Thoughts? Ludo=E2=80=99.