Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 13:24:07 -0500
From:      Rick Miller <vmiller@hostileadmin.com>
To:        Daniel Feenberg <feenberg@nber.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: gPXE booting FreeBSD?
Message-ID:  <CAHzLAVGbVCN42Bp66R1M0CuTZzDG%2BsmxHQXRzpAzOVC4sLg_-g@mail.gmail.com>
In-Reply-To: <Pine.GSO.4.64.1212041109220.4348@nber6>
References:  <CAHzLAVHm56-05e=uQBY-zyBT8kPZJCN2HbV5kXYkJ%2BvL4A0x=Q@mail.gmail.com> <Pine.GSO.4.64.1212041109220.4348@nber6>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dan,

On Tue, Dec 4, 2012 at 11:44 AM, Daniel Feenberg <feenberg@nber.org> wrote:
>
>
> On Tue, 4 Dec 2012, Rick Miller wrote:
>
>> Hi All,
>>
>> Does anyone have any experience booting FreeBSD via gPXE and have
>> pointers to relevant documentation and/or blog posts?
>>
>
> In the last paragraph of our description of PXE booting FreeBSD:
>
>   http://www.nber.org/sys-admin/FreeBSD-diskless.html
>
> we report that "gpxelinux did not work for us. (It hangs once a menu item is
> selected, or if more than one choice is available)." Have you tried and
> gotten better/worse/similar results? Our trial was about a year ago, it
> would be worth trying again.

Thanks for the reply and link.  We've not tried booting FreeBSD from gPXE yet.

Our goal is to PXE boot clients into a non-interactive FreeBSD
installation.  We do this now utilizing pxegrub from Grub2 to pass
environment/kernel variables to stage 2 as documented at
http://blog.hostileadmin.com/2012/05/04/pxe-booting-into-a-freebsd-installation/

Where $kernel_path is the FreeBSD kernel and $initrd_path is the
mfsroot from the release build.  The rest of the environment variables
are dynamically derived based on data stored in a database for each
host.

We want to replace pxegrub with gPXE with the hope that we can still
pass the environment/kernel variables to stage 2.

-- 
Take care
Rick Miller



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVGbVCN42Bp66R1M0CuTZzDG%2BsmxHQXRzpAzOVC4sLg_-g>