From owner-freebsd-hackers Sat Nov 4 9:25: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id CB53C37B4CF; Sat, 4 Nov 2000 09:25:02 -0800 (PST) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id JAA87640; Sat, 4 Nov 2000 09:22:21 -0800 (PST) Received: (from ambrisko@localhost) by whistle.com (8.9.3/8.9.1) id JAA61486; Sat, 4 Nov 2000 09:21:58 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200011041721.JAA61486@whistle.com> Subject: Re: dhcp boot was: Re: diskless workstation In-Reply-To: <200011041220.eA4CKhY60343@zibbi.icomtek.csir.co.za> from John Hay at "Nov 4, 2000 02:20:43 pm" To: John Hay Date: Sat, 4 Nov 2000 09:21:58 -0800 (PST) Cc: Mike Smith , Danny Braniss , freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. 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. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message