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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top