Problem with guest additions in Red Hat 3

This is for discussing general topics about how to use VirtualBox.
Post Reply
Dr_Asik
Posts: 3
Joined: 9. Jun 2009, 19:47
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows 7, ubuntu, red hat

Problem with guest additions in Red Hat 3

Post by Dr_Asik »

Hello,

I'm running Ubuntu 9.04 native here, and I have an old program I need to install. The installer only works with older versions of Linux, so I created a Red Hat 3 virtual machine using Virtual box 2.2.4. Now the installer is in a directory on the host system, I'd like to open a shared folder between the Red Hat guest and Ubuntu. When I try to mount it using mount -t vboxsf blabla, I get the following error :

Code: Select all

mount: fs type vboxsf not supported by kernel
So I suppose I have to install the guest additions on the guest. When I attempt to run VboxLinuxAdditions-x86.run, however, I get the following error :

Code: Select all

Please install the build and header files for your current Linux kernel.
The current kernel version is 2.4.21-58.EL
This system does not seem to have support for OpenGL direct rendering.
VirtualBox requires Linux 2.6.27 or later for this. Please see the log 
file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still 
see this message.
Problems were found which would prevent the Guest Additions from isntalling.
Please correct these problems and try again.
The guest is fully up-to-date, and I have tried adding -x11 to the command and this only eliminates the warning about OpenGL.
On VirtualBox's guest oses page, I see that Red Hat 3 is supported "With Additions", so I must be doing something wrong. Can someone help me with this problem? Thanks.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Problem with guest additions in Red Hat 3

Post by baf »

Install the kernel header files.
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.4.21-58.EL
This is not installed by default.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
Dr_Asik
Posts: 3
Joined: 9. Jun 2009, 19:47
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows 7, ubuntu, red hat

Re: Problem with guest additions in Red Hat 3

Post by Dr_Asik »

Ok, how can I do that? I have tried

up2date -i kernel-source-2.4.21-58.EL.i386.rpm

but it cannot find the package. I can't seem to find the package anywhere manually either.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Problem with guest additions in Red Hat 3

Post by baf »

Guesswork!!

up2date kernel-source

or try
up2date -l
to see what's available
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
Dr_Asik
Posts: 3
Joined: 9. Jun 2009, 19:47
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows 7, ubuntu, red hat

Re: Problem with guest additions in Red Hat 3

Post by Dr_Asik »

Thanks. I managed to install the guest additions. Now I have weird problem : the desktop resolution is too large to fit the small window Virtual Box gives it. The desktop scrolls when my cursor hits the border of the window, and the cursor itself is displayed in the wrong place, I see it over an icon but it's actually at another place, making it very hard to click on anything. I can't disable mouse integration either.

When I installed the guest additions, I got the message that OpenGL direct acceleration wasn't supported, and it doesn't matter whether I enable 3D acceleration or not I still get that problem. I tried changing the resolution inside Red Hat but this didn't help at all, it looks like it didn't even register the change even after a restart. It says the monitor is an "Unprobed monitor with VESA drivers (generic)." The machine is barely usable in this current form.

Update : well in the Monitor Type window I specified it was 1280x1024 (my native resolution) and this at least stabilized the desktop, making it usable. It doesn't scale when I CTRL-F or resize the window, but at least it's usable.
Post Reply