Date: Tue, 12 Nov 2002 16:47:04 -0800 From: Nathan Kinkade <nkinkade@dsl-only.net> To: freebsd-questions@freebsd.org Subject: Re: advice on fine tuning diskless boot Message-ID: <20021113004704.GV72253@sub21-156.member.dsl-only.net> In-Reply-To: <1037146648.3dd19a183ee31@mail.webvolution.net> References: <1037146648.3dd19a183ee31@mail.webvolution.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021113004704.GV72253>