Date: Tue, 29 Jan 2013 05:02:23 -0700 From: Ian Lepore <ian@FreeBSD.org> To: "Eggert, Lars" <lars@netapp.com> Cc: Craig Rodrigues <rodrigc@crodrigues.org>, "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org> Subject: Re: mounting root from NFS via ROOTDEVNAME Message-ID: <1359460943.93359.120.camel@revolution.hippie.lan> In-Reply-To: <D4D47BCFFE5A004F95D707546AC0D7E91F674CDE@SACEXCMBX01-PRD.hq.netapp.com> References: <D4D47BCFFE5A004F95D707546AC0D7E91F671642@SACEXCMBX01-PRD.hq.netapp.com> <CAG=rPVergKVKUO=VySvM65WPJO_Od1tkWvx45tM_sEyO65mwUg@mail.gmail.com> <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> <D4D47BCFFE5A004F95D707546AC0D7E91F674CDE@SACEXCMBX01-PRD.hq.netapp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2013-01-29 at 09:17 +0000, Eggert, Lars wrote: > On Jan 29, 2013, at 10:13, Lars Eggert <lars@netapp.com> > wrote: > > On Jan 29, 2013, at 9:34, Craig Rodrigues <rodrigc@crodrigues.org> wrote: > >> I recommend that you do not use ROOTDEVNAME, and instead > >> you should follow the instructions which I wrote and contributed to the > >> FreeBSD handbook: > >> > >> "PXE Booting with an NFS Root File System" > >> > >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-pxe-nfs.html > >> > >> The content of this document is the same as the text file which Rick > >> Macklem pointed out (I wrote that too). > > > > I had read both before, and they're very useful documents. Unfortunately, they don't fully apply to my case, since I'm not PXE-booting the system; it netboots the kernel from a custom loader. So once the kernel bootstraps, I need it to obtain an IP address and then NFS-mount root. > > (Whoops, hit send by mistake.) > > That's what I was trying to achieve with the BOOTP and BOOTP_WIRED_TO options. > > Hm, I wonder if I could simply use the custom loader to netboot tftpboot, and then follow your instructions... Will try. I think that's what I used to do before I switched to configuring the boot file and root path via dhcp as well. I could've sworn I used BOOTP without BOOTP_NFSROOT, but perhaps that's just my muddled memory of what I tried to do that never worked out. I also think all of this is a bug. It seems to me that BOOTP without BOOTP_NFSROOT should obtain ip-related info from dhcp but use ROOTDEVNAME as configured, perhaps with any dhcp-provided root path as a fallback if there's a problem or ROOTDEVNAME is unconfigured. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359460943.93359.120.camel>