I have installed Manjaro 18.1 as a VM using VirtualBox. Tried to use the default configuration using Type = Linux, Version = Arch Linux (64-bit) as Manjaro was not availabe as an option when creating a VM in VirtualBox. Unfortunately, this sets the Graphics Controller to VMSVGA which was too late for me to learn as this prevents resizing of the VM display.
Anyway, to fix this, do the following.
Update Manjaro for good measure
If kernel is updated, restart the VM:
Get the kernel in use as this will be needed later.
Mine shows this
Install VirtualBox guest utils
At a later point it will ask for VIRTUALBOX-GUEST-MODULES, this will be the kernel guest module that needs to be installed which should match with the running kernel. For example in my VM, console output shown below, I have to select 7 as I am running kernel 5.4 (5.4.13-3-MANJARO).
Remove video driver for VMware as this is not needed anymore.
Next up is to shutdown the VM as we need to change the configuration.
Once the VM is down, change configuration Graphics Controller to VBoxVGA ( Settings | Display | Graphics Controller to VBoxVGA). Start the VM, login and resize the VM window size - should work by now. You might need to click inside the VM to force it to resize.
Reference:
https://unix.stackexchange.com/questions/499938/manjaro-guest-on-virtualbox-not-able-to-get-the-full-resolution
Anyway, to fix this, do the following.
Update Manjaro for good measure
$: sudo pacman -Syu
If kernel is updated, restart the VM:
$: sudo reboot
Get the kernel in use as this will be needed later.
$: uname -r
Mine shows this
5.4.13-3-MANJARO
Install VirtualBox guest utils
$: sudo pacman -S virtualbox-guest-utils
resolving dependencies... :: There are 11 providers available for VIRTUALBOX-GUEST-MODULES: :: Repository extra 1) linux316-virtualbox-guest-modules 2) linux414-virtualbox-guest-modules 3) linux419-virtualbox-guest-modules 4) linux44-virtualbox-guest-modules 5) linux49-virtualbox-guest-modules 6) linux53-virtualbox-guest-modules 7) linux54-virtualbox-guest-modules 8) linux55-virtualbox-guest-modules :: Repository community 9) linux419-rt-virtualbox-guest-modules 10) linux54-rt-virtualbox-guest-modules 11) virtualbox-guest-dkms Enter a number (default=1): 7
Remove video driver for VMware as this is not needed anymore.
$: sudo mhwd -r pci video-vmware
Next up is to shutdown the VM as we need to change the configuration.
$: sudo shutdown -h now
Once the VM is down, change configuration Graphics Controller to VBoxVGA ( Settings | Display | Graphics Controller to VBoxVGA). Start the VM, login and resize the VM window size - should work by now. You might need to click inside the VM to force it to resize.
Reference:
https://unix.stackexchange.com/questions/499938/manjaro-guest-on-virtualbox-not-able-to-get-the-full-resolution
Comments