From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yI/PDyLRp19nSQAA0tVLHw (envelope-from ) for ; Sun, 08 Nov 2020 11:06:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +MaeCyLRp1/ZGQAAB5/wlQ (envelope-from ) for ; Sun, 08 Nov 2020 11:06:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D4EFA94006E for ; Sun, 8 Nov 2020 11:06:09 +0000 (UTC) Received: from localhost ([::1]:52730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbiWO-0008Vq-Sb for larch@yhetil.org; Sun, 08 Nov 2020 06:06:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbiWI-0008Vg-ID for bug-guix@gnu.org; Sun, 08 Nov 2020 06:06:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbiWI-0004uD-7t for bug-guix@gnu.org; Sun, 08 Nov 2020 06:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbiWI-0005zS-3E for bug-guix@gnu.org; Sun, 08 Nov 2020 06:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44353: guix system disk-image -t raw fails with grub-efi-bootloader Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 08 Nov 2020 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44353 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Maxim Cournoyer Received: via spool by 44353-submit@debbugs.gnu.org id=B44353.160483350422955 (code B ref 44353); Sun, 08 Nov 2020 11:06:02 +0000 Received: (at 44353) by debbugs.gnu.org; 8 Nov 2020 11:05:04 +0000 Received: from localhost ([127.0.0.1]:59780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbiVM-0005yA-7m for submit@debbugs.gnu.org; Sun, 08 Nov 2020 06:05:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbiVK-0005xE-V8 for 44353@debbugs.gnu.org; Sun, 08 Nov 2020 06:05:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47932) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbiVF-0004Qu-OK; Sun, 08 Nov 2020 06:04:57 -0500 Received: from [2a01:e0a:19b:d9a0:d4db:33d7:9f57:7a64] (port=46884 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbiVF-0007Fj-8s; Sun, 08 Nov 2020 06:04:57 -0500 From: Mathieu Othacehe References: <1e589f3b-47f8-fd53-b750-d2beff8d91f5@gmail.com> <87lffdtzh1.fsf@gmail.com> <875z6hmt4b.fsf@gnu.org> <877dqwucum.fsf@gmail.com> Date: Sun, 08 Nov 2020 12:04:55 +0100 In-Reply-To: <877dqwucum.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 07 Nov 2020 15:32:49 -0500") Message-ID: <87h7q0cdns.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44353@debbugs.gnu.org, Jesse Gibbons Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: EsppOMe3grhb Hey, > $ time ./pre-inst-env guix system disk-image > gnu/system/examples/lightweight-desktop.tmpl --verbosity=2 --no-offload > > That took 38 minutes on my system and produced /gnu/store/...-disk-image. Strange, only 8 minutes for me. Does it include the time necessary to fetch all substitutes? Are you using a SSD drive? > $ qemu-system-x86_64 -m 1024 -bios $(guix build > ovmf)/share/firmware/ovmf_x64.bin -hda /tmp/lightweight-desktop.img It tries to mount the EFI file-system with UUID "1234-ABCD" and fails. You can remove this one for the lightweight-desktop configuration to obtain a bootable system. > Would break if device was set to #f, as is done in (guix build image)'s > initialize-efi-partition: > > (when bootloader-installer > (display "installing bootloader...\n") > (bootloader-installer bootloader-package #f root)) > > Is my analysis correct? If so, the patch I sent yesterday would fix the > problem more thoroughly. Yes it is probably broken too. However, I would prefer not to introduce bootloader specific stuff in (gnu system image). I think the bootloaders should try to do their best with the DEVICE and MOUNT-POINT arguments passed to bootloader-installer procedure. It means, trying to install themselves using only MOUNT-POINT argument or bailing out. WDYT? Thanks, Mathieu