dimanche 10 mai 2015

Write partial data from MBR.bin to a sector in USB

DD is a tool for linux which can Write partial data from MBR.bin to a sector in USB (instead of writing a whole sector). Now I need to do such thing in windows. There is a DD for windows, but it seems it will write a whole sector!

I need to write first 440 bytes of a mbr file to a usb stick. the code in linux is:

dd if=mbr.bin of=/dev/sd<X> bs=440 count=1

and in windows it will be:

dd bs=440 count=1 if=mbr.bin of=\\.\<x>:

is the volume letter. But in windows it will cause USB to be corrupted and usb need to be formatted. It seems it writes the whole data. How can I solve this problem?

Aucun commentaire:

Enregistrer un commentaire