From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 13 17:40:07 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 549E9106566B for ; Thu, 13 Oct 2011 17:40:07 +0000 (UTC) (envelope-from michiel@boland.org) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id D9F8D8FC08 for ; Thu, 13 Oct 2011 17:40:06 +0000 (UTC) Received: from charlemagne.boland.org (59-36-215.ftth.xms.internl.net [82.215.36.59]) (authenticated bits=0) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id p9DHdYtb024036 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 13 Oct 2011 19:39:34 +0200 (CEST) (envelope-from michiel@boland.org) Message-ID: <4E972256.5010809@boland.org> Date: Thu, 13 Oct 2011 19:39:34 +0200 From: Michiel Boland User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.23) Gecko/20110930 Thunderbird/3.1.15 MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org References: <4E95E340.3060308@boland.org> <4E95E97F.9040304@freebsd.org> In-Reply-To: <4E95E97F.9040304@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: netbooting 9.0-beta3 with serial console 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: Thu, 13 Oct 2011 17:40:07 -0000 On 10/12/2011 21:24, Nathan Whitehorn wrote: > On 10/12/11 13:58, Michiel Boland wrote: >> Hi. How do I install 9.0-BETA3 on sparc64 via netbooting and a serial >> console? [...] > It looks like rc.diskless has failed you here, and somewhat broken devfs, so > there's likely a bug there which should be looked into. If you just want to test > the installer, you can make a netboot environment by doing: > > mkdir /path/to/nfs/export > cd /path/to/nfs/export > tar xvzf /cdrom/usr/freebsd-dist/*.txz > cp /cdrom/etc/rc.local etc > > and then booting from there, which will be read-write. I'll try to find out what > goes wrong when FreeBSD netboots from read-only media. What happens is that /etc/rc.d/root fails because it cannot do 'mount -uw /' Then further down in the boot process, /etc/rc.d/mountcritlocal fails because it cannot find /dev/iso9660/FreeBSD_Install I worked around this by doing two things: add root_rw_mount="NO" to /etc/rc.conf and truncate /etc/fstab Netbooting then continues into the installer. Cheers Michiel