Gparted – “无法满足分区的所有限制”

好的,所以我对linux很新,但我对计算机非常了解,所以我可以接受命令。

我的问题是当我尝试扩展我的ubuntu分区的扩展分区时,我收到一条错误消息“无法满足分区上的所有约束”

尽快解决问题非常重要。 我不知道你需要知道什么来解决我的问题,但这里有一些事情,不要害怕要求更多你需要的东西。

尝试在Ubuntu Live USB(Ubuntu Live 13.04 x64)中使用GParted进行分区。

我的分区映射如下所示:

Partition: Size: /dev/sda1 | TOSHIBA System Volume | 1.46 GiB /dev/sda2 | Windows 7 | 104.08 GiB unallocated | The space I want to add | 99.21 GiB ᐁ /dev/sda3 | The extended partition | 81.06 GiB /dev/sda5 | My ubuntu partition | 81.06 GiB unallocated | extra space added in ubuntu installation | 2.00 MiB /dev/sda4 | HDDRECOVERY | 12.27 GiB 

sudo fdisk -l输出

 Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0xcd9fd9b7 Device | Boot | Start | End | Blocks | Id | System /dev/sda1 | * | 2048 | 3074047 | 1536000 | 27 | Hidden NTFS WinRE /dev/sda2 | | 9893888 | 221351935 | 105729024 | 7 | HPFS/NTFS/exFAT /dev/sda3 | | 429400062 | 599398399 | 84999169 | f | W95 Ext'd (LBA) /dev/sda4 | | 599402496 | 625141759 | 12869632 | 17 | Hidden HPFS/NTFS /dev/sda5 | | 429400064 | 599398399 | 84999168 | 83 | Linux Disk /dev/sdb: 32.0 GB, 32015679488 bytes 255 heads, 63 sectors/track, 3892 cylinders, total 62530624 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: 0x00093c4b Device | Boot | Start | End | Blocks | Id | System /dev/sdb1 | * | 32 | 62527487 | 31263728 | c | W95 FAT32 (LBA) 

错误我正在接受GPARTED

 GParted 0.12.1 --enable-libparted-dmraid Libparted 2.3 Move /dev/sda3 to the left and grow it from 81.06 GiB to 82.20 GiB 00:00:02 ( ERROR ) calibrate /dev/sda3 00:00:02 ( SUCCESS ) path: /dev/sda3 start: 429,400,062 end: 599,398,399 size: 169,998,338 (81.06 GiB) move partition to the left and grow it from 81.06 GiB to 82.20 GiB 00:00:00 ( ERROR ) old start: 429,400,062 old end: 599,398,399 old size: 169,998,338 (81.06 GiB) requested start: 427,008,000 requested end: 599,396,351 requested size: 172,388,352 (82.20 GiB) libparted messages ( INFO ) Unable to satisfy all constraints on the partition. 

========================================

再次,如果您需要问任何其他信息,重要的是我可以解决问题。 我正在制作自己的Linux发行版,以了解有关Linux的更多信息,以及谁不想要自己的操作系统? 我的意思是来吧。 我将尝试使用Windows分区管理器,但我希望不会更好。

谢谢!

当我遇到此错误时,我再次尝试,但请确保选项“Align to”设置为“none”(默认情况下似乎使用MiB)。 这通常适用于我,虽然有时我必须在它工作之前尝试两到三次。 这可能不是最好的解决方案,但它可能对您有用。

自版本0.12.1发布以来,许多分区约束问题已在GParted中得到修复。 您可以尝试使用最新版本的GParted(目前为0.16.1)。 一种方法是从包含GParted Live的媒体启动。

如果这没有帮助,那么问题可能是逻辑分区sda5在扩展分区sda3启动后仅启动2个扇区。 在确保您拥有良好的数据备份后,您可以尝试从左边缘将sda5缩小1 MB。 如果成功,您可以尝试调整扩展分区sda3的大小。

这似乎对某些人有用

在第一个分区之前留下1Mb的可用空间之后,以某种方式“无法满足对分区的所有约束”问题消失了

当扩展分区在开始时获得一点空间时,我可以将它向右扩展并继续我想要做的事情。

链接-

http://ubuntuforums.org/showthread.php?t=1478324&page=2

http://gparted-forum.surf4.info/viewtopic.php?id=14448

编辑-

阅读有关此主题的更多信息,它也可能是分区表问题。 您需要修复分区表。

你可以使用Fixparts, http: //www.rodsbooks.com/fixparts/来完成这项工作,并仔细阅读,并谨慎使用它,根据其网站上给出的步骤。

另见此链接 –

无法满足分区上的所有约束