In this example, a FreeBSD bootable USB memory stick will be prepared, so it can be used to boot a computer and install FreeBSD on it.
Download image from FreeBSD FTP mirror.
Download the bootable memory stick image from a local FreeBSD FTP mirror. In this example, the computer is based on 64 bit Intel architecture, so the amd64 architecture is the right one. This image can be written to a USB memory stick, also known as a flash drive or USB storage medium, and used to do an install FreeBSD on computers, that can boot from USB. This image also supports booting into a rescue mode. This image does not include pre-built packages.
FreeBSD/releases/amd64/amd64/ISO-IMAGES/13.2/FreeBSD-13.2-RELEASE-amd64-memstick.img
Write image to USB memory stick.
Insert the USB memory stick, that will be used to store the bootable FreeBSD image. Identify the assigned device name. This will be used for writing to it. In this example, the device name is da0.
# dmesg da0: <Kingston DataTraveler 1337 1.00> Removable Direct Access SCSI-2 device
Write the bootable image to the USB memory stick.
# dd if=FreeBSD-13.2-RELEASE-amd64-memstick.img of=/dev/da0 bs=1m conv=sync 1222+0 records in 1222+0 records out 1281359872 bytes transferred in 133.713926 secs (7967966 bytes/sec)
The USB memory stick can now be pulled out and used to boot any computer, that can boot from USB.