Hmmm, unless I am mistaken, your data appears to be correct, if you start from the partition, but maybe you missed the initial MBR and hidden sectors...:
Counting whole DRIVE:
0x000000 (0 Dec) MBR
0x000200 (512 Dec) Hidden sectors (62 of them)
0x007E00 (32256 Dec) Bootsector
0x008600 (32768 Dec) 3 more reserved sectors
0x008000 (34304 Dec) FAT1
0x026A00 (158208 Dec) FAT2
0x044E00 (282112 Dec) Root Directory
0X048E00 (298496 Dec) First Data Sector
Counting from Partition:
0x000000 (0 Dec) Bootsector
0x000200 (512 Dec) 3 more reserved sectors
0x000800 (2048 Dec) FAT1
0x01EC00 (125952 Dec) FAT2
0x03D000 (249856 Dec) Root Directory
0X041000 (266240 Dec) First Data Sector
Now, let's see if the above is correct:
MBR = 512 bytes
Hidden sectors= 62x512= 31,744 bytes
More reserved sectors=1,536 bytes
FAT1= 242 x 512 = 123,904 bytes
FAT2= 242 x 512 = 123,904 bytes
Root= 512 x 32 = 16,384 (each record is 32 bytes long)
If you use the dsfok with "partition" offset, you must give it a drive letter, whilst if you use the "Drive" offset, you can use PHYSICAL drive (and need to rewrite the initial 63 sectors).
To automate the process while making sure you are rewriting on the right drive, the "fixed" letter for the USB stick through migrate.inf, that cdob proved to be working in the other thread might be useful .
Also, have a look at the small batch I posted here:http://www.911cd.net...o...=15837&st=5
that should give you some ideas on how to make this.
It has been some time since I "peeked and poked" on FAT filesystems with hexeditors, I cannot remember if there is something else that must be taken into account.
I'll try and "freshen" my experience in the next few days, and post if I find something else.....
...as an afterthought, maybe there are some more appropriate utilities on the net, I'll have a look at them too.