From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 11:44:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCB93FFF for ; Tue, 30 Oct 2012 11:44:33 +0000 (UTC) (envelope-from vagner@bsdway.ru) Received: from bsdway.ru (bsdway.ru [62.109.17.46]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1618FC14 for ; Tue, 30 Oct 2012 11:44:32 +0000 (UTC) Received: from localhost (off-180.addr.fotocdn.net [193.105.179.180]) (authenticated bits=0) by bsdway.ru (8.14.4/8.14.4) with ESMTP id q9UBiSUP010980; Tue, 30 Oct 2012 14:44:28 +0300 (MSK) (envelope-from vagner@bsdway.ru) Date: Tue, 30 Oct 2012 15:44:27 +0400 From: Vagner To: Rick Miller Subject: Re: PXE tftp - double boot Message-ID: <20121030114427.GA32384@vagner-wrk.bsdway.ru> Mail-Followup-To: Rick Miller , freebsd-questions@freebsd.org References: <20121029205524.GA8467@vagner-wrk.bsdway.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bsdway.ru [62.109.17.46]); Tue, 30 Oct 2012 14:44:28 +0300 (MSK) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 11:44:33 -0000 On 17:57 Mon 29 Oct , Rick Miller wrote: > On Mon, Oct 29, 2012 at 4:57 PM, Vagner wrote: > > Hello! > > Tell me please, how can i boot from tftp server (throught pxe) several > > copies FreeBSD from different path (For example: /pxeroot/freebsd1 and > > /pxeroot/freebsd2)? > > I see variale rootpath at source sys/boot/i386/libi386/pxe.c. I > > compiled several pxeboot files (there i changed variable rootpath from "/" to "/pxeroot/freebsd[1-2]"), and i booted this files throught pxelinux. > > Booting stoped at boot kernel. > > This blog post may help > you...http://blog.hostileadmin.com/2012/05/04/pxe-booting-into-a-freebsd-installation/ > > In the grub2pxe Configuration section, you can see that the kernel and > "initrd" (or mfsroot) images are variable-ized (if that's a word). > Perhaps you could use a similar approach to accomplish the same. > > Obviously, in that post, Grub2pxe replaced FreeBSD's pxeboot.bs and > was chained to pxelinux. > > -- > Take care > Rick Miller Thanks for your reply! -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vagner@bsdway.ru email: putrya@playform.ru email: root.vagner@gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail