From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 17:16:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 114D616A420 for ; Wed, 7 Dec 2005 17:16:18 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEEDA43D5A for ; Wed, 7 Dec 2005 17:16:16 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.24.8.84] (generic.ATOSORIGIN.ES [212.170.156.200]) by strange.daemonsecurity.com (Postfix) with ESMTP id 65E532E041; Wed, 7 Dec 2005 18:14:16 +0100 (CET) Message-ID: <439718D8.10704@locolomo.org> Date: Wed, 07 Dec 2005 18:16:08 +0100 From: Erik Norgaard User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christopher McGee References: <43971551.30306@xecu.net> In-Reply-To: <43971551.30306@xecu.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Pxeboot for nfs installation woes. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 17:16:18 -0000 Christopher McGee wrote: > Hi all, I have a lot of servers on order, so I want to be able to just > network boot them as a jumpstart into the installation (which will then > be scripted). I am most of the way there. I have tested my NFS shares > and if I boot a boxe off a cd, I can do the nfs installation without > fail. I have setup pxeboot, and if I am far enough along that when I > boot off the network, it tftp's the files it needs, boots through menus, > loads the generic kernel, mounts an nfs root, then errors. The errors > are "exec /sbin/init: error 70". One error for each attempt at an init > file. Then it gives me an "init: not found in path > /sbin/init:/sbin/oinit......" Then it panics and reboots. There is so > much I've done, I'm not sure what specifics anyone might need to offer > some assistance. 1st: I have done it but with ftp install rather than nfs, see here: http://www.daemonsecurity.com/pxe/ I used no cd's to bootstrap or anything. 2nd: One of the first things done in the bootstrapping is to load the loader.conf, in this you can override any settings of paths to the init program. For installation usually sysinstall is used, which can be scripted - I assume you are refering to this? - you can set the path with an option in loader.conf, for example: init_path="/stand/sysinstall" The option may contain a colon separated list of files and they are checked in order, the first found is run. Check the path to your init or sysinstall on the nfs-client. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9