Virtualbox

From ElectroDragon
Jump to: navigation, search

Guest Addtions for Debian

  • Login as root;
  • Update your APT database with apt-get update;
  • Install the latest security updates with apt-get upgrade;
  • Install required packages with apt-get install build-essential module-assistant;
  • Configure your system for building kernel modules by running m-a prepare;
  • Click on Install Guest Additions… from the Devices menu, then run mount /media/cdrom.
  • Run sh /media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen.

Disk resize

  • VBoxManage list hdds
  • Change vmds to vdi
VBoxManage clonehd "F:\VM\VM_System\debian-8.5-2\debian-8.5-disk2.vmdk" "F:\VM\VM_System\debian-8.5-2\debian-8.vdi" --format vdi
  • resize to 16GB:
VBoxManage modifyhd F:\VM\VM_System\debian-8.5-2\debian-8.vdi --resize 15960
  • Use Gparted ISO tool to resize it, and remember to add swap at the end.

WIN OS

  • Set network connection to NAT, try control IC to yours
  • Win 8.1 remove usb filter to enable assigning USB

Network

  • Can use local network ss shared connection