[PATCH] doc: Fix installing Guix in VM

  • Done
  • quality assurance status badge
Details
2 participants
  • Brice Waegeneire
  • Ludovic Courtès
Owner
unassigned
Submitted by
Brice Waegeneire
Severity
normal
B
B
Brice Waegeneire wrote on 24 Sep 2019 00:28
(address . guix-patches@gnu.org)
20190923222852.21582-1-brice@waegenei.re
* 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(-)

Toggle diff (47 lines)
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
--
2.19.2
L
L
Ludovic Courtès wrote on 25 Sep 2019 15:25
(name . Brice Waegeneire)(address . brice@waegenei.re)(address . 37494-done@debbugs.gnu.org)
875zlgmrsx.fsf@gnu.org
Brice Waegeneire <brice@waegenei.re> skribis:

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

Applied, thanks!

Ludo’.
Closed
?