From owner-freebsd-questions Thu Nov 14 8:18:49 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 1AE1E37B401 for ; Thu, 14 Nov 2002 08:18:46 -0800 (PST) Received: from haha.debank.tv (c92069.upc-c.chello.nl [212.187.92.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55D4743E3B for ; Thu, 14 Nov 2002 08:18:44 -0800 (PST) (envelope-from rob@debank.tv) Received: from debank.tv (X-server.debank.tv [192.168.1.69]) by haha.debank.tv (8.12.6/8.12.6) with ESMTP id gAEGIf18022453; Thu, 14 Nov 2002 17:18:42 +0100 (CET) (envelope-from rob@debank.tv) Message-ID: <3DD3CCE1.5080900@debank.tv> Date: Thu, 14 Nov 2002 17:18:41 +0100 From: Rob Evers User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joao Pedras Cc: freebsd-questions@freebsd.org Subject: Re: advice on fine tuning diskless boot References: <1037146648.3dd19a183ee31@mail.webvolution.net> <3DD3AC53.10805@debank.tv> <1037289077.3dd3c675e6a72@mail.webvolution.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 No it's not your kernel talking there it's the init script already, try putting the fstab file in: ${diskless_root}/conf/defaults/etc/ I have no fstab in ${diskless_root}/conf/base/etc or in ${diskless_root}/conf/etc Good luck Rob Joao Pedras wrote: >Greetings Rob, > >here's my /etc/fstab. This initially resides in /conf before clone_root copies >it to /diskless_root/conf. > >192.168.200.3:/usr /usr nfs ro 0 0 >proc /proc procfs rw 0 0 > >I grep'ed all the files and checked the cpio's that clonet_root creates and >there is no reference of /dev/ad0s1a. I am assuming that it is the kernel that >tries to mount this by default. > >In fact this message is spit out by the kernel. > >Please cc: future replies to me as I am not subscribed to this list. > >Thanks for you help. > >Joao > >Quoting User Rob : > > > >>Looks to me your rc.diskless script is usig the fstab you created in >>making the root file system >>look in man diskless for /conf/default/etc/fstab >>I think you'll find what you need there. >> >> >> >>Rob >> >> 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 >>> >>>To Unsubscribe: send mail to majordomo@FreeBSD.org >>>with "unsubscribe freebsd-questions" in the body of the message >>> >>> >>> >>> >>> >> >> >> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message