D.
Vignesh
VU22CSEN0100280
Virtual Machine Setup and Exporting
Task 1: Setting Up and Configuring a New
Virtual Machine
Step 1 – Download VirtualBox
You can download VirtualBox from the official Oracle VirtualBox website. VirtualBox can
be installed in Linux based operating systems such as Ubuntu, centOS etc., MacOSand
Windows. Download Windows version from here as I willbe using Windows 10 to install
VirtualBox.
Step 2 – Start the Installation process
Double click on the installer to launch the setup Wizard.Clickon next to
continue
Step 3 – Custom setup dialog box
You will see custom setup dialog box. There is not much to choose from. You can accept
the default and click next. If youwish to change the installation directory, you van change it
byclicking on the browse button and selecting the new directoryand clicking OK. Normally
I leave it as the default as the whole installation process does not take much space on your
hard drive.
Step 4 – Custom setup dialog box – Feature toInstall
Creating Entries and Shortcuts:
Ready to Install
Installing Files and packages:
Step 5 – Network Interface setup
This dialog box warns you about setting up a Network Interface. what this means
that VirtualBox will install networkinterfaces that will interact with the installed
virtual machines and the host operating system which in our case is windows.
This will temporarily disconnect you from the internet but thatOK, nothing to
worry
Step 6 – Ready to Install
You will see ready to install
Installing Files and packages:
Installing Certificates:
Step 8 - Finished Installation:
Step 9 – Launch VirtualBox application
After opening virtual box application it will be shown like this
Downloading and Installing Ubuntu
Before, we begin with the installation process, we need to download
ISOfile for Ubuntu. For that, all the versions of Ubuntu are available
on the official site
Step 1:
Open
VirtualBox
and click on the
New
button
Step 2:
Give a name to your Virtual Machine and select the location for it to install.
Step 3:
Assign RAM size to your Virtual Machine.
Step 4:
Create a Virtual Hard disk for the machine to store files.
Step 5:
Select the type of Hard disk. Using
VDI
type is recommended.
Step 6:
Either of the physical storage type can be selected. Using Dynamically
allocated disk is by default recommended.
Step 7:
Select disk size and provide the destination folder to install.
Step 8:
After the Disk creation is done, boot the Virtual Machine and begin
installing Ubuntu.
Step 9:
If the installation disk is not automatically detected. Browse the file location
and select the ISO file for Ubuntu.
Step 10:
Proceed with the installation file and wait for further options.
Step 11:
Click on the Install Ubuntu option, this might look different for other Ubuntu
versions.
Step 12:
Select Keyboard layout, if the defaults are compatible, just click on the
continue
button and proceed.
Step 13:
Select installation type. By default, it is set to Normal installation, which is
recommended, but it can also be changed to Minimal installation if there is no
need for all Ubuntu features.
Step 14:
Click on the
Install Now
button and carry on with the installation. Do not get worried with the
Erase disk
option, it will only be effective inside the virtual machine, other system files
outside the VirtualBox remain intact.
Step 15:
Click on the
continue
button, and proceed with writing changes on the disk.
Step 16:
Select your location to set the Time Zone.
Step 17:
Choose a name for your computer and set a passw
ord to
secure login info.
Step 18:
Wait for the installation process to complete.
Step 19:
Once the installation process is over, reboot y
our Virtual Machine.
Step 20:
Voila!! You’re finished with the installation process. Now you can use
Ubuntu along with Windows, without creating a dual boot.
Task 2: Exporting and Packaging an Existing
Virtual Machine
Step 1: Explanation of the Chosen Export Format
For portability, I've chosen the OVF (Open Virtualization Format)
as the export format. OVF is an open standard for packaging and
distributing virtual appliances, making it compatible with various
virtualization platforms.
Step 2: Step-by-Step Documentation of the Export Process
In VirtualBox, selected the VM (Virtual machine) and clicked on "File" ->
"Export Appliance."
Chose OVF as the export format.
Configured export settings (e.g., location, storage settings).
Initiated the export process.
Step 3: Documentation of the Testing Process
I imported the exported OVF file into a different virtualization software, VMware
Workstation, on another computer to ensure compatibility.
Opened VMware Workstation and selected "File" -> "Open."
Browsed to the exported OVF file and initiated the import process.
Successfully imported virtual machine from Oracle virtual box to VM ware
workstation
Running the virtual machine in vm ware workstation
Step 4: Issues Encountered and Resolutions
During the import into VMware Workstation, I encountered a minor issue with
network settings. The VM didn't automatically connect to the network. I resolved
this by adjusting the network adapter settings in VMware to the appropriate
network mode.