Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Expand or Increase Ubuntu Virtual Disk In VMware Workstation

June 26, 2024
in Blog, Linux, VMware
0
ADVERTISEMENT

Table of Contents

Let’s imagine this scenario: you’ve created a virtual disk, created partitions, and installed a guest operating system on one of the partitions on that virtual disk. Later, as you’re working, you realize that performance is suffering because there’s not enough disk space. Insufficient disk space on a system partition degrades performance.

With VMware virtualization software providing flexible options to configure virtual hardware such as CPU, memory, and disk devices, you can extend the size of an existing virtual disk. However, you must resize a partition manually after that. Disk space added after you extend a virtual disk is unallocated.

In this post, we’ll expand the virtual disk from 64GB to 100Gb.

Bg1156

Prerequisites

Some conditions must be met before you resize a virtual disk and the partitions on that disk.

  • To be resized, a virtual disk must not have snapshots. If your virtual machine has snapshots, delete them before you resize a virtual disk and adjust disk partition size.

  • It is recommended that you back up your VM before doing operations with disks. Changing disk partition size may be risky if you make a mistake during the configuration process.

Using parted to extend Linux partitions

1. Turn off the virtual machine then edit the VM settings.

Bgf010

2. In the Virtual Machine Settings page, select Hard Disk option | Click Expand… button | Enter new disk size as you need then click Expand button.

Bg1157

3. Start your virtual machine, after resizing a virtual disk, Linux partitions are not extended automatically, and you see the unused (unpartitioned) space on the disk

Bg1158

4. Open Terminal | Switch to root account using sudo -s command.

teevee@teevee:~$ sudo -s
[sudo] password for teevee: 
root@teevee:/home/teevee# sudo apt install gparted -y

5. Install Gparted using this command: sudo apt install gparted -y. After installed, open the app using gparted command.

Bg1159

6. Next, let’s expand the root partition on the virtual disk then resize the size of the ext4 partition. When the partition is extended on the virtual disk whose size was increased.

Bgf011

Finally, From Dash > Utility > Disks you can verify it worked.

Bg1160
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (3 votes)
Previous Post

How to Fix Windows Terminal is Missing in Windows 11, wt.exe Not Found

Next Post

How to Fix Script Error Google Tag Manager Popup in Windows 10, 11

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory