Difference between revisions of "VirtualBox"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with "==Notas== <source lang="bash"> VBoxManage getextradata "VM-NAME" enumerate #show variables VBoxManage setextradata "VM-NAME" KEY VALUE #set variable KEY with value VALUE <...") |
Rafahsolis (talk | contribs) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | ==Install== | ||
| + | === Kali === | ||
| + | apt-get install virtualbox-qt | ||
| + | ==== Old Method ==== | ||
| + | Debian:<br /> | ||
| + | Add this repo to /etc/apt/sources.list | ||
| + | deb http://download.virtualbox.org/virtualbox/debian vivid contrib | ||
| + | run to get apt-secure key: | ||
| + | wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - (old) | ||
| + | sudo su -c 'wget -q -O- http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | apt-key add -' | ||
| + | Install:<br /> | ||
| + | * Tip: install dkms first if not installed to add kernel updates support | ||
| + | <source lang="bash"> | ||
| + | sudo apt-get update | ||
| + | sudo apt-catche search virtualbox | ||
| + | sudo apt-get install virtualbox-(latest you see on apt-cache search) | ||
| + | </source> | ||
| + | * Tip: Install Oracle VM VirtualBox Extension Pack to add usb 2.0 and 3.0 support downloa here:<br /> | ||
| + | https://www.virtualbox.org/wiki/Downloads | ||
| + | |||
==Notas== | ==Notas== | ||
<source lang="bash"> | <source lang="bash"> | ||
| Line 21: | Line 41: | ||
VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N | VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N | ||
Where N can be one of 0,1,2,3,4 referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900 screen resolution respectively | Where N can be one of 0,1,2,3,4 referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900 screen resolution respectively | ||
| + | |||
| + | == Export to VMware == | ||
| + | # Stop the virtual machine | ||
| + | # File > Export Appliance | ||
| + | # Export to OVF | ||
Latest revision as of 19:41, 15 February 2019
Install[edit]
Kali[edit]
apt-get install virtualbox-qt
Old Method[edit]
Debian:
Add this repo to /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian vivid contrib
run to get apt-secure key:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - (old) sudo su -c 'wget -q -O- http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | apt-key add -'
Install:
- Tip: install dkms first if not installed to add kernel updates support
sudo apt-get update
sudo apt-catche search virtualbox
sudo apt-get install virtualbox-(latest you see on apt-cache search)
- Tip: Install Oracle VM VirtualBox Extension Pack to add usb 2.0 and 3.0 support downloa here:
https://www.virtualbox.org/wiki/Downloads
Notas[edit]
VBoxManage getextradata "VM-NAME" enumerate #show variables
VBoxManage setextradata "VM-NAME" KEY VALUE #set variable KEY with value VALUE
key, value examples
| KEY | VALUE |
|---|---|
| GUI/AutoresizeGuest | false |
| GUI/LastGuestSizeHint | 1920,949 |
| GUI/LastNormalWindowPosition | 1110,403,800,667 |
| CustomVideoMode1 | 1920x949x32 |
MAC OS Screen Resolution[edit]
VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N
Where N can be one of 0,1,2,3,4 referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900 screen resolution respectively
Export to VMware[edit]
- Stop the virtual machine
- File > Export Appliance
- Export to OVF