From owner-freebsd-questions Wed Mar 12 11:53:52 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E72EB37B401; Wed, 12 Mar 2003 11:53:49 -0800 (PST) Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C892C43F85; Wed, 12 Mar 2003 11:53:48 -0800 (PST) (envelope-from ohartman@klima.physik.uni-mainz.de) Received: from klima.physik.uni-mainz.de (klima.physik.uni-mainz.de [134.93.180.162]) by klima.physik.uni-mainz.de (8.12.6/8.12.5) with ESMTP id h2CJrjUb057563; Wed, 12 Mar 2003 20:53:45 +0100 (CET) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Wed, 12 Mar 2003 20:53:45 +0100 (CET) From: "Hartmann, O." To: Kris Kennaway Cc: "M. Warner Losh" , freebsd-questions@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: FBSD 5.0 diskless environment does not work! In-Reply-To: <20030312183637.GA86696@rot13.obsecurity.org> Message-ID: <20030312204541.F55461@klima.physik.uni-mainz.de> References: <20030310163117.K23333@edda.physik.uni-mainz.de> <20030311.220424.32721251.imp@bsdimp.com> <20030312153047.E52780@klima.physik.uni-mainz.de> <20030312183637.GA86696@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 12 Mar 2003, Kris Kennaway wrote: :>On Wed, Mar 12, 2003 at 03:43:52PM +0100, Hartmann, O. wrote: :> :>> Possibly I should repeat in short terms what I did when 'migrating' :>> from the working 4.X diskless system to the 5.0 system. :> :>I think some of the directory layout needed for diskless nfs booting :>was frobbed by dillon a few months ago (I had some trouble updating my :>diskless machines past this change, although I think that was mostly :>because of a typo in his commit that went unnoticed/untested for a few :>months). Compare your previous installation to the comments in :>rc.diskless (and I presume, the manpage). :> :>Kris :> Dear Kris, It's me again. I tried now the old fashioned rc.-script way and that do some 'diskless' recognition. The first row after the kernel has been mounted its root from the server is filled with IP, gateway etc. The next row shows some formating information and reports that md0c (RAM disk?) has been formated. But then the next row shows another error: mount: /dev/md0c: No such file or directory Then a bunch of cp failures shows up and at the end I receive a dhcp.host-name error (but this can be ignored, I think) and kernel drops into /bin/sh as it does when boot fails (and it fails in this case, but I compared it with a normal disk-boot). I did a ls -l on /dev and saw /dev/md0c already there. It seems weird to me ... sorry. rc.d does not work, definitely not. Maybe some of the routines in rc or rc.subr skip over initdiskless or some other essential scripts. I will give up for today, switch back to the running config and images up to tommorrow. Will do tomorrow next investigations ... oliver -- MfG O. Hartmann ohartman@mail.physik.uni-mainz.de ------------------------------------------------------------------ Systemadministration des Institutes fuer Physik der Atmosphaere (IPA) ------------------------------------------------------------------ Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 (Buero) FAX: +496131/3923532 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message