Menu Title

Expand Ubuntu disk after adding additional disk space in Hyper-V

0 0
Read Time:23 Second

Here is a quick and easy method to expand Ubuntu disk space. In this tutorial, disk space is expanded from 127GB to 500GB.

Before you begin, you must allocate sufficient disk space for Ubuntu VM in your virtualization system.

  • Turn off Ubuntu VM
  • Expand disk space to 500GB in the hard drive option.
  • Turn on Ubuntu VM and follow the remaining steps.

# df -h
Ubuntu Disk Space df

# fdisk -lUbuntu Disk Space fdisk

HostGator $2.75 per month
HostGator
24/7/365 Technical Support, Free Site Building Tools, 4500 Website Templates, Free Shopping Cart Software, Ideal for WordPress, 45 Day Money Back Guarantee

# growpart /dev/sda 2
Ubuntu Disk Space growpart

# resize2fs /dev/sda2Ubuntu Disk Space resize2fs

# fdisk -l
# df -h

Ubuntu Disk Space fdisk and df

Related Post

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

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