https://linux.xiaosiseo.com/post/10564.html 按照这个操作成功。
(1)首先,我们需要安装GParted工具。在终端中输入以下命令:
sudo apt-get install gparted
(2)安装完成后,我们可以在应用程序菜单中找到GParted工具。打开后,选择需要合并的分区,右键点击选择“Resize/Move”。
(3)在弹出的对话框中,将需要合并的分区的大小调整为所需的大小,然后点击“Resize/Move”按钮。
(4)最后,点击“Apply”按钮,确认操作。GParted工具将自动完成硬盘合并分区的操作。
按照
https://blog.csdn.net/IronmanJay/article/details/131053358,不行,走了弯路。
【 在 poocp 的大作中提到: 】
: ANSWER | GPT-4 MODEL
: To extend the disk size of your Ubuntu guest OS in VMWare Workstation, you need to follow these steps:
: Expand the Virtual Machine's Disk Size: First, you need to shut down your Ubuntu VM. Right-click on the VM and navigate to Settings > Hard Disk > Utilities > Expand. Enter the new size you want for the disk and confirm the change askubuntu.com and cnblogs.com.
: ...................
--
FROM 120.242.238.*