From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 3 01:11:54 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A387B16A4BF; Wed, 3 Sep 2003 01:11:54 -0700 (PDT) Received: from hermes.aueb.gr (hermes.aueb.gr [195.251.255.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id C42D14402A; Wed, 3 Sep 2003 01:11:52 -0700 (PDT) (envelope-from dds@aueb.gr) Received: from aueb.gr (faculty01.right.dialup.aueb.gr [195.251.255.245]) by hermes.aueb.gr (8.12.9/8.12.9) with ESMTP id h838Bo6T026854; Wed, 3 Sep 2003 11:11:50 +0300 Message-ID: <3F55A1EA.B9F8CB23@aueb.gr> Date: Wed, 03 Sep 2003 11:10:18 +0300 From: Diomidis Spinellis Organization: Athens University of Ecomomics and Business X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,el,de MIME-Version: 1.0 To: Josef Karthauser References: <20030902205418.GB30374@genius.tao.org.uk> <20030902210904.GB30594@genius.tao.org.uk> Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: Booting a machine over the network without pxe. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 08:11:54 -0000 Josef Karthauser wrote: > On Tue, Sep 02, 2003 at 09:54:18PM +0100, Josef Karthauser wrote: > > Does anyone have any experience of booting a machine over the > > network, like pxeboot, but without running PXE on a network card. > > I imagine that it should be possible to load pxeboot at the boot: > > prompt and have everything just work. > > > > I could really do with booting my laptop into -stable, where it's only > > got -current installed. I do however have a -stable server on site with > > plenty of disk space. It would be really cool to remote boot of that > > via NFS mounts, etc. > > I should have said, my network card is an aue (usb) device which cuts > etherboot out of the equation. I have used picobsd(8) to load a bare bones kernel and some configuration files on an old Pentium-100 16MB laptop using a floppy disk. rc.local then NFS mounts the real directories over the net: mount spiti.spinellis.gr:/usr /usr mount spiti.spinellis.gr:/home /home rm bin sbin /stand/mkdir bin sbin /stand/mount_nfs spiti.spinellis.gr:/bin /bin /stand/mount_nfs spiti.spinellis.gr:/sbin /sbin It took me about two days to jugle the binaries in a way that allowed the initial boot to view the network via the PCMCIA card and to configure the system remove picobsd remnants once the large filesystems were available over NFS. At some point during the boot process you feel as if a straightjacket is removed: you have all your binaries and a lot of disk space available. Before that stage you have to be very careful with how you allocate the floppy's disk space. Diomidis - dds@