Howto create FAT32 bootable USB device with gpart?

CyberLeo Kitsana cyberleo at cyberleo.net
Sat Aug 28 04:20:06 UTC 2010


On 08/26/2010 10:34 AM, Hartmann, O. wrote:
>  Trying to create a bootable USB device (memory stick) with gpart - and
> failed. I need those USB mem sticks for BIOS flashing purposes on an
> older main PCB, utilizing FreeDOS. The old BIOS is capable of booting
> off from USB mem sticks, since I booted and installed FreeBSD via this
> method. But the creation of a bootable FreeDOS USB mem stick failed.
> I have FreeBSD 9.0 as a mastering operating system and 8 GB sticks.
> These are the boundary conditions. Is there any way to perform this task
> with gpart?

Bootable FAT is sort of a strange thing. As such, I have written up a
few methods for producing FAT boot disks using either Win98 DOS and
DosBox or using FreeDOS and a perl script called 'sys-freedos.pl'.

http://wiki.cyberleo.net/wiki/KnowledgeBase/DOSBoot

It shouldn't be too difficult to use the instructions to produce a
bootable memstick; just keep in mind that you may have to slice it and
install an mbr, as so-called 'superfloppy' layout isn't always supported.

Hope this helps!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/


More information about the freebsd-questions mailing list