Ubuntu扩展磁盘分区
- 报错Unable to satisfy all constraints on the partition
首先需要保证磁盘具有空闲分区,且与待扩展的分区相邻,比如扩展分区3,那剩余空间应与分区3相邻,如图所示:
然后选中文件系统分区3,单击设置,选中调整大小:
就可以通过滑杆调整你要扩展多大的分区了,设置完成后,单击右上角调整大小,即可调整分区的大小。
报错Unable to satisfy all constraints on the partition
在单击“调整大小后”,如果你这个硬盘是新硬盘,则可能会报错“Unable to satisfy all constraints on the partition”,这个时候打开终端,输入:
sudo fdisk -l
如果出现如下报错信息:
GPT PMBR stze mismatch (1953525167 l 4000797359) will be сorrected by write
The backup GPT table is not on the end of the device. Thts problen wtll be сorrе
cted by write
然后在终端运行如下指令:
sudo parted -l
然后输入:
Fix
再次运行
sudo fdisk -l
发现没有报错,则可以按照上述步骤正常分区了。
参考连接 https://www.cnblogs.com/jaysonteng/p/13443258.html