There are some instances when we can not get the GUI working and need to install the VBoxGuestAdditions and this can be done using command line as below:
1. SSH to server
2. Download the correct version of VBoxGuestAdditions_X.X.XX.iso from http://download.virtualbox.org/virtualbox/
3. mkdir dir /test
4. mount the iso to /test
5. go to directory and install it.
[root@rac1 sf_vshare]# cd
[root@rac1 ~]# mkdir harvey
[root@rac1 ~]# cd harvey
[root@rac1 harvey]# wget http://download.virtualbox.org/virtualbox/4.3.20/VBoxGuestAdditions_4.3.20.iso
[root@rac1 /]# mkdir /test
[root@rac1 harvey]# cd /root/harvey
[root@rac1 harvey]# mount -o loop VBoxGuestAdditions_4.3.20.iso /test
[root@rac1 harvey]#
[root@rac1 harvey]#
[root@rac1 harvey]# cd /test
[root@rac1 test]# ls -l
total 50808
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 32Bit
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 64Bit
-r-xr-xr-x. 1 root root 647 Sep 12 22:10 AUTORUN.INF
-r-xr-xr-x. 1 root root 6966 Nov 22 01:57 autorun.sh
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 cert
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 OS2
-r-xr-xr-x. 1 root root 5523 Nov 22 01:57 runasroot.sh
-r-xr-xr-x. 1 root root 7146957 Nov 22 01:58 VBoxLinuxAdditions.run
-r-xr-xr-x. 1 root root 16434176 Nov 22 01:59 VBoxSolarisAdditions.pkg
-r-xr-xr-x. 1 root root 17356976 Nov 22 02:00 VBoxWindowsAdditions-amd64.exe
-r-xr-xr-x. 1 root root 312384 Nov 22 01:56 VBoxWindowsAdditions.exe
-r-xr-xr-x. 1 root root 10754048 Nov 22 01:57 VBoxWindowsAdditions-x86.exe
[root@rac1 test]#
[root@rac1 test]#
[root@rac1 test]#
[root@rac1 test]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.20 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.2.16 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules[ OK ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module[ OK ]
Building the shared folder support module[ OK ]
Building the OpenGL support module[ OK ]
Doing non-kernel setup of the Guest Additions[ OK ]
Starting the VirtualBox Guest Additions [ OK ]
Installing the Window System drivers
Installing X.Org Server 1.15 modules[ OK ]
Setting up the Window System to use the Guest Additions[ OK ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components[ OK ]
[root@rac1 test]#
1. SSH to server
2. Download the correct version of VBoxGuestAdditions_X.X.XX.iso from http://download.virtualbox.org/virtualbox/
3. mkdir dir /test
4. mount the iso to /test
5. go to directory and install it.
[root@rac1 sf_vshare]# cd
[root@rac1 ~]# mkdir harvey
[root@rac1 ~]# cd harvey
[root@rac1 harvey]# wget http://download.virtualbox.org/virtualbox/4.3.20/VBoxGuestAdditions_4.3.20.iso
[root@rac1 /]# mkdir /test
[root@rac1 harvey]# cd /root/harvey
[root@rac1 harvey]# mount -o loop VBoxGuestAdditions_4.3.20.iso /test
[root@rac1 harvey]#
[root@rac1 harvey]#
[root@rac1 harvey]# cd /test
[root@rac1 test]# ls -l
total 50808
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 32Bit
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 64Bit
-r-xr-xr-x. 1 root root 647 Sep 12 22:10 AUTORUN.INF
-r-xr-xr-x. 1 root root 6966 Nov 22 01:57 autorun.sh
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 cert
dr-xr-xr-x. 2 root root 2048 Nov 22 01:01 OS2
-r-xr-xr-x. 1 root root 5523 Nov 22 01:57 runasroot.sh
-r-xr-xr-x. 1 root root 7146957 Nov 22 01:58 VBoxLinuxAdditions.run
-r-xr-xr-x. 1 root root 16434176 Nov 22 01:59 VBoxSolarisAdditions.pkg
-r-xr-xr-x. 1 root root 17356976 Nov 22 02:00 VBoxWindowsAdditions-amd64.exe
-r-xr-xr-x. 1 root root 312384 Nov 22 01:56 VBoxWindowsAdditions.exe
-r-xr-xr-x. 1 root root 10754048 Nov 22 01:57 VBoxWindowsAdditions-x86.exe
[root@rac1 test]#
[root@rac1 test]#
[root@rac1 test]#
[root@rac1 test]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.20 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.2.16 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules[ OK ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module[ OK ]
Building the shared folder support module[ OK ]
Building the OpenGL support module[ OK ]
Doing non-kernel setup of the Guest Additions[ OK ]
Starting the VirtualBox Guest Additions [ OK ]
Installing the Window System drivers
Installing X.Org Server 1.15 modules[ OK ]
Setting up the Window System to use the Guest Additions[ OK ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components[ OK ]
[root@rac1 test]#
No comments:
Post a Comment