From owner-freebsd-current@FreeBSD.ORG Thu Feb 28 20:52:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C5141065684; Thu, 28 Feb 2008 20:52:13 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mx2.itu.dk (unknown [130.226.142.29]) by mx1.freebsd.org (Postfix) with ESMTP id D99E08FC2F; Thu, 28 Feb 2008 20:52:12 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from wimac.littlebit.dk (unknown [85.233.238.191]) by mx2.itu.dk (Postfix) with ESMTP id 8A6A7F48072; Thu, 28 Feb 2008 21:52:11 +0100 (CET) Message-ID: <47C71EC1.3010500@cederstrand.dk> Date: Thu, 28 Feb 2008 21:51:13 +0100 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Tim Clewlow References: <114098.31819.qm@web50308.mail.re2.yahoo.com> In-Reply-To: <114098.31819.qm@web50308.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: PXE on 7.0 problem and solution X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 28 Feb 2008 20:52:13 -0000 Tim Clewlow wrote: > Hi there, > > Installing 7.0 via PXE has a slight problem that is easily worked around. The > file /boot/mfsroot.gz on the installation media needs to be unzipped to make > PXE boot via tftp/nfs work. Otherwise the loader ultimately complains that it > cant find the device to boot from. For example, if you have the installation > media living at /usr/pxe/nfs/ on the PXE server, then do: > > gzip -d /usr/pxe/nfs/boot/mfsroot.gz > > After doing this it now loads the kernel and starts the installation procedure > as expected. Someone more knowledgeable than me might want to let whoever needs > to know about this. > > Apart from that, it looks great, the work is appreciated, thanks for the new > release :-) I've had problems with other files fetched over NFS in the past. In theory (at least that's what a tcpdump says), it should be possible to provide all files gzipped, and even split the files in smaller chunks. Files are tried in this order: boot/loader.rc.split boot/loader.rc.gz.split boot/loader.rc.gz boot/loader.rc However, I only got the plain files to work reliably. Erik