From owner-freebsd-fs@FreeBSD.ORG Wed Jun 2 07:55:49 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BE0B1065673 for ; Wed, 2 Jun 2010 07:55:49 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.freebsd.org (Postfix) with ESMTP id DA42A8FC1D for ; Wed, 2 Jun 2010 07:55:47 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c211-30-160-13.mirnd2.nsw.optusnet.com.au [211.30.160.13] (may be forged)) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o527thQ7022652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jun 2010 17:55:45 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o527tegT041814; Wed, 2 Jun 2010 17:55:40 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o527tdM9041813; Wed, 2 Jun 2010 17:55:39 +1000 (EST) (envelope-from peter) Date: Wed, 2 Jun 2010 17:55:39 +1000 From: Peter Jeremy To: Pierre Lamy Message-ID: <20100602075539.GA41763@server.vk2pj.dyndns.org> References: <4C0302A8.2000702@userid.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <4C0302A8.2000702@userid.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-fs Subject: Re: Trying to understand the boot process X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 07:55:49 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-May-30 20:28:24 -0400, Pierre Lamy wrote: >and extracted correctly to the appropriate local HD filesystem) but I=20 >can't figure out how to actually get it booted, it seems to be missing=20 >the MBR? > >I have already RTFM, and used bsdlabel -B ad4s1, and also tried fdisk=20 >-B. I simply get the "Reboot and select proper boot device or insert=20 >boot media..." message. > >Does anyone have any suggestions? Does 'boot0cfg -s 1 ad4' help? >My second question is how to label the boot options so that 1 says=20 >NanoBSD, 3 doesn't show up at all, and 5 days FreeBSD. Unfortunately, you can't. The 1..4 labels are based on the filesystem ID stored in the slice table and both NanoBSD and FreeBSD use 165. The MBR is limited to 512 bytes and there isn't space for many smarts. --=20 Peter Jeremy --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwGDnsACgkQ/opHv/APuIe7iQCfYW0sc8bbGghGBdfOwns7L6J0 9LIAoIF2rMPyGg7KwwGYQMuQHSLaZVE/ =yW/f -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--