Upgrading Linux Guests

Just last week Oracle released Oracle Linux 6.4 and so it was time that Fat Bloke updated his Oracle Linux guests.

So after a simple and quick:

 yum update

I was in a position to reboot into my freshly updated 6.4 vm. But after rebooting I found myself looking at a stuck screen that looked a little like this:

The reason for getting stuck like this was because the installed VirtualBox Guest Additions were configured for an older X11 server, and the new update had a newer version.

So here's how to fix this:

  1. At this screen, type Ctrl-Alt-F2 to get to another virtual display;
  2. login, and as root type: 
  3. /etc/init.d/vboxadd-x11 setup 

    like this:

  4. reboot
  5. et, voila!

Hope this helps,

-FB

Comments:

I've had exactly the same experience with VMs running development versions of Solaris. A good tip to post :-).

Posted by Dave Walker on March 06, 2013 at 07:13 PM GMT #

Thank you

I encountered this - I could see it was an X11 problem but couldn't work out how to solve it.

Pity I zapped the VM instance in frustration :) (and turned off scheduled software updates)

I will try the (long) upgrade again - which VitrualBox version were you using? I was just about to go to 4.2.8 before I tried again.

Thanks again

Posted by Jim Nicolson on March 06, 2013 at 10:46 PM GMT #

Thanks for great write-up -FB!

I ran into this exact issue with the upgrade to OEL 6.4, but I'm running VBoxHeadless in a Solaris 11.1 Zone, and can't seem to raise TTY2 in the Guest via RDP, and so the new OEL 6.4 is still hung in init 2.

How could I approach this? Will unregistering the VM and creating a 'new' vm with the existing .vdi allow me to boot the OEL Guest and reinstall the (4.2.8) VBox Guest Additions?

Thanks,

-D.

Posted by DR on March 12, 2013 at 09:17 PM GMT #

There's really no way to implement a fix for this in a VBoxHeadless environment, is there?

Posted by DR on March 14, 2013 at 05:02 AM GMT #

you can use ssh to login to the guest, then continue as above.

Posted by FatBloke on March 14, 2013 at 08:37 AM GMT #

Thank you for your reply, FB. SSH was my first thought as well, but "No route to host" on either of the Guest's bridged NICs.

I've recovered the important bits from backup, so I'll just cut my losses, and start anew.

Thank you very much for your efforts!

D.

Posted by DR on March 14, 2013 at 09:02 AM GMT #

Thank you for your reply, FB. SSH was my first thought as well, but "No route to host" on either of the Guest's bridged NICs.

I've recovered the important bits from backup, so I'll just cut my losses, and start anew.

Thank you very much for your efforts!

D.

Posted by DR on March 14, 2013 at 06:33 PM GMT #

Post a Comment:
Comments are closed for this entry.
About

Fat Bloke

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today