

This will allow you to copy and paste between your virtual and host machines, useful when you want to copy outputs from one device to the other. This will improve the performance of your virtual machine by taking advantage of your PC’s 3D hardware and allow you to resize your desktop resolution!Īnother feature this unlocks is the shared clipboard, which you can activate in Devices > Shared Clipboard. Once this is complete, you will need to restart your virtual machine for the new features to take effect.Ĭlose the machine, but before you start it up again, return to the Settings menu and change the Graphics Controller back to VMSVGA and Enable 3D Acceleration. The disc will appear inside your virtual desktop and you will be prompted to run the software. This will prompt you to download the Guest Additions disk image file. To install Guest Additions, you need to complete your installation of Ubuntu in your virtual machine and boot to the desktop.įrom there, select Devices > Insert Guest Additions CD. Ran this command to increase the size of disk VBoxManage modifymedium disk /Users/robin/VirtualBox VMs/oracle6.10/oracle6.10.vdi -resize 20480 Though it did increase the size of the disk, I was not able to make linux aware of the increased size. This includes better integration between your virtual machine and the host machine, as well as improved video support that enables the display resolution options when using VMSVGA. Guest Additions is an extra piece of software that unlocks some more advanced features of VirtualBox.


Right click in the new partition and select linux-swap in the File system field.Previous step Next step 5.Right click in the unallocated space at the end and make it an extended partition.Shift-tab and the machine will work out the new size for you automatically Tab to the 'Free space following' field and enter the size of the swap partition. Read from VirtualBox/Install Arch Linux as a guestInstall the Guest Additions if your guest is Arch Linux, otherwise read the official VirtualBox help. install the guest additions inside the guest. Newly created VDI file is deleted from Step 4. If your disk is a VDI one, run: VBoxManage modifyhd yourvirtualdisk.vdi-resize thenew. Check the disk space on guest OS (CentOS) it will not show the increase Delete Snapshot. Right click on the root partition (/dev/sda1) and resize it. Increase VDI disk size with above command (VBoxManage.exe modifymedium) Reboot both windows and VBox.Right click on the extended file system that once housed the swap partition (/dev/sda2 in all likelihood) and delete it.Apply by clicking on the checkmark (Apply all operations).Make a note of the size of the linux-swap partition 4 GB in my case.Worst case scenario you trash this file and you have to use your backup instead. Note that you cannot harm the rest of your machine - this is all happening inside a single file. Get rid of the swap partition, which prevents you from expanding the root partition.
