Creating a bootable image...
Posted: Tue Jul 25, 2006 3:53 am
I wrote my FAT12 bootsector and want to test it but found out that my SuSE Linux, for some reason, doesn't acknowlege my external USB floppy drive (I hope its not because I put an Apple sitcker on it ), so I decided to make a floppy image with bximage and use fdisk to format it w/ FAT12.
80 clusters
18 sectors per track.
so I can run it with bochs. But now I can't seem to write my FAT12 boot sector to the image. I can't mount it; used wine and ran PARTCOPY but that didn't work either.
Finally I used dd as follows:
And checked it with fdisk
it didn't show the partition table so I'm starting to wonder if its not a FAT12 formated floppy image anymore.
How can I write my fat12 boot sector to my floppy?
80 clusters
18 sectors per track.
so I can run it with bochs. But now I can't seem to write my FAT12 boot sector to the image. I can't mount it; used wine and ran PARTCOPY but that didn't work either.
Finally I used dd as follows:
Code: Select all
dd if=boot.bin of=a.img bs=512 count=1
Code: Select all
fdisk -l a.img
How can I write my fat12 boot sector to my floppy?