PXE tftp - double boot
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:
> Tell me please, how can i boot from tftp server (throught pxe) several
> copies FreeBSD from different path (For example: /pxeroot/freebsd1 and
> 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
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.
More information about the freebsd-questions