4
- Made some minor edits to the man page.
6
- Incorporated RPM .spec file changes contributed by Scott Collier
9
- Changed method of locating and loading backup GPT data, to use the
10
main header's pointer, if it's valid, rather than seeking to the
13
- Added 'e' option (relocate backup GPT data structures) to the experts'
16
- Fixed bug that prevented recovery of partitions in case of partially
17
damaged GPT data (bad main and good backup or bad backup and good
18
main header, for instance).
23
- Added GPT-to-MBR conversion function. It's very limited, but potentially
26
- Fixed bug that caused incorrect file sizes to be reported on 32-bit
27
Linux, thus causing problems when editing partition tables in disk images
28
or when loading GPT backup files.
30
- Fixed bug that caused bogus CRC error reports when loading backup GPT
33
- Reorganized menus. There are now three: the main menu, the experts' menu,
34
and the recovery & transformation menu. The last of these has most of the
35
items that had been on the earlier versions' experts' menu.
37
- Added ability to re-load the MBR and generate a fresh GPT from it. This
38
is normally identical to quitting and re-running the program, but it
39
could be handy if, say, the GPT partitions on a hybrid configuration are
40
badly messed up; this will enable using the hybridized partitions as the
41
starting point for a new GPT setup.
43
- The program now generates CHS values for hybrid and GPT-to-MBR conversion
44
MBRs. For the moment, the assumption is the maximum number of heads and
45
sectors per track (255 and 63, respectively), although the bulk of the
46
code supports other values -- it'd just be awkward to enter the data in
49
- Fixed minor display bug that caused number of sectors on the disk to be
50
shown as 0 on large disks when running 32-bit binaries.
52
- Reverted 0.4.2's zap (destroy GPT) changes, since I don't want to wipe
53
out a valid MBR if the user created that MBR over an older GPT without
54
first properly wiping out the GPT, and the user now wants to wipe out
57
- Reformatted and edited the man page. Aside from edits related to the
58
preceding program changes, I've altered the markup slightly and trimmed
59
much of the more tutorial information from the man page to better
60
conform to typical terse man page style.
67
- Fixed very small formatting bug in display of hex code when a match isn't
68
found when converting from an MBR/gdisk hex code to a GUID type code.
70
- Added the ability to work on disk image files (raw files for virtual
71
machines, backup images, etc.). The program assumes that all such disk
72
image files have 512-byte sectors.
74
- Added verification prompt to 'o' main-menu option to avoid accidental
75
erasures of all partitions.
77
- The "destroy GPT data structures" option ('z' on the experts' menu) now
78
also destroys all EFI GPT (0xEE) partitions in the MBR.
80
- Added an extra warning to the "destroy GPT data structures" option if an APM
81
or BSD disklabel was detected on the disk.
83
- Added a buffer flush after destroying GPT data structures, to get the OS
84
to read the new (empty or MBR-only) partition table.
86
- Fixed bug that allowed entry of nonexistent partition numbers when creating
92
- Code cleanup/re-organization
94
- Partition creation function ('n' on main menu) now uses the start of the
95
largest available chunk of free space rather than the first available
96
sector as the default starting sector number. This should enable easier
97
partition creation if there are small bits of free space on the disk.
99
- You can now specify the end point of a partition by using a minus sign,
100
in which case the end point is the default value minus the specified
101
size. For instance, "-200M" creates a partition that ends 200MiB before
102
the default end point.
104
- You can now specify the start point of a partition by using a plus or
105
minus sign, in which case the start point is the specified distance from
106
the start (+) or end (-) of free space. This is exactly the same as the
107
new rules for entry of the end point, except that the default value is
110
- Deleting a partition now checks for a matching hybrid MBR partition, and
111
if one is found, it's deleted. Any empty space that then surrounds the
112
0xEE (EFI GPT) MBR partitions is then added to the nearby 0xEE partition.
113
If no non-0xEE partitions are left, a fresh protective MBR is generated.
115
- Added hybrid MBR consistency check to the verify ('v') option and to
116
pre-write checks. If non-0xEE/non-0x00 MBR partitions without
117
corresponding GPT partitions are found, the user is warned. This finding
118
does NOT prevent writing the partition table, though.
120
- Added non-destructive write test when opening the device file, in order
121
to detect the problem with FreeBSD being unable to write to disks with
122
mounted partitions (or other potential problems).
127
- Added support for BSD disklabels. The program can now convert disks that
128
use "raw" disklabels, with the caveat that the first partition will
129
almost certainly need to be deleted because it'll overlap the main GPT
130
header; and convert disklabels contained within a GPT (or a former MBR,
131
converted to GPT) partition. In the latter case, the 'b' main menu option
134
- Added support for compiling on FreeBSD.
136
- Fixed bug that could cause crashes or incomplete sorts when sorting
139
- New partitions, including converted ones, now take on the name of the
140
partition type as a default name.
142
- Reorganized some code; created a separate C++ class for GPT partitions
143
(GPTPart), which replaced a struct and enabled moving code from the
144
bloated GPTData class into GPTPart.
146
- Fixed a bug that produced spurious warnings about unknown sector sizes
147
when loading a backup file.
152
Note: This version was not officially publicly released; I wanted to test
153
the big-endian support while developing 0.4.0.
155
- Tweaked the disk type identification code to warn users to re-sync their
156
hybrid MBRs when one is detected.
158
- Tweaked MBR-reading code to ignore 0xEE (EFI GPT) partitions. This will
159
only have an effect on a poorly partitioned MBR disk that contains an
160
inappropriate EFI GPT partition, or when attempting to recover a
161
corrupted disk by using the hybrid MBR for data recovery.
163
- Added big-endian (PowerPC, etc.) support!
165
- Added code to identify and warn of the presence of an Apple Partition
166
Map (APM) on the disk.
168
- Enabled MBR conversion code to handle multiple logical partitions.
173
- Fixed bug that enabled (possibly accidental) entry of MBR type codes of
174
0x00 in GPTData::MakeHybrid(). The fix also enables entry of default
175
type code by pressing the Enter key when prompted. Applied a similar
176
fix to the entry of the type code for the second protective partition,
179
- Fixed a typo: "sectors" was spelled "sectprs" in one spot!
181
- Fixed bug that caused default entry for end sector to be refused if an
182
initial value using a plus sign (e.g., "+20G") was also refused.
187
- Gave users control over the way MBR partitions are assigned to slots in a
188
hybrid MBR setup; the original method (putting the 0xEE partition after
189
the real partitions) works well for non-boot disks, but both GRUB and
190
GRUB2 become confused by this type of setup, so it needs changing.
192
- Changed "blocks" to "sectors" in GPT and MBR table displays.
194
- Added "Boot" column to MBR table display; shows an asterisk (*) when the
195
partition's status is bootable.
200
- Changed __DARWIN_UNIX03 to __APPLE__ as code to enable MacOS X support.
202
- Added the ability to create a hybrid MBR ('h' on experts' menu). This was
203
motivated by my discovery that Windows 7 remains brain-dead when it comes
204
to the ability to boot from a GPT disk, at least on BIOS-based machines.
206
- Added 'z' option to experts' menu, to destroy GPT data structures and
207
exit. The intent is to use this feature to enable subsequent partitioning
208
of the disk using fdisk or other GPT-unaware tools. (GNU Parted will wipe
209
the GPT data structures itself when you create a new MBR ["msdos
210
disklabel," in Parted parlance], so using Parted is another option.)
212
- Slightly altered the effect of the 'o' command on the main menu. It now
213
blanks out the protective MBR, as well as the GPT data.
218
- Added Mac OS X support, provided as a patch by David Hubbard
219
(david.c.hubbard@gmail.com).
221
- Fixed bug in disksize() function on Mac OS. (Possibly dependent on the
222
kernel and/or GCC version.) The disk size, of type uint64_t, was not
223
being passed correctly, so I reorganized the function to return it as
224
the function's return value rather than as a parameter. This seems to
225
work OK on my Mac OS test system and on both 32- and 64-bit Linux
228
- Fixed off-by-one bug in GPTData::FindLastAvailable().
230
- Fixed bug that caused display of options after a disk-write error.
232
- Fixed several incorrect MacOS X partition type GUIDs, thanks to Yves
233
Blusseau (1otnwmz02@sneakemail.com).
238
- Changed version number to 0.3.0, reflecting the fact that I've received
239
no significant bug reports and so am elevating the program to "beta"
240
status. This change also entailed altering the warning the program
241
displays when saving partition table changes.
243
- Fixed minor bug in CHS geometry of the protective MBR's type EE partition
244
(was producing 0x000200 as the start value, but should be 0x000100).
245
Should be a non-critical bug since the protective MBR partition
246
definition is only there to keep MBR-only disk utilities from messing
249
- Added ability to enter GUIDs as single massive strings rather than in
255
- Added #include directives required to compile the program using GCC
261
- Fixed partition numbering problem in reports of partition overlaps in
262
verification function.
264
- Fixed 1-sector partition size problem when creating new partitions
265
(partitions were 1 sector too big when using the +size option).
267
- Changed BytesToSI() to display values in bytes without decimal points
268
(e.g., "512 bytes" rather than "512.0 bytes").
270
- Added GPTData class member functions to retrieve GPT data structure
271
locations on disk; used in my internal-use-only GPT-wiping program.
273
- Eliminated the "a reboot is recommended" notice after writing the
276
- Added notice after sorting the partition table to the effect that
277
editing /etc/fstab and/or the boot loader files may be required.
279
- Fixed bug in MBR-reading function that caused 0x0f (Win95 LBA) and 0x85
280
(Linux extended) extended partitions to not be read.
282
- Fixed bug in GetLastSector() (in support.cc) that would have prevented
283
correct user entry of over-32-bit sector numbers on 32-bit systems.
285
- Made some changes/corrections to the partition type list in
286
parttypes.cc. Most of these were based on newly-discovered MBR type
287
codes for Apple (Mac OS X) filesystems.
289
- General code cleanup (setting explicit casts, etc.)
294
- Initial semi-public release