stuck in reboot loop after (failed?) installation CentOS 5.2

Discussions related to using VirtualBox on Linux hosts.
Post Reply
booyah
Posts: 10
Joined: 9. Jan 2009, 06:46

stuck in reboot loop after (failed?) installation CentOS 5.2

Post by booyah »

I used the instructions hereto install VirtualBox-2.1.0_41146_rhel5-1.i386.rpm

Half way through the rpm install the server rebooted, though I'm not sure yet if it caused by the kernel changes made during the install, but pretty sure it was.

Now on boot it gets to 'Starting VirtualBox Kernel module' and then reboots.

Its stuck in this loop...

I'm going to use a boot cd to try and get in and work out the problem, but to be honest I'm not really sure exactly what to do to stop the server trying to load the VirtualBox Kernel Module, so if someone with experience could explain what I need to now that'd be highly appreciated!

I'd call myself intermediate unix user so no need to hold my hand, but any mention of the word kernel seems to make me scared...
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

You should have the option for a single user or recovery boot. Choose that from your boot menu. It should load a lot less, and hopefully skip the VB module. In this single user/recovery mode, you can try to remove, repair or reinstall VB.

If all this doesn't work, you can of course always boot a live CD from your distro and choose to recover your system. It should drop you to a command line with your / as root file system.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
booyah
Posts: 10
Joined: 9. Jan 2009, 06:46

Post by booyah »

thanks for the response. I managed to remove VB through single user mode as suggested.

I believe the problem is that I had a CentOS 5.2 installation in which I'd installed packages from the 'Virtualization' group. It looked like doing that made it install with a different kernel that had been altered to support Xen. Does this sound like it would cause the problem I had?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Ah, VB is not compatible with the Xen kernel, because you can't run two hypervisors at the same time. KVM has this same issue. VMWare would give an error if you would install it. You need a normal kernel (like the -generic, or -i686) if you want to run VB.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply