Sunday, July 11, 2010

Installing VirtualBox Additions in RHEL5.5 VM (x86)

1. Install required packages.
[root@rhel5 Server]rpm -ivh kernel-devel-2.6.18-194.el5.i686.rpm rpm -ivh gcc-4.1.2-48.el5.i386.rpm glibc-devel-2.5-49.i386.rpm glibc-headers-2.5-49.i386.rpm kernel-headers-2.6.18-194.el5.i386.rpm libgomp-4.4.0-6.el5.i386.rpm 
2. Mount VBoxGuestAdditions.iso and copy an installation file.
[root@rhel5 ~]# cd /media/VBOXADDITIONS_3.2.6_63112/
[root@rhel5 VBOXADDITIONS_3.2.6_63112]# ls
[root@rhel5 VBOXADDITIONS_3.2.6_63112]# cp VBoxLinuxAdditions-x86.run /tmp/
[root@rhel5 VBOXADDITIONS_3.2.6_63112]# cd /tmp/
3. Install Additions.
[root@rhel5 tmp]# ./VBoxLinuxAdditions-x86.run 
4. Reboot.
[root@rhel5 tmp]# reboot