From owner-freebsd-sparc64@FreeBSD.ORG Wed Jul 27 05:15:05 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE02916A41F for ; Wed, 27 Jul 2005 05:15:05 +0000 (GMT) (envelope-from alm@sirius.net.au) Received: from hobbit.sirius.net.au (hobbit.sirius.net.au [203.142.254.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1B4E43D45 for ; Wed, 27 Jul 2005 05:15:04 +0000 (GMT) (envelope-from alm@sirius.net.au) Received: from sirius.net.au (localhost [127.0.0.1]) by hobbit.sirius.net.au (8.11.7p1+Sun/8.11.7) with ESMTP id j6R5Fhj17277 for ; Wed, 27 Jul 2005 15:15:43 +1000 (EST) Message-Id: <200507270515.j6R5Fhj17277@hobbit.sirius.net.au> X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC3 To: freebsd-sparc64@freebsd.org In-reply-to: <42E7119B.5010101@alaska.net> References: <20050726120052.7EFAE16A41F@hub.freebsd.org> <42E7119B.5010101@alaska.net> Comments: In-reply-to Royce Williams message dated "Tue, 26 Jul 2005 20:46:19 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 Jul 2005 15:15:43 +1000 From: alm@sirius.net.au Subject: Re: 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, 27 Jul 2005 05:15:05 -0000 > From owner-freebsd-sparc64@freebsd.org Wed Jul 27 14:48:43 2005 > > Miles Nordin wrote, On 7/26/2005 4:00 AM: > > > Is there a way to netboot FreeBSD/sparc64? > > Alongside what Kris said, I also found this article helpful: > > http://ezine.daemonnews.org/200301/sparc64-nfsroot.html While that document (plus diskless(8), and the one on people.freebsd.org) where helpful in getting started, I found that they didn't work quite as expected. I also didn't see why one has to boot off a working FreeBSD install just to install a system. On OpenBSD, you only need a copy of the installation media .. I think that's the same on NetBSD as well. Anyway, on a Netra, here's my notes ... I'm pretty sure they're right.. -Get the miniinst FreeBSD ISO 5.3-RELEASE-sparc64-miniinst.iso -Mount the iso to /mnt via a loopback on the NFS/TFTP server On Solaris: lofiadm -a /export/home/alm/5.3-RELEASE-sparc64-miniinst.iso /dev/lofi/1 mount -F hsfs -o ro /dev/lofi/1 /mnt On Linux: mount -o loop -t iso9660 \ /tmp/freebsd/5.3-RELEASE-sparc64-miniinst.iso /mnt -Put loader in /tftpboot directory cp -R /mnt/boot/ /tftpboot -Uncompress mfsroot gunzip /tftpboot/boot/mfsroot -Share out out ISO via NFS share -o ro /mnt -Configure a static DHCP lease for it: host netboot { hardware ethernet ; option host-name "" ; fixed-address ; always-reply-rfc1048 on; filename "/boot/loader"; next-server ; option root-path ":/mnt" ; } -Start dhcpd3 and tftp as needed -On the Netra console (via a vt100 terminal), boot off the network boot net:dhcp -And install as needed (EG: From FTP, NFS, etc etc). One thing that I needed to do also, was to make sure I had my terminal setup as vt100 .. sysinstall didn't like the default one I was using. So, play around with that if you're having issues with the actual installation .. Cheers, -Andrew.