Software >
A partitioning tool.
-
You may want the plain fdisk, or
gdisk
/cgdisk
- (and later)
- 2007-04-28 - 2.12r on PCLinuxOS 2007-TR4
- 2007-04-22 - (version not recorded; earlier than 2.12r) on Slackware 10.0
-
(and earlier)
2007-04-28 - 2.12r ∞
It blanks the screen entirely when it exits .. which is bloody annoying since I rely on the cfdisk map of partitions to mkfs
them afterwards.
Annoying partition hiccup ∞
Produced but not reproduced in PCLinuxOS 2007-TR4 and cfdisk v2.12r.
This is what the hdd's partitioning was like:
sda1 Primary Linux swap / Solaris 8.23 sda2 Primary Linux swap / Solaris 1003.49 sda3 Boot Primary Linux ext3 5000.98 sda5 Logical Linux ext3 16.46 sda6 Logical Linux ext3 1003.49 sda7 Logical Linux ext3 1998.75 sda8 Logical Linux ext3 1003.49 sda9 Logical Linux ext3 3002.23 sda10 Logical Linux ext3 1003.49 sda11 Logical Linux ext3 1003.49 sda12 Logical Linux ext3 235004.48 sda13 Logical Linux ext3 70021.81
My goal was to delete sda3-11
and recreate some of the partitions like this:
From memory, they would have looked like this:
sda1 Primary Linux swap / Solaris 8.23 sda2 Primary Linux swap / Solaris 1003.49 sda3 Boot Primary Linux ext3 16.46 sda5 Logical Linux ext3 100 MB sda6 Logical Linux ext3 200 MB sda7 Logical Linux ext3 1000 MB sda8 Logical Linux ext3 (everything else) sda9 Logical Linux ext3 235004.48 sda10 Logical Linux ext3 70021.81
I wrote to disk, did not reboot, and did some mkfs -j
action on sda3
sda5
sda6
sda7
sda8
and I don't remember seeing any errors.
I checked cfdisk
again, and this is what the primary hdd's partitioning had become:
sda1 Primary Linux swap / Solaris 8.23 sda2 Primary Linux swap / Solaris 1003.49 sda3 Boot Primary Linux ext3 16.46 Pri/Log Free Space 319042.17
The partitions I had created had vanished.
To restore my partitions, I downloaded the binary for TestDisk and it worked just fine.
How did this happen? Well, it's because I didn't reboot after shuffling my partitions around; whoops!
2007-04-22 - (version not recorded; earlier than 2.12r) ∞
When exiting, the exit message should be printed 2 lines lower, so as to not intermingle with the UI text.
Last updated 2021-01-12 at 14:54:05
ported