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.
Check the Disk Size: Restart your VM, and run sudo df -h in the terminal. You should see that the disk size has increased, but the system does not know how to use the new space yet askubuntu.com.
Download GParted: You need to download the GParted ISO file, which is a Linux GUI disk utility that can be used to resize the partition askubuntu.com.
Mount the GParted ISO: Add the GParted ISO as a CD/DVD device in your VM settings. Make sure that the VM is powered off when you do this askubuntu.com.
Boot from the GParted ISO: Start your VM and enter the BIOS setup. Change the boot order so that it boots from the CD/DVD drive first. Save the changes and exit the BIOS. Your VM should now boot into GParted askubuntu.com.
Resize the Disk Partition: In GParted, you should see your current drive on the left, followed by the unallocated disk space you added. Expand the partition to consume all the unallocated space and apply the changes askubuntu.com.
Update the File System: After resizing the partition, the file system needs to be updated to recognize the newly allocated space. This can be done by running the command sudo resize2fs /dev/sda1 unix.stackexchange.com.
Verify the Changes: Reboot your VM and run sudo df -h again. You should now see the increased space available for use unix.stackexchange.com.
Remember to always backup your data before making such changes to avoid any data loss.
--
FROM 171.221.52.*