From patchwork Mon Sep 23 22:28:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 15442 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 441951742A; Tue, 24 Sep 2019 00:34:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 074FE17428 for ; Tue, 24 Sep 2019 00:34:17 +0100 (BST) Received: from localhost ([::1]:37394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCXqS-000330-4R for patchwork@mira.cbaines.net; Mon, 23 Sep 2019 19:34:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40341) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCXqF-00032F-A4 for guix-patches@gnu.org; Mon, 23 Sep 2019 19:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCXqE-00080d-7y for guix-patches@gnu.org; Mon, 23 Sep 2019 19:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCXqE-00080Z-5Q for guix-patches@gnu.org; Mon, 23 Sep 2019 19:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCXqE-0007Zg-0d for guix-patches@gnu.org; Mon, 23 Sep 2019 19:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37494] [PATCH] doc: Fix installing Guix in VM Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Sep 2019 23:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37494@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156928159228756 (code B ref -1); Mon, 23 Sep 2019 23:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2019 23:33:12 +0000 Received: from localhost ([127.0.0.1]:37300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCXpP-0007TH-8b for submit@debbugs.gnu.org; Mon, 23 Sep 2019 19:33:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:43819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCWpN-00088b-6I for submit@debbugs.gnu.org; Mon, 23 Sep 2019 18:29:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59473) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCWpM-000892-1g for guix-patches@gnu.org; Mon, 23 Sep 2019 18:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCWpK-0006qz-I4 for guix-patches@gnu.org; Mon, 23 Sep 2019 18:29:03 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:53335) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iCWpK-0006pa-Bv for guix-patches@gnu.org; Mon, 23 Sep 2019 18:29:02 -0400 X-Originating-IP: 85.170.102.177 Received: from localhost (85-170-102-177.rev.numericable.fr [85.170.102.177]) (Authenticated sender: brice@waegenei.re) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E285560002 for ; Mon, 23 Sep 2019 22:28:58 +0000 (UTC) From: Brice Waegeneire Date: Tue, 24 Sep 2019 00:28:52 +0200 Message-Id: <20190923222852.21582-1-brice@waegenei.re> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Mon, 23 Sep 2019 19:33:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * doc/guix.texi (Installing Guix in a Virtual Machine): Fix qemu-system-x86_64 example. Remove mentions of guixsd. --- doc/guix.texi | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 093199c63b..dc2c548bb8 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2431,7 +2431,7 @@ Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command: @example -qemu-img create -f qcow2 guixsd.img 50G +qemu-img create -f qcow2 guix-system.img 50G @end example The resulting file will be much smaller than 50 GB (typically less than @@ -2442,17 +2442,13 @@ Boot the USB installation image in an VM: @example qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \ - -net user -net nic,model=virtio -boot menu=on \ - -drive file=guix-system-install-@value{VERSION}.@var{system}.iso \ - -drive file=guixsd.img + -net user -net nic,model=virtio -boot menu=on,order=d \ + -drive file=guix-system.img \ + -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso @end example -The ordering of the drives matters. @code{-enable-kvm} is optional, but -significantly improves performance, @pxref{Running Guix in a VM}. - -In the VM console, quickly press the @kbd{F12} key to enter the boot -menu. Then press the @kbd{2} key and the @kbd{RET} key to validate your -selection. +@code{-enable-kvm} is optional, but significantly improves performance, +@pxref{Running Guix in a VM}. @item You're now root in the VM, proceed with the installation process. @@ -2460,7 +2456,7 @@ You're now root in the VM, proceed with the installation process. @end enumerate Once installation is complete, you can boot the system that's on your -@file{guixsd.img} image. @xref{Running Guix in a VM}, for how to do +@file{guix-system.img} image. @xref{Running Guix in a VM}, for how to do that. @node Building the Installation Image