From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 19 21:49:48 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04B2A10656A8 for ; Wed, 19 Jan 2011 21:49:48 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 828518FC12 for ; Wed, 19 Jan 2011 21:49:47 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p0JLnk3e089597; Wed, 19 Jan 2011 22:49:46 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p0JLnkwX089596; Wed, 19 Jan 2011 22:49:46 +0100 (CET) (envelope-from marius) Date: Wed, 19 Jan 2011 22:49:46 +0100 From: Marius Strobl To: Joel Heikkila Message-ID: <20110119214946.GA89307@alchemy.franken.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: install via miniroot? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2011 21:49:48 -0000 On Wed, Jan 19, 2011 at 01:29:32AM -0500, Joel Heikkila wrote: > Hello all, > > I recently got a nice older Ultrasparc machine and I'm interested in > putting FreeBSD on it. It doesn't have a CD-ROM drive. > > I've tried every configuration imaginable to me but I've been unable > to get the "standard" netboot approach (tftp the loader, then load > kernel via NFS) to get past the NFS stage with FreeBSD. I managed to > get Debian installed on it because Debian includes the kernel and a > small root on the tftp install image. I then used a NetBSD miniroot > image which let me install NetBSD successfully. > > So I'd like to know, is there a miniroot (an image dd'd over an > existing partition to bootstrap an install) or similar way to install > FreeBSD from a working Debian or NetBSD install? How would I go about > that? I notice a miniroot.ufs.gz file in the release/miniroot > directory, but when gunzip'd then dd'd over either the entire drive or > a swap partition, Openboot objects, claiming it is not a valid > executable. > That's what miniroot.ufs.gz is intended for and what definitely worked in the past but apparently got broken at some point in time due to some (tool) change without being noticed at it is seldom used. The transition from GEOM_SUNLABEL to GEOM_PART_VTOC8 for example would be a candidate for that. If you want to look into this checking whether the boot code still ends up in that image generally probably would be a good start. Marius