From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 02:24:17 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E00BA16A4CE for ; Thu, 8 Jan 2004 02:24:17 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C22643D55 for ; Thu, 8 Jan 2004 02:24:10 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 8 Jan 2004 10:24:08 +0000 (GMT) Date: Thu, 8 Jan 2004 10:24:06 +0000 From: David Malone To: Sergey Lapin Message-ID: <20040108102406.GA54017@walton.maths.tcd.ie> References: <3FFCE6DD.4000402@tec.karelen.elektra.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FFCE6DD.4000402@tec.karelen.elektra.ru> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: freebsd-stable@freebsd.org Subject: Re: Two silly questions aboun netbooting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 10:24:18 -0000 On Thu, Jan 08, 2004 at 08:13:01AM +0300, Sergey Lapin wrote: > 1. I have p1-75 with a small disk (40Mb), where I want to put kernel. > And then want it to mount root from 192.168.1.1:/nfsroot, so diskless > scripts located there took control and system should be running? > The best could be if DHCP/BOOTP be avoided since there are such > servers exist in our network and running on non-standard ports could > become a nightmare... It should be possible. I can suggest two ways. If you want to make it look really like a diskless boot, you can probably hack the code in /usr/src/sys/nfs/bootp_subr.c to pretend it sends a request and pretend it receives a response and hard code the IP address and root path in there. Alternatively, and slightly less hacky, you could build a kernel with an MFS root and include enough commands to mount the nfs root on /nfsroot and symlink everything else into place. > 2. I have old Compaq LTE Elite 486 notebook without hard drive (no > disk cage, so no possibility to put hard drive inside), and 3c589 > PCMCIA ethernet card - is it possible to make it netbooting? > Floppy works, so is it possible to make X terminal from it, booting > kernel from floppy and mounting NFS root? The second method mentioned above should work for this machine too. David.