From owner-freebsd-current@FreeBSD.ORG Tue Jan 29 09:17:26 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7D70ABDE for ; Tue, 29 Jan 2013 09:17:26 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4A8379 for ; Tue, 29 Jan 2013 09:17:26 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.84,559,1355126400"; d="scan'208";a="13448474" Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx12-out.netapp.com with ESMTP; 29 Jan 2013 01:17:26 -0800 Received: from vmwexceht05-prd.hq.netapp.com (vmwexceht05-prd.hq.netapp.com [10.106.77.35]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r0T9HPe1005473; Tue, 29 Jan 2013 01:17:25 -0800 (PST) Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.51]) by vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) with mapi id 14.02.0328.009; Tue, 29 Jan 2013 01:17:25 -0800 From: "Eggert, Lars" To: Craig Rodrigues Subject: Re: mounting root from NFS via ROOTDEVNAME Thread-Topic: mounting root from NFS via ROOTDEVNAME Thread-Index: AQHN/WoQ3bLz4fhIpUOOqbDPPwYM3A== Date: Tue, 29 Jan 2013 09:17:24 +0000 Message-ID: References: <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> In-Reply-To: <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: text/plain; charset="iso-8859-1" Content-ID: <6F877B7DBE173D4E8DF5E47FD92AA528@tahoe.netapp.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 09:17:26 -0000 On Jan 29, 2013, at 10:13, Lars Eggert wrote: > On Jan 29, 2013, at 9:34, Craig Rodrigues 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: >>=20 >> "PXE Booting with an NFS Root File System" >>=20 >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-pxe-nf= s.html >>=20 >> The content of this document is the same as the text file which Rick >> Macklem pointed out (I wrote that too). >=20 > 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; i= t 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 optio= ns. Hm, I wonder if I could simply use the custom loader to netboot tftpboot, a= nd then follow your instructions... Will try. >> BTW, if you ever visit the Netapp campus in Sunnyvale, California, feel >> free to say hello, because I work around the corner from there. :) Am there about once a month, will do :-) Lars