Add Option to Copy Only Allocated Partitions

USB Image Tool support forum
Post Reply
Voyager62
Posts: 2
Joined: Thu Feb 05, 2026 7:09 am

Add Option to Copy Only Allocated Partitions

Post by Voyager62 »

I recently had to copy a USB drive of 64GB to an EEROM of 7GB, but needed only the first 3 partitions of 4 total which totaled 6GB. Your tool always copies the entire drive to an image so I couldn't use it. I came across Win32 Disk Imager, which only has one option, Read Only Allocated Partitions. This worked and created a 6GB image that I was able to flash to the EEROM in Device Mode with your tool.

It would be nice to only have to use one app to work on projects like this.

Thank you
Alex
Site Admin
Posts: 291
Joined: Fri Jul 29, 2011 11:59 pm

Re: Add Option to Copy Only Allocated Partitions

Post by Alex »

Thanks for your feedback, I might consider this for future versions. Until now I always tried to be as non-invasive on partition level as possible. Not only I would have to deal with handling MBR and GPT style partition tables manually, but GPT style also has a backup GPT table at the physical end of the device. Shortening the image would require to deal with the question, what to do with this backup GPT (add to the partitions at new position?). For now Windows fixes invalid backup GPT when it detects them and I also implemented a feature to manipulate the GPT to prevent Windows from re-enumerating partitions, but doing more logic on partition level would also require more logic on MBR/GPT-handling. See also this topic for more information:

https://www.alexpage.de/forum/viewtopic.php?t=534
Voyager62
Posts: 2
Joined: Thu Feb 05, 2026 7:09 am

Re: Add Option to Copy Only Allocated Partitions

Post by Voyager62 »

Thanks for the information. The drive had an MBR partition table, so I guess that's why it worked.
Post Reply