[PATCH] fdisk: to recognize FAT32 partitions hidden by Acronis software

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--- util-linux-2.26/include/pt-mbr.h.old	2015-02-10 10:49:46.000000000 +0100
+++ util-linux-2.26/include/pt-mbr.h	2015-03-25 19:30:49.000000000 +0100
@@ -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
--- util-linux-2.26/include/pt-mbr-partnames.h.old	2015-02-10 10:49:46.000000000 +0100
+++ util-linux-2.26/include/pt-mbr-partnames.h	2015-03-25 19:18:53.000000000 +0100
@@ -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")},
Signed-off-by: Jörg Jenderek <joerg.jen.der.ek@xxxxxxx>
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
-- 
Jörg Jenderek	email:	joerg.jen.der.ek (at) gmx.net
Germany
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux