From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] Enhance USB install Date: Wed, 03 Aug 2016 00:32:02 +0000 Message-ID: <87y44e7kvx.fsf@we.make.ritual.n0.is> References: <1468419848-15393-1-git-send-email-vincent.legoll@gmail.com> <1468419848-15393-2-git-send-email-vincent.legoll@gmail.com> <87eg67xsfy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUk6V-000768-K5 for guix-devel@gnu.org; Tue, 02 Aug 2016 20:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUk6T-0002bC-Ji for guix-devel@gnu.org; Tue, 02 Aug 2016 20:32:10 -0400 In-Reply-To: <87eg67xsfy.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= , Vincent Legoll Cc: guix-devel@gnu.org, Vincent Legoll Ludovic Courtès writes: > 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. > ... > >> +@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? Do you mean the bit above or below your statement? The above might be necessary to check for custom kernels on for example Gentoo based systems as the host. A check if what's about to be run is supported is good. Or do I fail to see why you ommited this? Can you explain why it is not necessary in your experience? > >> +@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 ... > Thank you! > > Ludo’. > -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org