Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 16:17:50 +0000
From:      Henri Michelon <Henri.Michelon.ML@iiriam.fr>
To:        Paul Jansen <vlaero@yahoo.com.au>
Cc:        hackers@FreeBSD.ORG, questions@FreeBSD.ORG
Subject:   Re: pxe booting problem
Message-ID:  <200110301619.RAA78796@mail.iiriam.fr>
In-Reply-To: <20011030143039.28447.qmail@web12901.mail.yahoo.com>
References:  <20011030143039.28447.qmail@web12901.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Mardi 30 Octobre 2001 14:30, vous avez écrit :
> I posted some of this info last friday but haven't had
> any responses.  I'm hoping someone out there knows
> what the problem is.  Here's the details:
>
> I saw Alfred Perlsteins page on how to setup
> FreeBSD installs unsing PXE.
> The problem I'm having now is when I follow Alfred's
> directions to create the PXE loader (using 4.4R) It
> bombs out.  It's my understanding the I just need to
> stick 'pxeldr' into the root of the TFTP server
> directory and tell the machine to execute this by
> specifying it as the boot file in the DHCP
> configuration.  I also understand that I have to
> create a subdirectory called 'boot' under the TFTP
> root directory with the file 'loader.rc' in it.  Can
> someone verify if this is the case?
> Alfred's instructions can be found here:
> http://people.freebsd.org/~alfred/pxe/
>
> This is the console output that insues when I try and
> build pxeldr as per Alfred's instructions:
>


You can find pxeboot (instead of pxeldr) if /boot.
Just copy it into /tftpboot, and add the following in the dhcpd config file 
(for isc-dhcp version 3):

option space PXE;
option PXE.mtftp-ip    code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;

class "pxeclients" {
        match if substring (option vendor-class-identifier, 0, 9) = 
"PXEClient";
        option vendor-class-identifier "PXEClient";
        option PXE.mtftp-ip 0.0.0.0;
        vendor-option-space PXE;
        next-server X.X.X.X;
        server-name "X.X.X.X";
        server-identifier X.X.X.X;
 
        option root-path "/path/to/FreeBSD/CDROM";
 
        filename "pxeboot";
}

where X.X.X.X is the IP address of the tftp boot server.

Henri.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110301619.RAA78796>