I don't mean installing from a USB stick. But installing the OS to a USB stick.
Thanks. ☺
Ps. I've searched but nothing rally useful came up,
Thanks. ☺
Ps. I've searched but nothing rally useful came up,
wblock@ said:A USB stick is seen as just another drive. Boot the FreeBSD installer and select the USB stick as the target.
# glabel
.# gpart create -s MBR da0
# gpart add -t freebsd da0
# gpart create -s BSD da0s1
# gpart add -b 16 -t freebsd da0s1
# gpart -a active -i 0 da0
# gpart bootcode -b /boot/mbr da0
# gpart bootcode -b /boot/boot da0s1
# newfs -j -L myroot /dev/da0s1a
# mount /dev/ufs/myroot /mnt
# gpart set -a active -i 1 da0
# gpart create -s gpt da0
# gpart add -t freebsd-boot -l myboot -s 512k da0
# gpart add -t freebsd-ufs -l myrootfs -s 20g da0
# gpart add -t freebsd-swap -l myswap -s 256M da0
# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0