Gparted 分区调整大小出错 - 无法读取最后一个扇区

Pat*_*ryk 7 partitioning gparted resize ntfs

我试图调整(缩小)我的 NTFS 分区的大小,以便我能够为我的ext4Ubuntu(12.04 64 位)分区获得更多空间,但是在调整分区大小后我无法安装它。我使用 Gparted 来做到这一点。

我认为分区表的某个地方存在问题,但我不知道在哪里以及如何修复它。

这是我在 NTFS 分区上的 Gparted 信息窗口中得到的信息: 在此处输入图片说明

GParted 概览截图 在此处输入图片说明

fdisk -lmount /dev/sda5 /media/d

root@UBUNTU:/home/XXX# mount /dev/sda5 /media/d
Failed to read last sector (718198764): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
   or it was not setup correctly (e.g. by not using mdadm --build ...),
   or a wrong device is tried to be mounted,
   or the partition table is corrupt (partition is smaller than NTFS),
   or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
root@UBUNTU:/home/XXX# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x68beefda

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              19    27262991    13631486+  27  Hidden NTFS WinRE
/dev/sda2   *    27262992    27467791      102400    7  HPFS/NTFS/exFAT
/dev/sda3        27467792   232267775   102399992    7  HPFS/NTFS/exFAT
/dev/sda4       232267793   976771071   372251639+   f  W95 Ext'd (LBA)
/dev/sda5       232267795   918867967   343300086+   7  HPFS/NTFS/exFAT
/dev/sda6       968046592   976771071     4362240   82  Linux swap / Solaris
/dev/sda7       950468608   968044543     8787968   83  Linux

Partition table entries are not in disk order
Run Code Online (Sandbox Code Playgroud)

Pat*_*ryk 5

经过几分钟的挖掘,我发现了这个指南,它使用ntfs-3g包来恢复损坏的 ntfs 分区。

很棒的工具!我可以推荐给大家。