Friday, May 10, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 734  / 1 Year ago, wed, april 19, 2023, 7:12:30

I downloaded Virtual box, installed Windows 10 pro on the virtual machine I had allocated 100GBs of disk space to.
When going to disks > highlighting the UBUNTU partition (1TB) clicking on the cogs and selecting 'resize', it shows the 100GB portion of the disk reserved for the VM highlighted in black and won't let me resize the partition to include it.


Will it do so automatically after I delete the VM from my system or do I have to do something in the command line for it to work?
Thanks.enter image description here


enter image description here


More From » partitioning

 Answers
3

100 GB partition is not real


This looks like the 100 GB virtual partition is actually a very large file called <The Name you gave the Virtual Machine>.vdi. The file may be smaller than 100 GB in size, as some virtual disks are created small and are expected to grow as it fills up.


If you have Oracle VirtualBox installed


If you still have Oracle VirtualBox installed on your host Ubuntu computer, you can open the app and delete the virtual machine you created from within the app. It may ask if you want to delete the virtual disk or not. Choose to delete the disk if asked.


If you have uninstalled Oracle VirtualBox, you have to do it manually.


If you don't have Oracle VirtualBox anymore


Based on this Oracle VirtualBox documentation you should have a folder called:


"/home/jibjab/VirtualBox VMs"

Replace jibjab with your username for the host Ubuntu computer. Inside this folder you should have various VirtualBox configuration files for various virtual machines you created.


Since you have uninstalled Oracle VirtualBox and don't want to use these anymore you can delete the folder VirtualBox VMs from your "Home" folder.


If you just want to delete the 100 GB virtual disk, find and delete the file:


"/home/jibjab/VirtualBox VMs/<The Name you gave the Virtual Machine>.vdi"

The configuration files for your virtual machine should be in the file:


"/home/jibjab/VirtualBox VMs/<The Name you gave the Virtual Machine>.vbox"

You may delete it as well.


Delete from Trash


They say nothing is truly deleted from computers and sometimes it can be true. If you used the GUI method to delete the files and folders they get sent to the Trash folder. You may have to permanently delete these folders/files from trash.



  • Either Empty Trash to permanently delete all the deleted folders and files hiding in the trash.

  • Or Delete from Trash by right clicking on the folder/file sitting in Trash.


Hope this helps


[#1301] Thursday, April 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arsleyeuth

Total Points: 72
Total Questions: 121
Total Answers: 112

Location: North Korea
Member since Mon, Oct 31, 2022
2 Years ago
arsleyeuth questions
;