Bootable floppy in Mac

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
‹^› â
Posts: 4
Joined: Tue Aug 07, 2007 5:36 pm

Bootable floppy in Mac

Post by ‹^› ⠻

How can I make a virtual floppy image and copy my bootloader in the first sector in Mac?
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

dd, perhaps.
C8H10N4O2 | #446691 | Trust the nodes.
‹^› â
Posts: 4
Joined: Tue Aug 07, 2007 5:36 pm

Post by ‹^› ⠻

What's dd?
‹^› â
Posts: 4
Joined: Tue Aug 07, 2007 5:36 pm

Post 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
sancho1980
Member
Member
Posts: 199
Joined: Fri Jul 13, 2007 6:37 am
Location: Stuttgart/Germany
Contact:

Post 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
Post Reply