Wednesday, 2 October 2013

Drag and Drop Problem in Virtual Box

Go to VirtualMachine's Settings->General->Advanced->Shared Clipboard (Bidirectional)
Reboot your virtual machine.

On the Network Adapter 1 page, no host-only network adapter is selected (problem in Virtual Box)

Probably, the virtual host-only network wasn't set up yet. Here's is how you can fix this:
  1. From the main menu, select File > Preferences (Ctrl+G) - NOT the settings of a single vm
  2. Select Network in the list on the left
  3. You should see an empty white box with "Host-only Networks" at the top. On the right, there are three buttons to manage them. Click the topmost one (with a green plus symbol). A new Host-only network will be created and added to the list.
Normally, the settings of the new network will be ok, but for completeness, I give the default values here. You can access the settings for the host-only network through the screwdriver button on the right.
  • Adapter:
    • IPv4 address: 192.168.56.1
    • IPv4 Network Mask: 255.255.255.0
  • DHCP server:
    • Enable server: checked
    • Server Address: 192.168.56.100
    • Server Mask: 255.255.255.0
    • Lower Address Bound: 192.168.56.101
    • Upper Address Bound: 192.168.56.254
You can change these settings to your liking, as long as they're consistent.

How to install Virtual Box in Backtrack-5

Backtrack 5 doesnt come with the kernel headers installed.So you will need to download them and then proceed with installing virtualbox. The commands are listed below
root@bt # prepare-kernel-sources
root@bt # cd /usr/src/linux
root@bt # cp -rf include/generated/* include/linux/

After this is done, edit /etc/apt/sources.list as shown below and download virtualbox
root@bt # echo deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free >> /etc/apt/sources.list
root@bt # wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
root@bt # apt-get update
root@bt # apt-cache search virtualbox
root@bt # apt-get install virtualbox-4.0
  
OR

just go on official site of virtualbox:
and then download following:
Ubuntu 10.04 LTS ("Lucid Lynx")  i386 |  AMD64 
i386 for 32 bit os
and AMD64 for 64 bit os

then type 
dpkg -i <name of your .deb file with its location>