From owner-freebsd-questions Tue Nov 12 16:47:22 2002 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 2201F37B401 for ; Tue, 12 Nov 2002 16:47:21 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5313F43E91 for ; Tue, 12 Nov 2002 16:47:20 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from sub21-156.member.dsl-only.net (freebsd.localhost.localdomain [127.0.0.1]) by sub21-156.member.dsl-only.net (8.12.5/8.12.5) with ESMTP id gAD0l9wQ094310 for ; Tue, 12 Nov 2002 16:47:09 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: (from nkinkade@localhost) by sub21-156.member.dsl-only.net (8.12.5/8.12.5/Submit) id gAD0l4bk094309 for freebsd-questions@freebsd.org; Tue, 12 Nov 2002 16:47:04 -0800 (PST) (envelope-from nkinkade) Date: Tue, 12 Nov 2002 16:47:04 -0800 From: Nathan Kinkade To: freebsd-questions@freebsd.org Subject: Re: advice on fine tuning diskless boot Message-ID: <20021113004704.GV72253@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: freebsd-questions@freebsd.org References: <1037146648.3dd19a183ee31@mail.webvolution.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037146648.3dd19a183ee31@mail.webvolution.net> User-Agent: Mutt/1.4i 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, Nov 13, 2002 at 12:17:28AM +0000, Joao Pedras wrote: > > Hello all! > > Two small issues... > > 1) After sucessfully configuring a set of systems which come up diskless (thank > you for the fine documentation), these still try to mount root from /dev/ad0s1a: > > .. > .. > Adjusted interface xl0 > Mounting root from ufs:/dev/ad0s1a > no such device 'ad' > setrootbyname failed > ffs_mountroot: can't find rootvp > Root mount failed: 6 > Mounting root from nfs: > NFS ROOT: 192.168.200.3:/diskless_root > NFS SWAP: 192.168.200.3:/diskless_swap > .. > .. > > After this the system comes up fine. > > The kernel is compiled without ata and friends. Should a kernel option like > ROOTDEVNAME be used ? > > I checked the 'loader' and 'pxeboot' documentation, the mailing lists and it is > not obvious how to "fix" this. > > 2. do you see any inconvenient in totally removing all UFS options from the > kernel ? These systems have no hard drives... > > That's all for now. Thank you for time. > > Joao I am not an expert on this, but a few weeks ago I had a diskless system up and running. I removed all traces of UFS and ATA support from the kernel and it seemed to work fine. I removed all of the following options, as well as any ATA devices: options FFS options FFS_ROOT options SOFTUPDATES options UFS_DIRHASH Good luck, Nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message