Is there some program for windows that is able to do what dd does in linux out of the box? I need to copy from a file to a physical disk in raw mode where I need to define offsets for input and output. So for dd, I'd need to use the seek and skip parameters. I know there is (1) http://www.chrysocome.net/dd or I could try to (2) setup dd using cygwin but:
- Does multiply the skip parameter with 512 (which I believe is wrong). I want to skip=4198399 sectors but it then tries to skip 2149580288 sectors (bs=512). So with this bug, the program is useless for me.
I tried to use dd under cygwin as partially decribed here: http://cygwin.com/ml/cygwin/2000-08/msg00885.html. I did this
mount -f //./physicaldrive0 /dev/enc mount -f of=/dev/enc if=/cygdrive/f/inputfile.dat skip=4198399 seek=4209089
dd: opening '/dev/enc': Invalid argument"
mount -f //./Device/Harddisk0/DR0 /dev/enc
dd: opening '/dev/enc': No such file or directory"
So I am tired of trying with cygwin.
Are there other programs/options that could accomplish a dd kind of raw copy (maybe some disk editor)?