Here's a simple procedure for configuring Virtual Box 4.1.18 from debian repository on Crunch Bang #! as some of my colleagues had asked me.
The below is a screenshot of the packages that would be installed during a virtualbox install
wiz@cb-DOC:~/$ sudo apt-get --simulate install virtualbox Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: cpp-4.6 dkms gcc-4.6 gcc-4.6-base libgsoap2 libqt4-opengl libvncserver0 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-headers-amd64 linux-kbuild-3.2 virtualbox-dkms virtualbox-qt Suggested packages: gcc-4.6-locales gcc-4.6-multilib libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold libvncserver0-dbg virtualbox-guest-additions-iso vde2 The following NEW packages will be installed: cpp-4.6 dkms gcc-4.6 gcc-4.6-base libgsoap2 libqt4-opengl libvncserver0 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-headers-amd64 linux-kbuild-3.2 virtualbox virtualbox-dkms virtualbox-qt 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. Inst libqt4-opengl (4:4.8.2+dfsg-11 Debian:7.3/stable [amd64]) Inst libvncserver0 (0.9.9+dfsg-1 Debian:7.3/stable [amd64]) Inst libgsoap2 (2.8.7-2 Debian:7.3/stable [amd64]) Inst virtualbox (4.1.18-dfsg-2+deb7u1 Debian:7.3/stable [amd64]) Inst dkms (2.2.0.3-1.2 Debian:7.3/stable [all]) Inst virtualbox-dkms (4.1.18-dfsg-2+deb7u1 Debian:7.3/stable [all]) Inst virtualbox-qt (4.1.18-dfsg-2+deb7u1 Debian:7.3/stable [amd64]) Inst gcc-4.6-base (4.6.3-14 Debian:7.3/stable [amd64]) Inst cpp-4.6 (4.6.3-14 Debian:7.3/stable [amd64]) Inst gcc-4.6 (4.6.3-14 Debian:7.3/stable [amd64]) Inst linux-headers-3.2.0-4-common (3.2.51-1 Debian:7.3/stable [amd64]) Inst linux-kbuild-3.2 (3.2.17-1 Debian:7.3/stable [amd64]) Inst linux-headers-3.2.0-4-amd64 (3.2.51-1 Debian:7.3/stable [amd64]) Inst linux-headers-amd64 (3.2+46 Debian:7.3/stable [amd64]) Conf libqt4-opengl (4:4.8.2+dfsg-11 Debian:7.3/stable [amd64]) Conf libvncserver0 (0.9.9+dfsg-1 Debian:7.3/stable [amd64]) Conf libgsoap2 (2.8.7-2 Debian:7.3/stable [amd64]) Conf virtualbox (4.1.18-dfsg-2+deb7u1 Debian:7.3/stable [amd64]) Conf dkms (2.2.0.3-1.2 Debian:7.3/stable [all]) Conf virtualbox-dkms (4.1.18-dfsg-2+deb7u1 Debian:7.3/stable [all]) Conf virtualbox-qt (4.1.18-dfsg-2+deb7u1 Debian:7.3/stable [amd64]) Conf gcc-4.6-base (4.6.3-14 Debian:7.3/stable [amd64]) Conf cpp-4.6 (4.6.3-14 Debian:7.3/stable [amd64]) Conf gcc-4.6 (4.6.3-14 Debian:7.3/stable [amd64]) Conf linux-headers-3.2.0-4-common (3.2.51-1 Debian:7.3/stable [amd64]) Conf linux-kbuild-3.2 (3.2.17-1 Debian:7.3/stable [amd64]) Conf linux-headers-3.2.0-4-amd64 (3.2.51-1 Debian:7.3/stable [amd64]) Conf linux-headers-amd64 (3.2+46 Debian:7.3/stable [amd64])
Download the Oracle Vbox extension package from here
To fireup the Extension menu usethe key combination (CTRL+G)
Navigate through File--> Preferences-->Extensions.
Once downloaded It can be browsed from the downloaded location usually in one's Download Directory `$HOME/Downloads`
Browse the Downloaded extension package and
proceed with self explanatory installation procedure.

This completes the VirtualBox Extension Pack installation

The Download can be launched from Menu bar, Devices-->Install Guest Additions..
(HOST keys+D)
The extension package will be downloaded to .VirtualBox Directory in one's home directory `$HOME`
Alternatively one can install the extension package from host machine's cli as below:
root@cb-DOC:~# cd .VirtualBox/ root@cb-DOC:~/.VirtualBox# mkdir /root/vboxext; mount -t iso9660 VBoxGuestAdditions_4.1.18.iso /root/vboxext root@cb-DOC:~/.VirtualBox# cd root/vboxext/-r-xr-xr-x 1 root root 647 Aug 17 2011 AUTORUN.INFroot@cb-DOC:~/vboxext# ls -lthatotal 48Mdrwxr-xr-x 3 root root 4.0K Dec 27 16:49 ..dr-xr-xr-x 4 root root 2.0K Jun 5 2012 .dr-xr-xr-x 3 root root 2.0K Jun 5 2012 32Bitdr-xr-xr-x 2 root root 2.0K Jun 5 2012 64Bit-r-xr-xr-x 1 root root 20M Jun 5 2012 VBoxSolarisAdditions.pkg-r-xr-xr-x 1 root root 7.4M Jun 5 2012 VBoxLinuxAdditions.run-r-xr-xr-x 1 root root 6.9K Jun 5 2012 autorun.sh-r-xr-xr-x 1 root root 5.4K Jun 5 2012 runasroot.sh-r-xr-xr-x 1 root root 13M Jun 5 2012 VBoxWindowsAdditions-amd64.exe-r-xr-xr-x 1 root root 7.1M Jun 5 2012 VBoxWindowsAdditions-x86.exe-r-xr-xr-x 1 root root 277K Jun 5 2012 VBoxWindowsAdditions.exe
Now, Running the executable VBoxLinuxAdditions.run
root@cb-DOC:~/vboxext# ./VBoxLinuxAdditions.run
You can go about creating the Virtual Network configuration, for Nat interface
and for Host-only Network, toggle your tab
Do mention it on your new type of adapter in VM settings, also accessible <ctlr + s >
Mounting the Shared folder from your host on to your linux VM
Login as root to your Linux VM.
#mkdir ~/vm-share
#mount -t vboxsf <share-name-host machine> ~/vm-share
Enjoy seamless share access.
HTH






No comments:
Post a Comment