Page 1 of 1

Bootable floppy in Mac

Posted: Tue Aug 07, 2007 7:45 pm
by ‹^› â
How can I make a virtual floppy image and copy my bootloader in the first sector in Mac?

Posted: Tue Aug 07, 2007 7:51 pm
by Alboin
dd, perhaps.

Posted: Tue Aug 07, 2007 7:58 pm
by ‹^› â
What's dd?

Posted: Tue Aug 07, 2007 8:07 pm
by ‹^› â
DD is not available for Mac. The only thing I want to do is make a bootable floppy image or a bootable disk image. Not even that, I just want to test my bootloader.

Edit: Sorry I found out that I do have dd

Posted: Wed Aug 08, 2007 2:14 am
by sancho1980
You should create an empty file with the exact size of sectors that your real floppy would have, i.e. the file size should be:

sectors_on_disk * sectorsize

then you copy you 512 byte-boot sector right at the start of this file and then you can use this file as a virtual floppy

with dd you can do just that