Difference between revisions of "VirtualBox"

From Eugene Eric Kim
(VirtualBox as service links)
m (13 revisions imported: Imported from WebFaction on September 13, 2021 with Interwiki prefix Eekim)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Installing from CD/DVD-ROMs ==
In order to access CD-ROMs or DVD-ROMs, you have to make sure those are mounted on Linux first. In my setup, when I have VirtualBox running, discs don't automatically mount. This caused some confusion, as I was trying to install some Windows apps, which didn't mount automatically, and so when I tried to access them from Windows, it complained that the "disc may be corrupted." The disc wasn't corrupted; it just wasn't mounted!
== Configuration ==
== Configuration ==


I have two virtual machines:
I have one virtual machine, Vista, which is my installation of [[Windows Vista]].
 
== Installation ==
 
I'm using the non-free version, which has some additional support.
 
* [http://www.virtualbox.org/wiki/Linux_Downloads Download and installation]
 
When I've played with VirtualBox in the past, in order to install my copy of [[Windows Vista]], which is tied to the BIOS on my [[Dell Inspiron 531]], I've had to [http://www.virtualbox.org/manual/UserManual.html#changedmi configure the BIOS DMI], which I never bothered doing. No need with VirtualBox 3.0! Installation works out of the box. Yeah!


# NAS
I did have one problem with Vista installation, however. Update returned Error Code 80073712. I found [http://forums.techarena.in/windows-update/781179.htm#post3021875 some suggestions] on the Internet, and the problem was easily solved.
# Vista


The first is my home NAS running [[Ubuntu]] server (see [[Home Network]] for details). I want to run this headless:
After successful installation, start the VM and [http://www.ghacks.net/2009/06/17/install-guest-additions-for-a-better-virtualbox-experience/ install guest additions] by going under Devices and selecting "Install Guest Additions." This will allow more seamless integration between Vista and Linux.


<pre>VBoxHeadless -startvm NAS &</pre>
I also configured [http://maketecheasier.com/share-files-in-virtualbox-between-vista-guest-ubuntu-host/2008/11/12 Shared Folders].


The second is an installation of [[Microsoft Vista]].
== Virtual File Server ==


* [http://wiki.flexion.org/VirtualBox.html Auto Start VirtualBox Guests]
I experimented with another virtual machine, NAS, running [[Ubuntu]] server. I wanted to run this headless:
* [http://ubuntuforums.org/showthread.php?t=701735 Start a VirtualBox VM as a service]
* [http://www.glump.net/howto/virtualbox_as_a_service How to setup VirtualBox as a service]
* [http://farfewertoes.com/stories/2008-03-09-start-virtualbox-virtual-machines-on-boot/ Start VirtualBox virtual machines on boot]


== Installation ==
<pre>VBoxHeadless -startvm NAS &</pre>


I'm using the non-free version, which has some additional support.
I created and installed an init.d script using [http://www.glump.net/howto/virtualbox_as_a_service this script] as a starting point.


* [http://www.virtualbox.org/wiki/Linux_Downloads Download and installation]
It worked beautifully, but I realized it was unnecessary.


When I've played with VirtualBox in the past, in order to install my copy of [[Windows Vista]], which is tied to the BIOS on my [[Dell Inspiron 531]], I've had to [http://www.virtualbox.org/manual/UserManual.html#changedmi configure the BIOS DMI], which I never bothered doing. No need with VirtualBox 3.0! Installation works out of the box. Yeah!
One potential issue was with disk size. I had configured a 750GB virtual disk, then realized that I didn't know [[Wikipedia:Ext3|ext3]]'s file size limits. Turns out that for 4KB block sizes (which is what I have), it's 2TB, which was plenty for my needs.

Latest revision as of 19:32, 13 September 2021

Installing from CD/DVD-ROMs

In order to access CD-ROMs or DVD-ROMs, you have to make sure those are mounted on Linux first. In my setup, when I have VirtualBox running, discs don't automatically mount. This caused some confusion, as I was trying to install some Windows apps, which didn't mount automatically, and so when I tried to access them from Windows, it complained that the "disc may be corrupted." The disc wasn't corrupted; it just wasn't mounted!

Configuration

I have one virtual machine, Vista, which is my installation of Windows Vista.

Installation

I'm using the non-free version, which has some additional support.

When I've played with VirtualBox in the past, in order to install my copy of Windows Vista, which is tied to the BIOS on my Dell Inspiron 531, I've had to configure the BIOS DMI, which I never bothered doing. No need with VirtualBox 3.0! Installation works out of the box. Yeah!

I did have one problem with Vista installation, however. Update returned Error Code 80073712. I found some suggestions on the Internet, and the problem was easily solved.

After successful installation, start the VM and install guest additions by going under Devices and selecting "Install Guest Additions." This will allow more seamless integration between Vista and Linux.

I also configured Shared Folders.

Virtual File Server

I experimented with another virtual machine, NAS, running Ubuntu server. I wanted to run this headless:

VBoxHeadless -startvm NAS &

I created and installed an init.d script using this script as a starting point.

It worked beautifully, but I realized it was unnecessary.

One potential issue was with disk size. I had configured a 750GB virtual disk, then realized that I didn't know ext3's file size limits. Turns out that for 4KB block sizes (which is what I have), it's 2TB, which was plenty for my needs.