Partition Image Mapper is a tool that allows you to temporarily use the partition image as a real partition.
A partition is located on the hard drive based on the starting address and the total size of the partition. And a file too, it also contains information about the start address and its size. So there are many tools that support backing up a partition into a partition image file. You can then restore the partitions from the partitioned image files that were backed up as before.
Currently there are many operating systems like FreeBSD, GuixSD … provide a disk image of USB instead of an ISO. Normally we would have to write this file to USB via dd or Win32 Disk Imager. The downside here is that all partitions and data on the USB disk will be lost.
Also, some Linux installers such as Ubuntu Server, Debian and Kali Linux do not support specifying the path of system files on the USB. This forces you to write your files to the USB root directory. However, many Linux distributions are based on another distribution. For example, Kali Linux based on Debian, they have a similar directory and file structure. And of course, we can not have both distributions in the same partition at the same time because the files will be overwritten.
Partition Image Mapper was created to solve all of the above problems.
How does it work?
Partition Image Mapper only works for valid partition images, any other file types will not work.
First, this tool will check the start and end of the partition image that you have selected. Then it will update the partition table information, now the partition image is the real partition. The partition table information (in MBR) will be backed up and you can restore the partition table information at any time. So the advantage of this tool is that existing data will not be lost.
The partition image file is the file that you backed up from the partitions. Or extracted from the image of the USB disk. Or created from AIO Boot.
- If the file you downloaded is an image of the USB, just use 7-Zip to extract the partition image file.
- If the ISO file is not supported by AIO Boot, like Ubuntu Server, Debian installer and Kali Linux installer… AIO Boot can help you create a partition image file (PartIMG).
Partition Map Mapper latest version supports MAP file ISO. Most Linux ISO files are supported. For Windows ISO files, you need to convert it to a PartIMG file.
- Copy the PartIMGMapper.exe file from the USB drive to another drive. This file is not allowed on target disk.
- Copy the partition image you want to USB.
- Run PartIMGMapper.exe.
- Target Disk: select the target disk device.
- Select /AIO/Files/PartIMG/PartIMG_ROOT.img at 1. This is the partition image of Grub2, which will automatically identify and boot to other partitions. If you get an error, maybe this file is not contiguous, please defrag the file and try again.
- Select the other partition image files in the remaining 3 sections.
- In the Type section, you need to select the correct format of the partition image. For example FAT32, NTFS, Ext4…
- Click MAP button.
- If successful, you will see the new partition, can use the Disk Management to view the partition.
- The tool will back up the partition table information for later restoration. The file has .MBR extension in the same directory as PartIMGMapper.exe.
- For Windows partition images, you need to put it in row 1.
- You can keep existing partitions on disk. You can check the existing partitions and their partition numbers in the Parts Manage in BootICE. Or run AIOCreator.exe -> Tools -> Partitions Manage. In the Type of Partition Image Mapper, choose Keep for the partitions you want to keep.
After you’ve done the work with the partition image, you can restore the partition as it was.
- Run PartIMGMapper.exe.
- Click the UNMAP button and select the previously backed up MBR file.
PartIMG Mapper has the same features as Partition Image Mapper, but it runs directly on Grub2 and Grub4dos without Windows.
You can do everything Partition Image Mapper can do, including Backup MBR, Restore MBR. By using the Partition Tools from the Grub2 menu, you can delete the partitions that you have MAP from the ISO or PartIMG file.
Good luck. Leave a comment if you have any questions.