From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#27735: Lookup by UUID Date: Sat, 5 Aug 2017 19:50:35 +0200 Message-ID: <20170805195035.2e2a93ed@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> <20170720193801.131a59c7@scratchpost.org> <87379qn92a.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]:48868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de3E9-0003dr-Q0 for bug-guix@gnu.org; Sat, 05 Aug 2017 13:51:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de3E6-0002Tx-4y for bug-guix@gnu.org; Sat, 05 Aug 2017 13:51:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1de3E6-0002Tn-1X for bug-guix@gnu.org; Sat, 05 Aug 2017 13:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1de3E5-0004rG-Hz for bug-guix@gnu.org; Sat, 05 Aug 2017 13:51:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87379qn92a.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, > > So... just leave the entire "search" instruction off if it's created by= grub-mkrescue ? That's how one could interpret thir "root device" sentenc= e... =20 >=20 > Oooh, interesting, that comes in handy. :-) >=20 > 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? I've gone ahead and pushed bug# 27705 to master. That means that there's n= ow a new bootloader "grub-mkrescue-bootloader" in gnu/bootloaders/grub.scm = . So you can just override its "configuration-file-generator" by one that d= oesn't emit the "search" command (remainder should be fine as-is). I wonder what would happen (to Grub) if someone did guix system reconfigure= in a system booted from the ISO9660 image, though. I think it would be be= tter to not install any bootloader in the case of mkrescue and guix system = reconfigure. We might want to do a follow-up commit that adds a dummy inst= aller to the "installer" field of grub-mkrescue-bootloader. WDYT?