PXE tftp - double boot

Rick Miller vmiller at hostileadmin.com
Mon Oct 29 21:57:04 UTC 2012


On Mon, Oct 29, 2012 at 4:57 PM, Vagner <vagner at 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


More information about the freebsd-questions mailing list