Howto: Prepare USB key with FreeDOS using FreeBSD

Tijl Coosemans tijl at ulyssis.org
Sat Oct 13 07:40:31 PDT 2007


If the BIOS can boot from USB it's as easy as using dd.

dd if=freedos-floppy.img of=/dev/daX
mount -t msdosfs /dev/daX /mnt
(Add extra files. You only have about 1.5Mb though.)
(Reboot with USB key plugged. You may have to alter the boot device
 ordering in the BIOS first.)

Afterwards you can restore the USB key to its full capacity using
fdisk(8) and newfs(8) or newfs_msdos(8).


More information about the freebsd-questions mailing list