Package: gdisk Version: 0.8.8-1 Severity: wishlist It would be useful to have a command that rewrites the partition table with an alternate sector size.
I opened a "Seagate Expansion" 3 TB USB3 drive enclosure I'd been using, and connected the ST3000DM001 drive directly via SATA. The GPT was no longer recognised by the system because the apparent logical sector size had changed from 4096 bytes to 512 bytes. I had to recreate the GPT manually; e.g., I created a partition for sectors 2048-262143 to replace one that used to be at 256-32767. With the other partition offsets similarly recalculated, all the data was readable, but this was annoying to do manually. gdisk should be able to recognise a GPT created with the wrong sector size, and rewrite it with the correct size. An 'advanced mode' option could also be added to allow this to be done before the sector size is changed. - Michael -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.11-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gdisk depends on: ii libc6 2.17-97 ii libgcc1 1:4.8.2-14 ii libicu52 52.1-3 ii libncurses5 5.9+20140118-1 ii libpopt0 1.16-8 ii libstdc++6 4.8.2-14 ii libtinfo5 5.9+20140118-1 ii libuuid1 2.20.1-5.6 Versions of packages gdisk recommends: ii groff-base 1.22.2-5 gdisk suggests no packages. -- no debconf information
signature.asc
Description: Digital signature

