fdisk: to recognize FAT32 partitions hidden by Acronis software
PATCH 1/1 fdisk: to recognize FAT32 partitions hidden by Acronis software
Dear util-linux maintainer,
i used a partitioning backup product of
http://www.acronis.de/products/trueimage/
This software creates an extra partition named "ACRONIS Secure Zone " with the Recovery program and/or boot selector.
After some examination i found out that the partition contains a standard FAT32 file system with a special initial program loader in boot sector, which tries to load Acronis loader F11.SYS or BOOTWIZ.SYS in older versions)
To avoid that an user or a virus can compromise the restore software the partition is hidden by adding 0xb0=176 to partition number.
So an FAT32 LBA (0x0c=12) gets number 0xbc=188.
Maybe also partition with ids 01, 04, 06, 07, 0b, 0c, 0e are hidden in this way. See List of partition identifiers for PCs at
http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
Unfortunately the software fdisk (util-linux-ng 2.13-rc2 and util-linux-ng-2.14-rc3 and util-linux-2.26) can not classify that partition.
I send for the fdisk program my 2 patches so that fdisk recognize the Acronis partitions.
pt-mbr-acronis.diff
include/pt-mbr.h renamed from include/pt-mbr.h.old +1 -0
@@ -150,2 +150,3 @@MBR_BOOTWIZARD_HIDDEN_PARTITION =0xbb , +MBR_ACRONIS_FAT32LBA_PARTITION =0xbc ,/* Acronis Secure Zone with ipl for loader F11.SYS */ MBR_SOLARIS_BOOT_PARTITION = 0xbe,
pt-mbr-partnames-acronis.diff
include/pt-mbr-partnames.h renamed from include/pt-mbr-partnames.h.old +4 -0
@@ -73,2 +73,6 @@ {0xbb, N_("Boot Wizard hidden")}, + {0xbc, N_("Acronis FAT32 LBA")},/* hidden (+0xb0) FAT32 LBA with +ipl for Acronis loader F11.SYS +by Acronis partition backup software +is called Acronis Secure Zone */ {0xbe, N_("Solaris boot")},
Sorry that i do this way, but i have no knowledge about git toys.
Hope you can apply my patches in a future version of the fdisk program.
thanks,
joerg jenderek
Signature · 2 lines
Jörg Jenderek email: joerg.jen.der.ek (at) gmx.net Germany
Quoted 11 lines · Jörg Jenderek
include/pt-mbr.h renamed from include/pt-mbr.h.old +1
-0@@ -150,2 +150,3 @@MBR_BOOTWIZARD_HIDDEN_PARTITION =0xbb , +MBR_ACRONIS_FAT32LBA_PARTITION =0xbc ,/* Acronis Secure Zone with ipl for loader F11.SYS */ MBR_SOLARIS_BOOT_PARTITION = 0xbe,pt-mbr-partnames-acronis.diff
include/pt-mbr-partnames.h line 77
Quoted 5 lines
include/pt-mbr-partnames.h renamed from include/pt-mbr-partnames.h.old +4
-0@@ -73,2 +73,6 @@ {0xbb, N_("Boot Wizard hidden")}, + {0xbc, N_("Acronis FAT32 LBA")},/* hidden (+0xb0) FAT32 LBA with +ipl for Acronis loader F11.SYS +by Acronis partition backup software + is called Acronis Secure Zone */
Applied, thanks.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com