all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: guix-devel@gnu.org, Vincent Legoll <vincent.legoll@idgrilles.fr>
Subject: Re: [PATCH] Enhance USB install
Date: Tue, 02 Aug 2016 14:32:01 +0200	[thread overview]
Message-ID: <87eg67xsfy.fsf@gnu.org> (raw)
In-Reply-To: <1468419848-15393-2-git-send-email-vincent.legoll@gmail.com> (Vincent Legoll's message of "Wed, 13 Jul 2016 16:24:08 +0200")

Hi Vincent,

Vincent Legoll <vincent.legoll@gmail.com> skribis:

> From: Vincent Legoll <vincent.legoll@idgrilles.fr>
>
> * doc/guix.texi (USB install): add download & verify subsection,
> add a section to explain how to boot a VM for guixsd installation

I pushed this as commit c8b543741f422ecf41e7635c6a1c40b3bd55947a, with
several modifications.

> +@node USB storage Installation in a VM
> +@subsection USB storage Installation in a VM

Changed the title to “Installing GuixSD in a Virtual Machine”.

> +To boot a QEmu virtual machine for installing GuixSD in a disk image, follow
> +these steps:

s/QEmu/QEMU/

> +@item
> +Ensure your running kernel has the required CONFIG_BRIDGE option for the
> +network to work properly in the virtual machine:
> +
> +@example
> +zgrep CONFIG_BRIDGE= /proc/config.gz
> +CONFIG_BRIDGE=y
> +@end example
> +
> +If it is compiled as a module & loaded, it will also work:
> +
> +@example
> +zgrep CONFIG_BRIDGE= /proc/config.gz
> +CONFIG_BRIDGE=m
> +lsmod | grep ^bridge
> +bridge 117542 0
> +@end example

I removed this bit because in my experience it’s not necessary.  Or am I
overlooking something?

> +@item
> +Boot a virtual machine with the USB installation image
> +
> +@example
> +qemu-system-x86_64 -m 1024 -smp 1 -net default -net nic,model=virtio -boot menu=on \
> +  -drive file=guixsd-x86_64-raw.img \
> +  -drive file=guixsd-usb-install-@value{VERSION}.@var{system}
> +@end example
> +
> +In the VM console, quickly press the <F12> key to enter the boot menu.  Then
> +press the <2> key and the <ENTER> key to validate your selection.

Added a couple of @kbd.

> +@end enumerate
> +
> +You're now root in the VM, proceed with the installation process.

Added cross-ref to “Running GuixSD in a VM”.

This is a valuable addition, but I guess many people want to try GuixSD
in a VM first.

Thank you!

Ludo’.

  parent reply	other threads:[~2016-08-02 12:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 14:24 Document how to install in a VM from USB image Vincent Legoll
2016-07-13 14:24 ` [PATCH] Enhance USB install Vincent Legoll
2016-07-26 13:10   ` Ludovic Courtès
2016-07-26 13:31     ` Vincent Legoll
2016-08-02 12:32   ` Ludovic Courtès [this message]
2016-08-03  0:32     ` ng0
2016-08-03  6:50     ` Vincent Legoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eg67xsfy.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=vincent.legoll@gmail.com \
    --cc=vincent.legoll@idgrilles.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.