LiveUSB

How would I make a LiveUSB image so I could boot FreeBSD from a USB thumbdrive and remove the thumbdrive once it is loaded?

Unionfs is not stable, so I don't want to use that and risk data loss.

On Linux, I would traditionally, make a custom init to:
1. mount root image
2. create tmpfs mount
3. copy root image contents to tmpfs volume
4. unmount root image
5. remove thumbdrive

FreeBSD supports tmpfs, so that part is easy, but the part I'm not getting is modifying the boot process. Where is the init and how would I specify one at boot time?
 
Back
Top