2 ms·
You could borrow bximage from Bochs too to generate them easily :D. Or in a Unix platform, with just dd and vnconfig under OpenBSD or kpartx under Linux.
by anthk 7y ago
You could borrow bximage from Bochs too to generate them easily :D.
Or in a Unix platform, with just dd and vnconfig under OpenBSD or kpartx under Linux.
>dd if=/dev/zero of=a.img bs=1440k count=1
>vnconfig vnd0 a.img
>newfs_msdos -F 12 /dev/rvnd0c
>vnconfig -u vnd0
>file a.img
a.img: x86 boot sector
That's under OpenBSD, under Linux is similar.
- badsectoracula 7y agoAs far as i can tell bximage can only create empty images, which isn't what i was after (86box, the fork of PCem i am using, has a command to generate empty images too). What i wrote about was creating floppy image files with files inside them. Also i'm using Windows and wanted a GUI tool.