(1) Select ONE virtual machine program and install it on your computer. The obvi
ID: 3767303 • Letter: #
Question
(1) Select ONE virtual machine program and install it on your computer. The obvious choices are Oracle Virtual Box and VMware series.
(2) Select ONE flavor of Linux OS and install it inside your VM as a guest OS.
(3) After a successful installation of both the VM and the guest OS, take a screenshot of your guest OS inside the VM using the print screen function on your host OS. Your screenshot must clearly show a terminal window inside Linux displaying an output of "uname -a" command.
(4) Summarize your experience, including a clear and easy to follow step-by-step installation process that you went through, and pointers (a.k.a. references) to resources that you used to accomplish this task. If you did everything by yourself without reading anything online, simply summarize what you did in a way that everyone can repeat it. You may also include some screenshots from your installation steps if they help explaining what you did better.
Your answer for this problem will include a write-up from step (4) and the screenshots from step (3). ONLY a successful installation will receive full credits. Partial credits will be given when warranted. (6 points)
Explanation / Answer
Installing VirtualBox
>This article explains how to install VirtualBox on a Debian based system.
deb http://download.virtualbox.org/virtualbox/debian oneiric contrib
deb http://download.virtualbox.org/virtualbox/debian natty contrib
deb http://download.virtualbox.org/virtualbox/debian maverick contrib non-free
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free
deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free
>First, add any one of the following mirrors based on your distribution in /etc/apt/sources.lst
>Next, download the public key and register with apt-key for signature verification
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- |
>Finally, installing VirtualBox as shown below.
sudo apt-get update
sudo apt-get install dkms
sudo apt-get install virtualbox-4.1
>After successful installation a command named “virtualbox” will be created. Also you can access VirtualBox from “Application -> System Tools” menu.
**Creating a Virtual Machine ( For Guest OS)
>Open Application -> System Tools -> VirtualBox ( Command name is “virtualbox” )
>Click Machine -> New. This will launch a “Create New Virtual Machine” wizard. Click Next.
>Enter the name of the Guest machine as you desire and choose the Operating system and Version that you are planning to install as follows, and click “Next”.
>Enter the RAM size that you want to provide to your Guest machine as follows.
>Now it will ask you to choose your “Virtual Hard Disk” for installing the guest OS as follows.
>Since this is the first time we are installing, click “Create New Hard disk”.
>Create “New Virtual Disk” wizard will open. Click Next
>Now we need to choose, whether the disk has to be “Dynamically expanding disk” or “Fixed-size storage”.
>Remember, for a guest machine, it sees a file residing in the host machine as the “Hard Disk”. Whenever a guest machine does any write to disk, it will be written into the file which resides on the host machine
>If we select “Fixed storage” and if we choose the size as 10GB then, in host machine ( by default under .VirtualBox/Guest-Machine/Guest-Machine.vdi ) a file will be created with 10GB of size
>If we select “Dynamic storage” then, .VirtualBox/Guest-Machine/Guest-Machine.vdi will initially be a small size file, but it will grow whenever the guest machine writes data to the disk.
>Choose “Dynamic storage” and click Next.
>Enter the maximum size that you want to allocate for the guest machine.
>Click Finish. Now a file named “Guest-Machine.vdi” will be created under “.VirtualBox/Guest-Machine/”
>Click “Finish” to complete the creation of Virtual Machine.
>Now a new “Virtual Machine” is created and it will be in “power off” state
3. Installing OS in a Virtual machine
>We can install any OS ( personally tested windows and linux ) on a virtual machine. We can install the OS in virtual machine by 2 methods
>Through OS-DVD
>Through ISO image of the OS
>Here we will cover the installation using an ISO image, although using DVD is very similar to this.
>Make sure that the iso file of your distribution is present in the host machine.
>Launch “virtualbox”. Select the newly created virtual machine. Click “Settings”.
>Now a new window will open which will list out the settings group on left panel and actual setting on the right side as follows.
>Select “System”. On the right panel ensure that the boot order is correct ( Similar to setting the boot order in BIOS ).
>Use the “Move Up” or “Move Down” button button to change the boot order, and make sure CD/DVD is selected as the “First boot device” and click “Ok”.
>The next step is to map the “ISO file” of your distribution to the virtual CD/DVD device.
>Under “Settings” go to “Storage”, the following screen will appear.
>click the “CD icon” and choose the “iso file of the OS”
>The following screen will appear once you have choosen the ISO file. Click “Ok”
>Now select the virtual machine, and click “Start”. It will start to boot from the CD/DVD which is mapped to the ISO file.
>The OS installation is similar to installing an OS in a physical machine.
>Once OS is installed successfully, change the “Boot Order” to boot from HDD, and click “Start”.
>Now you can start using the virtual machine as like other machines
Link for screenshots:
https://www.dropbox.com/sh/ogx5y72sl3qz63j/AABY6jmFVaBed33mbGROazB_a?dl=0
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.