From owner-freebsd-questions@FreeBSD.ORG Sun May 13 08:21:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4AAC916A403 for ; Sun, 13 May 2007 08:21:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id B6BD013C484 for ; Sun, 13 May 2007 08:21:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.1/8.14.1) with ESMTP id l4D8LYPc029766; Sun, 13 May 2007 09:21:35 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=permerror; spf=permerror X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk l4D8LYPc029766 Message-ID: <4646CA8E.9040208@infracaninophile.co.uk> Date: Sun, 13 May 2007 09:21:34 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Sam Lawrance References: <46458C63.8040600@landgren.net> <46459E20.5060108@infracaninophile.co.uk> <86C5378E-69FE-4A9F-9C77-C7970E42481F@brooknet.com.au> <4646C922.7040902@infracaninophile.co.uk> <9979A1FD-F329-4C64-B5D2-66399F731E87@brooknet.com.au> In-Reply-To: <9979A1FD-F329-4C64-B5D2-66399F731E87@brooknet.com.au> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 13 May 2007 09:21:45 +0100 (BST) X-Virus-Scanned: ClamAV 0.90.2/3235/Sun May 13 07:12:17 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, DK_POLICY_SIGNSOME,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Skipping "F1 FreeBSD" prompt on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 08:21:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sam Lawrance wrote: > > On 13/05/2007, at 6:15 PM, Matthew Seaman wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Sam Lawrance wrote: >>> >>> On 12/05/2007, at 8:59 PM, Matthew Seaman wrote: >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA256 >>>> >>>> David Landgren wrote: >>>> >>>>> I have a disk that has only FreeBSD on it, and so I would like to skip >>>>> the initial F1/FreeBSD prompt. boot0cfg -v ad0 says: >>>>> >>>>> options=nopacket,update,nosetdrv >>>>> default_selection=F1 (Slice 1) >>>>> >>>>> ... what do I have to do to say JFDI instead of prompting? This is not >>>>> the sort of thing I want to fiddle around experimenting, so a little >>>>> guidance would be most appreciated. >>>> >>>> fdisk -B -b /boot/mbr /dev/ad0 >>>> >>>> You installed the FreeBSD boot sector stuff, which gives you the 'press >>>> F1' business. Replace that with the standard mbr, which just boots >>>> straight up. >>>> >>> >>> Rather than replacing it, you can use boot0cfg to set a really short >>> timeout instead; in case you might want that functionality one day. >> >> Heh. It's not like you only get one chance to rewrite the boot blocks >> on any particular drive. If anyone needs to (re-)install the FreeBSD >> boot >> blocks, then you can do very simply it by: >> >> boot0cfg -B -b /boot/boot0 /dev/ad0 >> >> or even >> >> fdisk -B -b /boot/boot0 /dev/ad0 >> >> Or if you need to boot from a serial console you can change /boot/boot0 >> to /boot/boot0sio > > Sure, but why get rid of it, when leaving it in with a short timeout > costs you nothing. > Why leave it in when it costs you nothing to change it? - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGRsqO8Mjk52CukIwRCLtFAJ9sChy5dsJQZKKKBmmioyRcE/KJZQCfbYFG +yRVhRP6He9cnY7DqOf9RUw= =L15q -----END PGP SIGNATURE-----