Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2004 08:34:55 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        "JT" <jtfbsd@jt.net.au>, <freebsd-current@freebsd.org>
Subject:   Re: USB Key Disk Boot 
Message-ID:  <6.1.2.0.0.20041031082359.05aed0e0@64.7.153.2>
In-Reply-To: <008f01c4bf0f$89a58fc0$070a0a0a@JTUFFIN>
References:  <008f01c4bf0f$89a58fc0$070a0a0a@JTUFFIN>

next in thread | previous in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.2.0.0.20041031082359.05aed0e0>