From owner-freebsd-questions@FreeBSD.ORG Mon Nov 29 21:05:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12D5216A551 for ; Mon, 29 Nov 2004 21:05:16 +0000 (GMT) Received: from avscan2.sentex.ca (avscan2.sentex.ca [199.212.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60A6743D58 for ; Mon, 29 Nov 2004 21:05:14 +0000 (GMT) (envelope-from mike@sentex.net) Received: from localhost (localhost.sentex.ca [127.0.0.1]) by avscan2.sentex.ca (8.12.11/8.12.11) with ESMTP id iATL5Ekp023872 for ; Mon, 29 Nov 2004 16:05:14 -0500 (EST) (envelope-from mike@sentex.net) Received: from avscan2.sentex.ca ([127.0.0.1]) by localhost (avscan2.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23738-02 for ; Mon, 29 Nov 2004 16:05:14 -0500 (EST) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan2.sentex.ca (8.12.11/8.12.11) with ESMTP id iATL5EEI023837 for ; Mon, 29 Nov 2004 16:05:14 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id iATL56Es094089 for ; Mon, 29 Nov 2004 16:05:06 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.0.14.0.20041129155640.06ebca38@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Mon, 29 Nov 2004 16:03:29 -0500 To: freebsd-questions@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at avscan2b Subject: controlling the default boot drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 21:05:16 -0000 I have been experimenting with booting from a USB key vs the HD. If I sit on the console, and hit F1, the next time the machine boots, F1 will be the default. If I hit F5, the next time it will be F5 (the USB key drive in this case). How can I do this from the shell on a RELENG_5 box. e.g. I boot from HD (F1) I want to then without having to sit on the console, make it boot from USB drive, as if I hit F5. Is this boot0cfg ? If so, I cant seem to get it to work. Thanks, ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike