VBoxManage.exe modifyhd C:\VMs\oel7-ofmw\oel7-ofmw.vdi -resize 51200 50GB is 51200MB, so that’s what we put in. The command is modifyhd, and takes –resize as parameter. All commands are run from the installation directory of Oracle VirtualBox, here: “C:\Program Files\Oracle\VirtualBox\”, and use the program VBoxManage.exe (on Windows) Virtual Disks are by default limited to a certain size, and this needs to be larger than what it currently is. Step 3: Extend the filesystem (on the guest) Step 1: Resize the Virtual Disk Step 2: Resize the partition of the guest Step 1: Resize the Virtual Disk (on host)
Oracle virtualbox linux image how to#
? How to resize a virtual disk for a OEL7 machine Proceed with caution and at your own risk. There always is the chance of thing going awry, and it might very well be because of something you read here. The solution is to resize the Virtual Disk from 12GB to a larger number, and there are a few steps needed to accomplish this goal.ĭisclaimer: you should always make a backup of the Virtual Disks before proceeding with modifying them. If you want to install, say, Oracle Service Bus on that machine, you are going to run into issues there. Weighing in at only 12GB, it’s not the largest of drives, even though that seems to be what Oracle recommends.
Let’s say you have created an Oracle Enterprise Linux 7.2 Virtual Image in VirtualBox where you didn’t pay enough attention to the details, and you went with the default size of the Virtual Disk.