diff mbox series

[bug#37494] doc: Fix installing Guix in VM

Message ID 20190923222852.21582-1-brice@waegenei.re
State Accepted
Headers show
Series [bug#37494] doc: Fix installing Guix in VM | expand

Commit Message

Brice Waegeneire Sept. 23, 2019, 10:28 p.m. UTC
* 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(-)

Comments

Ludovic Courtès Sept. 25, 2019, 1:25 p.m. UTC | #1
Brice Waegeneire <brice@waegenei.re> skribis:

> * doc/guix.texi (Installing Guix in a Virtual Machine):
>   Fix qemu-system-x86_64 example.
>   Remove mentions of guixsd.

Applied, thanks!

Ludo’.
diff mbox series

Patch

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