Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2003 17:46:26 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Chris Shenton <chris@shenton.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: Diskless: 5.0R scripts, boot, NFS mount problems I didn't have in 4.7S
Message-ID:  <200302230146.h1N1kQrZ024560@apollo.backplane.com>
References:  <87el65pi4e.fsf@Pectopah.shenton.org> <200302191844.h1JIiUIh004070@apollo.backplane.com> <87smufiz66.fsf@Pectopah.shenton.org>

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

:Seems like diskless clients would have to have separate kernels with
:the "option BOOTP" while any servers must omit this option.
:
:How do you keep them separate? or am I missing something fundamental?
:
:Thanks.

    You can compile pxeboot with the LOADER_TFTP_SUPPORT=YES option.
    Add LOADER_TFTP_SUPPORT=YES to your /etc/make.conf and recompile
    /usr/src/sys/boot (make clean; make obj; make; make install from
    within /usr/src/sys/boot).

    If you do this pxeboot will attempt to load the kernel via TFTP
    instead of via NFS.  You then put your kernel in /tftpboot right along
    side a copy of pxeboot.

    This allows you to netboot a different kernel then the one in the 
    server's root directory.

:PS: could you show me your dhcpd.conf so I can see how you're
:    specifying your root filesystem? Mine's currently:
:	option root-path	"192.168.255.185:/";

subnet 216.240.41.0 netmask 255.255.255.192 {
    range ...;

    server-name "apollo.backplane.com";
    option subnet-mask 255.255.255.192;
    option domain-name-servers 216.240.41.2;
    option domain-name "backplane.com";
    option broadcast-address 216.240.41.63;
    option routers 216.240.41.15;

    group {
	filename "pxeboot";
	option root-path "216.240.41.2:/";

	host net1 {
# Alternative server to boot -current
#	    option root-path "216.240.41.12:/";
#	    next-server 216.240.41.12;
	    hardware ethernet ...;
	}
	host net2 {
	    hardware ethernet ...;
	}
	...
    }
}

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

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




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