I clicked the “ Additional partition options” button (the one with two gears) to access more options. It was not yet formatted and therefore appeared with an “ Unknown” content. I selected the disk I had just created (the second one in the list). The Disks application showed me a list of disks currently detected by the VM. I opened the “ Utilities” folder and I chose the “ Disks” Application to format and mount the new hard disk. I used the “ Activities” menu on the left to access the “ Show Applications” button. I started the VM and I logged in as oracle. The file was only 2 MB large right now because its space was dynamically allocated on the physical hard drive. The new virtual hard disk was now attached to the VM. I selected it and clicked the “ Choose” button to add it to the VM. Once created, the new virtual disk file appeared in the list of not attached hard disks. I chose a name, I entered 40 GB for the disk size and I clicked the “ Create” button to create the virtual hard disk file Create a 40 GB virtual hard disk The next step asked me to choose the virtual hard disk file location as well as its name and its size. The file was going to be stored onto a M.2 SSD so the two options should have had similar speed performance anyway. I chose “ dynamically allocated” because I wasn’t sure I would use the whole virtual disk. The next step was to choose whether the new virtual hard disk space would be dynamically allocated on the physical disk or whether it would have a fixed size (the full virtual disk size). I was going to use this virtual disk with a VirtualBox VM only so I chose the “ VirtualBox Disk Image” VDI format and I clicked the “ Next” button. The “ Create Virtual Hard Disk” assistant asked me to choose the type of file to use for the new virtual hard disk. I wanted to create a new virtual disk so I clicked the “ Create” button. It opened the Hard Disk Selector window with a list of disks currently attached to a VM or not. I selected the Storage section and I clicked the “ Adds hard disk” button. Add a new hard disk to a Virtual Machineįirst, I launched VirtualBox and I accessed the Oracle Linux VM Settings. Therefore I decided to add a new virtual disk and I have documented all the steps in this tutorial. I realised a few days ago that the 40 GB virtual hard disk of my Oracle Linux VM only had a few GBs left and that I would soon need more space to store additional data.
0 Comments
Leave a Reply. |