From owner-freebsd-hackers  Sat Nov  4 10:13:52 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5])
	by hub.freebsd.org (Postfix) with ESMTP
	id 38F3537B4D7; Sat,  4 Nov 2000 10:13:49 -0800 (PST)
Received: (from mat@localhost)
	by milquetoast.cs.mcgill.ca (8.9.3/8.9.3) id NAA23535;
	Sat, 4 Nov 2000 13:13:22 -0500 (EST)
Date: Sat, 4 Nov 2000 13:13:22 -0500
From: Mathew KANNER <mat@cs.mcgill.ca>
To: John Hay <jhay@icomtek.csir.co.za>
Cc: Doug Ambrisko <ambrisko@whistle.com>,
	Mike Smith <msmith@FreeBSD.ORG>, Danny Braniss <danny@cs.huji.ac.il>,
	freebsd-hackers@FreeBSD.ORG
Subject: Re: dhcp boot was: Re: diskless workstation
Message-ID: <20001104131322.A22004@cs.mcgill.ca>
References: <200011041721.JAA61486@whistle.com> <200011041759.eA4HxWv67962@zibbi.icomtek.csir.co.za>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.2.5i
In-Reply-To: John Hay's message [Re: dhcp boot was: Re: diskless workstation] as of Sat, Nov 04, 2000 at 07:59:32PM +0200
Organization: SOCS, McGill University, Montreal, CANADA
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Nov 04, John Hay wrote:
> > John Hay writes:
> > | > > the dhcp.xxx stuff is easy, the problem is that the DHCP options are not
> > | > > enough, so im trying to look into defining a FBSDclass ala PXEClient, and
> > | > > supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever.
> > | > 
> > | > You don't need those; you can get them out of /etc/fstab.  In particular, 
> > | > the whole idea of passing the NFS swap details in at this stage is just 
> > | > *totally* bogus.
> > | 
> > | How do you specify nfs swap in the fstab file? I have been trying the
> > 
> > You don't, it is done via the bootp or dhcp record option 128 for example
> >           option option-128 "192.168.2.254:/usr/work/netboot";
> > You then have to make the swap file in that directory of format
> > 	swap.<IP of client>
> > Use dd to create the file by copying /dev/zero for the size you want.
> > 
> > Note during boot up the kernel will tell you what it is using for 
> > swap via this request.
> 
> The option-128 confuse the pxeboot program. If I put
> 
> option root-path "/export/diskless";
> option option-128 "10.1.2.3:/export/shark";
> 
> in the dhcpd.conf file, pxeboot tries to mount /export/sharkM-^[^B-iя
> as the root filesystem. Removing the option-128 line at least get me to
> boot albeit without swap.

	Try shortening the paths, ie root-path "/e/d".  This might 
get you a little more room.

	--Mat
> 
> John
> -- 
> John Hay -- John.Hay@icomtek.csir.co.za
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
Mathew Kanner <mat@CS.McGill.CA>  SOCS McGill University
   Obtuse quote: He [not me] understands: "This field of perception
   is void of perception of man." -- The Quintessence of Buddhism 


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