Question

I have written a boot sector program using nasm i want load that into my pen drive ( firt 512 byte sector) to make my pen drive bootable and run that simple program.my question is how to write that binary file into my first 512 byte portion of my pen drive.

Était-ce utile?

La solution

You can use dd command (see this and this). If you are using Windows, you can find the answer here.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top