VirtualBox-HowTo

From ArchWiki

Jump to: navigation, search


Image:Tango-dialog-warning.png This article is out of date.
It may contain out-dated information, check the Virtualbox page.

VirtualBox (OSE)

Version 1.6.2 =>

To install the native OS, create one new partition, one folder, and add one line in /etc/fstab (sample):

/dev/sda7 /mnt/virtual vfat user,uid=rasat,gid=users 0 0

To open Virtalbox display, terminal run:

# VirtualBox

Or in KDE menu, select: <System><Sun xVM Virtualbox>

1. Press "New" (give a name, select OS Type) -- Next
   (Keep recommended memory size) -- New
   (Select "Dynamically expanded image) -- Next
   (In "Image File Name" browse for e.g. /mnt/virtual and give a name e.g. "xp")
   (Image Size as per the partition) -- Next -- Finish
   Next -- Finish
2. Press "Settings"
   - CD/DVD-ROM tickmark "Mount CD/DVD Drive"
   - Audio tickmark "Enable Audio"

Insert OS CD

3. Press "Start"
   (OK for capturing keyboard)
   (Unpartitioned space)

Keyboard and mouse between the host and the guest

To capture the keyboard and mouse, click the mouse inside the Virtual Machine display.
To uncapture, "Ctrl-Alt Delete"

To move freely the mouse between the host and guest, install "Guest Additions"

Guest Additions

The Guest Additions make the shared folders feature available, as well as better video (not 3D) and mouse drivers. You will have mouse integration, thus no need to release the mouse after using it in the guest and one can also enable a bidirectional clipboard.

After you booted the virtual machine, go to menu Devices->Install Guest Additions...

Yes (when asked to download the CD image)
Mount (when asked to register and mount)

Sharing folders between the host and the guest

  • NOTE: You need to install Guest Additions in order to use this feature.

In a Linux host, creat one folder for sharing files e.g. /home/rasat/Share

In virtual machine display, go to menu Devices->Shared Folders...

Click at icon "Add a new shared folder (Ins)
Browse for /home/rasat/Share -- OK

In a Windows guest, open Windows Explorer and look for it under:

My Networking Places --> Entire Network --> VirtualBox Shared Folders --> \\Vboxsvr\share
Personal tools