From owner-freebsd-questions@FreeBSD.ORG Wed Apr 5 20:59:14 2006 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 9679716A426 for ; Wed, 5 Apr 2006 20:59:14 +0000 (UTC) (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 C7A5143D49 for ; Wed, 5 Apr 2006 20:59:13 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.16.2.1] (charm.daemonsecurity.com [172.16.2.1]) by strange.daemonsecurity.com (Postfix) with ESMTP id 386422E04B; Wed, 5 Apr 2006 22:59:21 +0200 (CEST) Message-ID: <44342F95.5080609@locolomo.org> Date: Wed, 05 Apr 2006 22:59:01 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Thunderbird 1.5 (X11/20060312) MIME-Version: 1.0 To: Chris References: <6794bd9e0604051245s7cd84347rc3e9c30431f7011@mail.gmail.com> In-Reply-To: <6794bd9e0604051245s7cd84347rc3e9c30431f7011@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PXEboot install failing to load kernel 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, 05 Apr 2006 20:59:14 -0000 Chris wrote: > I am trying to perform a netboot install of FreeBSD 6 to a Thinkpad > X40 laptop from linux on my desktop. I've followed what guides I can > but the info is either for older versions of FreeBSD (the CD structure > has changed?) or assumes an existing FreeBSD install to work from (for > dissecting floppy images etc). The assumption that you have some other existing FreeBSD installation makes certain things easier: In particular compiling the loader with tftp support, posibly creating a custom kernel and a memory file system. If you can get hold of these from download, then you should be fine. > I have downloaded the i386 bootonly iso and I have followed portions > of several guides which has got me as far as tftp serving the pxeboot. > I assume the dhcp and tftp parts are working ok as the laptop gets > hold of pxeboot fine but then fails to load the kernel. pxeboot can either attempt to fetch the kernel with tftp or nfs, (the standard pxeboot does not support tftp). If it doesn't get the kernel then either there is a misconfiguration so it doesn't fetch it correctly with tftp or the nfs server is incorrectly setup. You should post the relevant part of your dhcpd.conf. > I have tried nfs serving the boot directory of the cd and the kernel > directory within that without any luck, is the kernel passed by tftp > or nfs? I have tried tailing var/log/daemons but the failure to load > kernel message on the laptop is the only useful indicator I get. I would recommend to go without nfs: You can have pxeboot fetch kernel, and the loader.* files as well as a memory filesystem using tftp. It's easier to setup the server part, you have to setup tftp anyway and already have it working, going for nfs just introduces an extra source for errors. I wrote down what I did when I tried to setup pxeboot, , you may have found it - and yes, I do assume that you have a working FreeBSD for some parts, but read on, it may not be relevant for you. Check out www.daemonsecurity.com/pxe/ I want to update this so let me know if there are any errors or things that could be better explained. 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