Tuesday, 6 August 2013

Using dd to copy bin file to specific sector

Using dd to copy bin file to specific sector

I am trying to write an 16-bit real mode operating system. I have been
referring to MikeOS How to write an Operating System tutorial. I have used
dd status=noxfer conv=notrunc if=boot.bin of=myos.flp
Where, boot.bin is my assembled bootloader and myos.flp is my floppy disk
image. How would I used dd to write my kernel.bin file to the second
sector of the 1.44mb floppy disk image?

No comments:

Post a Comment