Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2012 17:57:02 -0400
From:      Rick Miller <vmiller@hostileadmin.com>
To:        Vagner <vagner@bsdway.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PXE tftp - double boot
Message-ID:  <CAHzLAVEcJLHqpqNLAd3RD=pNVbmEpP-OVfEK5wXkNrUkPR_BBg@mail.gmail.com>
In-Reply-To: <20121029205524.GA8467@vagner-wrk.bsdway.ru>
References:  <20121029205524.GA8467@vagner-wrk.bsdway.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 29, 2012 at 4:57 PM, Vagner <vagner@bsdway.ru> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVEcJLHqpqNLAd3RD=pNVbmEpP-OVfEK5wXkNrUkPR_BBg>