VirtualBox: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
adding shared directories: | adding shared directories: | ||
NB you need the kernel-headers and xorg packages (and possibly build-essential) installed. It's ok if the window system drivers fails. | NB you need the kernel-headers, gcc, make and xorg packages (and possibly build-essential) installed. It's ok if the window system drivers fails. | ||
- Install required packages with apt-get install build-essential module-assistant; | - Install required packages with apt-get install build-essential module-assistant; |
Revision as of 15:05, 14 June 2010
Sun virtualbox
/etc/apt/sources.list deb http://download.virtualbox.org/virtualbox/debian lenny non-free
package: virtualbox-3.2
adding shared directories:
NB you need the kernel-headers, gcc, make and xorg packages (and possibly build-essential) installed. It's ok if the window system drivers fails.
- 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.
or bash VBoxLinuxAddition-adm64.run
mount -t vboxsf tripshade-home /home
(nb it's not 'fs' it's 'sf')
Switching consoles
The normal way to switch consoles in Linux is to use the ctrl-alt-Fx key combination. This does not work for a VirtualBox virtual machine (VM); it will switch consoles for the host system instead.
You should use <Host Key>-Fx instead, where <Host Key> is the key defined in File->Preferences->Input. (is normally right ctrl)
This also works for ctrl-alt-del and ctrl-alt-backspace
vobxtool to start virtual machines headlessly on PM startup