CentOS stuck at boot screen progress bar

Posted: January 14, 2014 in Linux
Tags: ,

I have a CentOS 6 running in a VirtualBox. After the recent VirtualBox 4.3.6 update, CentOS won’t boot any more. It always stopped when booting progress bar reaches 100%.

First we need login to the system to see whether we can find any error log.

  • Linux has a Single User mode, you can restart the CentOS and press any key in the grub splash screen to enter the grub interactive menu screen.
  • You will see all the available kernels or OSes you have installed. Highlight the kernel you want to boot into and press e.
  • You will see another screen with a few lines of commands.
  • Find the line starting with kernel, move the up/down key to highlight it and press e to edit it.
  • You will see a long line of command. Append the word single to it. Press Enter, then press b to boot into it.

Now you will login to Single User mode. Type startx to try to start X11 and you should be able to see some errors. You can also check other log files like /var/log/messages …

In my case, it’s because of the VirtualBox Guest Addition. To fix it, you can re-install the guest addition.

  • Click Insert Guest AdditionS CD Image in VirtulBox Menu->Devices
  • Mount the CD to a folder: mount /dev/cdrom /mnt/vbox
  • cd /mnt/vbox
  • ./VBoxLinuxAdditions.run

Now the VirtualBox Guest Additions will be re-installed.

To avoid this to happen again, I also change the /etc/inittab to set the system to always boot to text mode.

  1. Hi,
    Recently I also came across this issue. I suspect the reason to be the same as of yours. But I am not able to login as single user into the VM. I also keep on ending up on the same point where the bar loads and system hangs. Am I doing something wrong?

  2. mischorradas says:

    Thanks! Installing the Guests Additions fixed the problem 😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s