CentOS 6.4, Virtualbox, and You!

So this weekend, I went ahead and updated my VM at home. With that being said, I ran into problems getting 6.4 to boot, installing Virtualbox Guest Additions, and other things. Fear not, I documented my steps to help all of you out! I documented as I resolved the issue, hope this helps you not pull your hair out!

1. Stuck Progress Bar on boot after installing new release

Deleting the /etc/X11/xorg.conf and letting the guest OS create a new xorg.conf usually fixes the problem.

  1. Press any key during boot sequence.
  2. Press ‘e’ to edit boot commands
  3. Look for a line that begins with kernel and press ‘e’ on that line again.
  4. Add a 3 to the end of the line, save, and boot.

You should now be in command line when you boot. Login to your account, or root then:

[root@localhost~]# rm /etc/X11/xorg.conf

For those interested, here is a list of run level summaries.

  • Runlevel 0 and 6: halt and reboot the machine, respectively.
  • Runlevel 1: No services running, only root can login.
  • Runlevel 2: Users can login but no networking.
  • Runlevel 3: Networking and text-mode.
  • Runlevel 4: unused.
  • Runlevel 5: GUI.

2. VirtualBox Guest additions upgrade: install_x11_startup_app: no script given

Here’s what we get after trying to upgrade the Guest Additions:

Installing the Window System drivers Installing X.Org Server 1.11 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components ...fail!
(See the log file /var/log/vboxadd-install-x11.log for more information.)
Press Return to close this window... install_x11_startup_app: no script given

Before installing the new guest additions version, you need to remove manually 2 symlinks:

[root@localhost~]# rm /usr/lib64/VBoxGuestAdditions
[root@localhost~]# rm /usr/share/VBoxGuestAdditions

3. VirtualBox Guest Additions Upgrade: Building the OpenGL support Module FAILED

Try the following:

[myusername@localhost~] su -
Password:
[root@localhost~]# cd /media/VBOXADDITIONS_4.1.12_77245/
[root@localhost VBOXADDITIONS_4.1.12_77245]# export MAKE='/usr/bin/gmake -i'
[root@localhost VBOXADDITIONS_4.1.12_77245]# ./VBoxLinuxAdditions.run

2 thoughts on “CentOS 6.4, Virtualbox, and You!”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.