From owner-freebsd-current@FreeBSD.ORG Sun Oct 31 13:28:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E8B16A4D5 for ; Sun, 31 Oct 2004 13:28:13 +0000 (GMT) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FFAC43D3F for ; Sun, 31 Oct 2004 13:28:13 +0000 (GMT) (envelope-from mike@sentex.net) Received: from localhost (localhost.sentex.ca [127.0.0.1]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id i9VDSC8f075724; Sun, 31 Oct 2004 08:28:12 -0500 (EST) (envelope-from mike@sentex.net) Received: from avscan1.sentex.ca ([127.0.0.1]) by localhost (avscan1.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 75337-03; Sun, 31 Oct 2004 08:28:12 -0500 (EST) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id i9VDSCi0075709; Sun, 31 Oct 2004 08:28:12 -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 i9VDS3tA091565; Sun, 31 Oct 2004 08:28:03 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.1.2.0.0.20041031082359.05aed0e0@64.7.153.2> X-Sender: mdtpop@64.7.153.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Sun, 31 Oct 2004 08:34:55 -0500 To: "JT" , From: Mike Tancsa In-Reply-To: <008f01c4bf0f$89a58fc0$070a0a0a@JTUFFIN> References: <008f01c4bf0f$89a58fc0$070a0a0a@JTUFFIN> 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 avscan1b Subject: Re: USB Key Disk Boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 13:28:13 -0000 At 01:04 AM 31/10/2004, JT wrote: >Hi > >Has anyone already developed or had experience with getting FreeBSD to run >off a USB key disk? Yes, I have been playing around with NANOBSD (/usr/src/tools/tools/nanobsd) on a Lexar Jump drive. Dont use USB 2.0 as it seems broken with this unit Change the Makefile to use DEVICE?= da0 and make.conf, you need to add NO_BIND=yes Do a make and then dd if=_.i of=/dev/da0 bs=64k where da0 is your USB key drive And you should be good to go. One thing I have not figured out is how to change programatically what the default is to boot. If I physically go to the console and hit F1 or F2, the next time it will change the default. But I dont know how to do that without physical access to the keyboard. I think I am just misunderstanding boot0cfg. ---Mike