Ubuntu VM Issue

Hi, I’m having a weird issue where the root drive of my Ubuntu VM only has 4gb of storage, despite me allocating 32gb (and manually mounting an extra 32gb drive, with a boot priority of 1). I’ve tried installing different instances of Ubuntu (all the desktop versions) but encounter the same issue. I’m very stuck and am quite lost. I’m fairly new to this so would really appreciate some help!

Please execute on terminal

sudo lsblk -fm | grep -v loop

and paste output here.

Thanks, here’s the output:

ubuntu@Ubuntu:~$ sudo lsblk -fm | grep -v loop
NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS SIZE OWNER GROUP
nvme0n1                                                                                      32G  root  disk
├─nvme0n1p1 vfat   FAT32       555D-9E7B                             90.1M     8% /boot/efi   100M root  disk
├─nvme0n1p2 ext4   1.0   rootfs 8c42cf84-597c-4f50-8ce0-df1ab855f8de 317.9M    91% /           3.9G root  disk
nvme1n1                                                                                      32G  root  disk
ubuntu@Ubuntu:~$ 

Well obviously Partition 2 nvme0n1p2 containing Ubuntu OS is only sized ~4GB.
You could boot from a Ubuntu Live ISO image for example and grow that partition incl. EXT4 filesystem with software “gparted” to use all remaining space up to the end of that NVME drive.

Here is video showing that with a case similar to yours:

It is quite easy. Just have a backup to be sure.

1 Like