From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 11 22:11:04 2006 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 228D316A41F for ; Wed, 11 Jan 2006 22:11:04 +0000 (GMT) (envelope-from njriley@shrug.csl.uiuc.edu) Received: from shrug.csl.uiuc.edu (shrug.csl.uiuc.edu [130.126.137.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7859043D45 for ; Wed, 11 Jan 2006 22:11:03 +0000 (GMT) (envelope-from njriley@shrug.csl.uiuc.edu) Received: from shrug.csl.uiuc.edu (njriley@localhost [127.0.0.1]) by shrug.csl.uiuc.edu (8.13.4/8.13.4) with ESMTP id k0BMAwFt022331; Wed, 11 Jan 2006 16:10:58 -0600 (CST) (envelope-from njriley@shrug.csl.uiuc.edu) Received: (from njriley@localhost) by shrug.csl.uiuc.edu (8.13.4/8.12.11/Submit) id k0BMAvoe022330; Wed, 11 Jan 2006 16:10:57 -0600 (CST) (envelope-from njriley) Date: Wed, 11 Jan 2006 16:10:57 -0600 From: Nicholas Riley To: Marius Strobl Message-ID: <20060111221057.GA19242@uiuc.edu> References: <20060103013246.GB34161@uiuc.edu> <20060111170403.B42977@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060111170403.B42977@newtrinity.zeist.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-sparc64@freebsd.org Subject: Re: NFS install writability on Netra t1 105 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, 11 Jan 2006 22:11:04 -0000 On Wed, Jan 11, 2006 at 05:04:03PM +0100, Marius Strobl wrote: > Sysinstall(8) doesn't work for installing FreeBSD on a hard disk > when it's not used in place of init(8). AFAIK that's a MI "feature" > of sysinstall(8). I'm not sure whether it'll work if you copy > /stand/sysinstall to /sbin/init in the NFS-root. Aha, that's how sysinstall is supposed to work. I was able to get the installer to boot by replacing init with sysinstall (guess I could probably have set init_path in the loader too), and it got to the point of newfs'ing, but failed trying to get the network configured. It first complained it couldn't write to /etc/resolv.conf; when I made the NFS root writable, it said "unable to configure the hme0 interface!". From looking at the sysinstall source, this appears to be because ifconfig failed, but I can't see the ifconfig output and don't know what broke. The emergency holographic shell doesn't work, and I couldn't find another way to get a shell when booted this way. So, next I tried to install directly from the NFS root as a "local" filesystem. This time it complained it couldn't create /etc/fstab... on to the next option. > What should work for doing a netbooted install however is either > extract the El Torito boot image from the ISO image and netboot the > former or netboot your existing setup, label the hard disk using > sunlabel(8), write the miniroot.ufs from the FTP install bits to the > swap-partition of the hard disk using dd(1) and then boot the > machine from the swap-partition. I labeled the disk as I plan to have it installed, and dd'ed miniroot.ufs onto /dev/da0b. I needed to use sunlabel -B /dev/da0b to get a boot block on that partition. It booted, and I tried a NFS install, but it panicked: 37168128 bytes read from base dist, chunk 27 of 41 @ 1238.9 KBytes/sec. anic: trap: fast instruction access mmu miss I tried again with a FTP install, and it worked perfectly. Thanks very much for the help. It would really be good if this stuff were documented somewhere. :-) -- Nicholas Riley |