Thank you for your answer!
Here is the output of the fdisk -l /dev/sda command
dlK8EDF.jpg
Thank you for your answer!
Here is the output of the fdisk -l /dev/sda command
dlK8EDF.jpg
Last edited by slickymaster; April 28th, 2021 at 11:46 AM. Reason: removed large image
Please do not post large images into your posts. Many of our users have slow internet connections and data limits. Large images can take a long time to load -- and may even cost a user extra money. Use the attachment functionality provided by the paperclip button above the text entry box.
Please mark your thread as solved if you get a satisfactory responseUbuntu membership via Forums contributions
Please copy/paste text here. I can't quickly highlight stuff in images to point out issues, so I'm less likely to be clear in responses.
As I feared, you have partition complications.
There is 1 logical (sda5) partition that takes up the entire extended (sda2) partition. That logical partition is the one you'd like to make larger. Alas, it cannot cross outside the extended partition. It has been many years, but I don't think extended partitions can be modified when there are any logical partitions inside. Then a primary (sda3) partition was created after the extended partition and blocks any possibility of using gparted to simply extend the size of sda2.
Quite the pickle.
There are many, many, possible solutions. Since this is just a virtual machine, the easiest by far would be to just recreate the VM with the minimum recommended size (25G), move all your data/settings over to the new VM over the network, then using a generated list of installed programs, install all the programs you already have. This is a 30 minute effort on modern systems. 35G in size would be better, BTW. Ubuntu has become much more bloated in 18.04. BTW, I was caught no allocation sufficient storage to a VM too. It was with a 20.04 desktop last June.
As for LVM, had you selected LVM during the installation of the OS, there would be trivial ways to add another virtual disk, add that vDisk into the VG and extend the LVs as needed. I've done it: https://ubuntuforums.org/showthread....6#post13963156 outlines the steps.
LVM provides, options.
Bookmarks