Tuesday, 15 November 2016

Fix: Oracle Linux 7 (or Red Hat) hangs on boot after installing new VirtualBox Guest Additions


After updating the Guest Addtions of a Oracle Linux 7 (or Red Hat) VM in Virtual Box, sometimes Linux hangs at the boot screen after reboot. I already posted a fix for this problem under OL 6.4 on my German Blog. It was just to Ctrl-Alt-F2 to get to another virtual display and run

/etc/init.d/vboxadd-x11 setup

Unfortunately that does not work anymore under OL 7.x, as there is no /etc/init.d/vboxadd-x11. The solution is just to run it from its new location, eg.

/opt/VBoxGuestAdditions-5.1.8/lib/VBoxGuestAdditions/vboxadd-x11 setup

and reboot.