install on a usb stick

I´m trying to install FreeBSD 7.1 on a usb stick from sysinstall. It show up as da0 and I can go through the whole process downloading from ftp and installing on it. But when I try to boot from it, it can´t find any kernel and just gives me a prompt for entering command.

Have I missed something here, do I need to prepare the usb stick somehow before installation?
 
DemoDoG said:
I´m trying to install FreeBSD 7.1 on a usb stick from sysinstall. It show up as da0 and I can go through the whole process downloading from ftp and installing on it. But when I try to boot from it, it can´t find any kernel and just gives me a prompt for entering command.

Have I missed something here, do I need to prepare the usb stick somehow before installation?

Oh yes:). You do have to prepare USB stick. To give you a head start USB stick is more or less the same thing as bootable floppy.
You can find how to by Googleing.
 
Trying this now and installing it again.


fdisk -BI /dev/ad0
bsdlabel -Brw /dev/ad0s1
bsdlabel -e /dev/ad0s1

You just want to add an a: listing
before it, and give it the same values that the c: entry has, except
change "unused" to "4.2BSD". Save and exit.

Now you need to give it a filesystem:

newfs /dev/ad0s1
 
use sysinstall go to fsisk and make partitions make one active
press W to write them to disk, exit sysinstall

create labels with bsdlabel as i suggest in FreeBSD + Geli (in guides)

after that use newfs
when done make usb image on HDD with dd
attach image with mdconfig and mount it
then fallow this guide to install basic system:
http://daemonforums.org/showthread.php?t=1538
if you can't can't set env variable as in article, run sh as root and then set it

i have no time atm to explain more verbosly, but steps are covered....
I have done this few times
 
Back
Top