Skip to content

VM_Generic_Setup

Barry Rountree edited this page Apr 21, 2020 · 1 revision

Virtual Machine Generic Setup

This page details how to attach an ISO image to the virtual CD and how to add Host-Only Networking to the existing NAT networking. These instructions should work for any recent Linux distribution. We'll use the Ubuntu 20.04 Focal Fossa (beta) Server Version as an example.

That iso available here http://releases.ubuntu.com/20.04/ubuntu-20.04-beta-live-server-amd64.iso

Note this is a beta release. Once the official release happens this link will no longer work. Also note this is the server version.

Starting from the VirtualBox Manager:

Screenshots/VirtualBoxManager_Initial.png

Click on New.

Screenshots/CreateVM_Initial.png

Fill in the blanks to suit.

Screenshots/CreateVM_Completed.png

Click on Create. The next screen concerns creating the hard disk.

Screenshots/CreateVirtualHD.png

The default values are fine. Click on Create.

At this point we have a working virtual machine that, were we to fire it up, would discover that no bootable media was available. So let's attach some. We start off on this screen:

Screenshots/VirtualBoxManager_PostCreate.png

Click on Settings.

Screenshots/SettingsGeneral_Initial.png

Click on Storage.

Screenshots/SettingsStorage_Initial.png

Under "Controller:IDE" there should be a CD-ROM icon labelled "Empty". Click on that. Its attributes appear on the right. Click on the CDROM icon in Attributes and choose the appropriate ISO file. That information will replace the "Empty" in the Storage Device column. Next, check the "Live CD/DVD" box in the Attributes column. Then click Ok. The screen should look like this just prior to clicking on Ok.

Screenshots/SettingsStorage_Final.png

Click on Settings again (as clicking on OK above closes the window) and then click on Network.

Adapter 1 defaults to NAT and being enabled. That's what we want. Click on the Adapter 2 tab and then click on the "Enable Network Adapter" checkbox. Select "Host-only Adapter" from the "Attached to:" drop-down menu. The "Name" field will be populated with the named Host Adapter we set up earlier.

Screenshots/SettingsNetwork_Final.png

Click ok. At this point we're ready to boot the machine from our virtual CD-ROM. Click on Start.

Clone this wiki locally