From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Enhance USB install Date: Tue, 02 Aug 2016 14:32:01 +0200 Message-ID: <87eg67xsfy.fsf@gnu.org> References: <1468419848-15393-1-git-send-email-vincent.legoll@gmail.com> <1468419848-15393-2-git-send-email-vincent.legoll@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUYrq-0005e2-DU for guix-devel@gnu.org; Tue, 02 Aug 2016 08:32:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUYrl-0007Kh-CL for guix-devel@gnu.org; Tue, 02 Aug 2016 08:32:17 -0400 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") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Vincent Legoll Cc: guix-devel@gnu.org, Vincent Legoll Hi Vincent, Vincent Legoll skribis: > From: Vincent Legoll > > * 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 =E2=80=9CInstalling GuixSD in a Virtual Machine=E2=80= =9D. > +To boot a QEmu virtual machine for installing GuixSD in a disk image, fo= llow > +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=3D /proc/config.gz > +CONFIG_BRIDGE=3Dy > +@end example > + > +If it is compiled as a module & loaded, it will also work: > + > +@example > +zgrep CONFIG_BRIDGE=3D /proc/config.gz > +CONFIG_BRIDGE=3Dm > +lsmod | grep ^bridge > +bridge 117542 0 > +@end example I removed this bit because in my experience it=E2=80=99s 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=3Dvirtio -= boot menu=3Don \ > + -drive file=3Dguixsd-x86_64-raw.img \ > + -drive file=3Dguixsd-usb-install-@value{VERSION}.@var{system} > +@end example > + > +In the VM console, quickly press the key to enter the boot menu. = Then > +press the <2> key and the 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 =E2=80=9CRunning GuixSD in a VM=E2=80=9D. This is a valuable addition, but I guess many people want to try GuixSD in a VM first. Thank you! Ludo=E2=80=99.