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 eGnPHN0yu16uKQAA0tVLHw (envelope-from ) for ; Tue, 12 May 2020 23:35:57 +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 cIXZOusyu151HgAAB5/wlQ (envelope-from ) for ; Tue, 12 May 2020 23:36:11 +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 7F901940C01 for ; Tue, 12 May 2020 23:36:09 +0000 (UTC) Received: from localhost ([::1]:36154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYeRW-0006kr-GN for larch@yhetil.org; Tue, 12 May 2020 19:36:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYeRO-0006kV-Qx for bug-guix@gnu.org; Tue, 12 May 2020 19:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYeRO-0006Ex-I1 for bug-guix@gnu.org; Tue, 12 May 2020 19:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYeRO-0005Yu-Fz for bug-guix@gnu.org; Tue, 12 May 2020 19:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41224: Documentation: Inconsistent disk device between create vm (sda) and run vm (vda) causes "guix system reconfigure" failure Resent-From: W Knight Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 May 2020 23:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41224 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41224@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158932651221306 (code B ref -1); Tue, 12 May 2020 23:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2020 23:35:12 +0000 Received: from localhost ([127.0.0.1]:56871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYeQa-0005XZ-1A for submit@debbugs.gnu.org; Tue, 12 May 2020 19:35:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:40566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYeJs-0005Kr-FO for submit@debbugs.gnu.org; Tue, 12 May 2020 19:28:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYeJs-0004aQ-9j for bug-guix@gnu.org; Tue, 12 May 2020 19:28:16 -0400 Received: from mail.umbisag.org ([23.23.254.139]:57828) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYeJr-0005Mz-FU for bug-guix@gnu.org; Tue, 12 May 2020 19:28:16 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.umbisag.org (Postfix) with ESMTP id 630321A4004 for ; Tue, 12 May 2020 22:42:08 +0000 (GMT) X-Virus-Scanned: amavisd-new at mail.umbisag.org Received: from mail.umbisag.org ([127.0.0.1]) by localhost (mail.umbisag.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YFlWqVbu-B9S for ; Tue, 12 May 2020 22:42:07 +0000 (GMT) Received: from mail.umbisag.org (mail.umbisag.org [10.65.134.72]) by mail.umbisag.org (Postfix) with ESMTP id 344DA114014 for ; Tue, 12 May 2020 22:42:07 +0000 (GMT) Date: Tue, 12 May 2020 22:42:06 +0000 (GMT+00:00) From: W Knight Message-ID: <11799206.307480.1589323326873.JavaMail.root@umbisag.org> In-Reply-To: <3434966.307449.1589322093612.JavaMail.root@umbisag.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_307479_11588131.1589323326872" X-Originating-IP: [70.123.248.20] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) Received-SPF: pass client-ip=23.23.254.139; envelope-from=whk@umbisag.org; helo=mail.umbisag.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 19:28:14 X-ACL-Warn: Detected OS = Linux 2.6.x X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Tue, 12 May 2020 19:35:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -0.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Scan-Result: default: False [-0.01 / 13.00]; GENERIC_REPUTATION(0.00)[-0.53964738198973]; HAS_XOIP(0.00)[]; DWL_DNSWL_BLOCKED(0.00)[209.51.188.17:from]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.06), country: US(-0.00), ip: 209.51.188.17(-0.54)]; RCVD_COUNT_TWELVE(0.00)[12]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[5]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[whk@umbisag.org,bug-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:url,device.map:url]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[umbisag.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: VDk/kT5Ljzm8 ------=_Part_307479_11588131.1589323326872 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Summary: The instructions to build a virtual machine uses /dev/sda* devices for harddrive which are then referenced in /etc/config.scm. The instructions to run the vm uses /dev/vda* devices for harddrive This causes "sudo guix system reconfigure /etc/config.scm" to fail with... guix system: error: '/gnu/store/q6q99b1r6wxzdxh3a19z2ng88sfpdryn-grub-2.04/sbin/grub-install --no-floppy --target=i386-pc --boot-directory //boot /dev/sda' exited with status 1; output follows: Installing for i386-pc platform. /gnu/store/q6q99b1r6wxzdxh3a19z2ng88sfpdryn-grub-2.04/sbin/grub-install: error: cannot find a GRUB drive for /dev/sda. Check your device.map. Specifics: For at least quemu-system-x86_64 version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.23) creates a disk layout with /dev/sda $ qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \ -nic user,model=virtio-net-pci -boot menu=on,order=d \ -drive file=guix-system.img \ -drive media=cdrom,file=guix-system-install-1.1.0. system .iso while reflects the disk layout as /dev/vda $ qemu-system-x86_64 \ -nic user,model=virtio-net-pci \ -enable-kvm -m 1024 \ -device virtio-blk,drive=myhd \ -drive if=none,file=/tmp/qemu-image,id=myhd Recommendation. Change the install directions to use virtio-blk... $ qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \ -nic user,model=virtio-net-pci -boot menu=on,order=d \ -device virtio-blk,drive=myhd \ -drive if=none,file=guix-system.img,id=myhd \ -drive media=cdrom,file=guix-system-install-1.1.0. system .iso ------=_Part_307479_11588131.1589323326872 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: times new roman,new york,times,serif; font-size: = 12pt; color: #000000'>
Summary:
 The instructions to bui= ld a virtual machine uses /dev/sda* devices for harddrive which are then re= ferenced in /etc/config.scm.
 The instructions to run the vm= uses /dev/vda* devices for harddrive
 This causes "sudo gui= x system reconfigure /etc/config.scm" to fail with...
  = ;  guix system: error: '/gnu/store/q6q99b1r6wxzdxh3a19z2ng88sfpdryn-gr= ub-2.04/sbin/grub-install --no-floppy --target=3Di386-pc --boot-directory /= /boot /dev/sda' exited with status 1; output follows:
    &nbs= p; Installing for i386-pc platform.
      /gnu/store/q6q9= 9b1r6wxzdxh3a19z2ng88sfpdryn-grub-2.04/sbin/grub-install: error: cannot fin= d a GRUB drive for /dev/sda.  Check your device.map.
Specifics:

For at least quemu-system-x= 86_64 version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.23)

<https://guix.gnu.org/manual/en/guix.html#Installing-G= uix-in-a-VM> creates a disk layout with /dev/sda
  $ qemu-=
system-x86_64 -m 1024 -smp 1 -enable-kvm \
    -nic user,model=3Dvirtio-net-pci -boot menu=3Don,order=3Dd \
    -drive file=3Dguix-system.img \
    -drive media=3Dcdrom,file=3Dguix-system-install-1.1.0.system=
.iso

while <https://guix.gnu.org/manual/en/guix.html#Running-Guix= -in-a-VM> reflects the disk layout as /dev/vda 
$ qemu-system= -x86_64 \ -nic user,model=3Dvirtio-net-pci \ -enable-kvm -m 1024 \ -device virtio-blk,drive=3Dmyhd \ -drive if=3Dnone,file=3D/tmp/qemu-image,id=3Dmyhd

Recommendatio= n. Change the install directions to use virtio-blk...
$ qemu-system-x= 86_64 -m 1024 -smp 1 -enable-kvm \ -nic user,model=3Dvirtio-net-pci -boot menu=3Don,order=3Dd \
-de= vice virtio-blk,drive=3Dmyhd \
-drive if=3Dnone,file=3Dguix-system.i= mg,id=3Dmyhd \ -drive media=3Dcdrom,file=3Dguix-system-install-1.1.0.system= .iso







------=_Part_307479_11588131.1589323326872--