User Tools

Site Tools


oft_ubuntu_virtualbox_install

Installing Ubuntu in VirtualBox

This week on Open FOSS Training we will be installing Ubuntu in VirtualBox continuing from the last episode where we will setup a Virtual Machine.

We have a couple steps left before we can start our new virtual machine. First we need to head to http://www.ubuntu.com/download/desktop to download the ISO file we will need to install Ubuntu Linux.

Ubuntu Home Page

Here we are presented with two choices of which version of Ubuntu we would like to download. While running the latest greatest version of anything can be exciting, it can have it's issues. Given this we will Choose Ubuntu 14.04.3 LTS for our purposes. LTS stands for Long Term Support What this means is that the group supporting Ubuntu has pledged to support this version of Ubuntu for Longer than non LTS versions. Now Click the drop down under Choose your flavor and 32-bit for machines with less than 2GB of ram and click download.

Ubuntu Download Page

Here we are presented with the option of contributing money to help support Ubuntu's endeavours. While they do make it available completly for free it does cost money to host the infrasturcture and to help pay the many talented people who help bring together a Linux release. So if you would like choose how you would like money you donate to them to be spent, you can do that. Otherwise, as I will be doing for this demonstration click Not Now, take me to the download

Ubuntu Download Page 2

Here we are at the download page. The download should start automatically. If not click download now to start the download.
Now that the download has finished we can attach it to our virtual machine so we will be prepared to start it and install Ubuntu 14.04.3 Linux.
To attach the ISO we downloaded right click where it says OFT Ubuntu and choose settings.

OFT Ubuntu Settings

now we click storage

OFT Ubuntu Storage

Here is where we attach the ISO we downloaded earlier. Click on the slot that should say on your system Empty under Controller: IDE

Now click the drop down next to where it says Optical Drive IDE Secondary Master

OFT Ubuntu ISO Selection

Now choose Choose Virtual Optical Disk File and navigate to where you saved the ubuntu-14.04.3-desktop-i386.iso earlier. Click ubuntu-14.04.3-desktop-i386.iso and click open.

OFT Ubuntu ISO Selected

Click OK to close the OFT Ubuntu Settings Window.

We have completed setting up the OFT Ubuntu Virtual Machine. Next Episode we will Install Ubuntu.

VirtualBox Main Window

VirtualBox Main Window

VirtualBox Main Window

VirtualBox Main Window

click on OFT LINUX TEST SYSTEM, which we setup in the previous episode, and watch live enviroment bootup.

VirtualBox Main Window

here we are at the First screen which Ubuntu offers us when it boots up. Click Install Ubuntu to start the install process.

VirtualBox Main Window

Now we are presented with the preparing to install Ubuntu screen. It presents us with a couple options. As you can see we have met the miniumum requirements for disk size. Also it recommends that we are connected to the internet while we do the install. This allows Ubuntu Linux to update while we install the system and install mp3 support. Go ahead and click Download updates while installing and Install this third-party software so that we have an up to date system and mp3 support once we are done installing Ubuntu Linux. Now click Continue to move to the next step.

VirtualBox Main Window

Here we are presented with some special installation options. Encrypt the new Ubuntu installation for security. This will encrypt the hard drive making it very difficult for others to later read what information is on the drive. Go ahead and click Encrypt the new Ubuntu installation for security and notice that Use LVM with the new Ubuntu installation is automatically selected. LVM is a system which allows the storage of a system to be encrypted and extended. Click Install Now to continue.

VirtualBox Main Window

We are now presented with the Choose a security key: screen. Here we can create the password that will be used to decrypt our encrypted system. Enter unlock me as Choose a security key: and Confirm the security key:. Notice that it says Weak password on the same line as Choose a security key:. This is to show that the password I've choosen isn't as strong as it should be. For a day to day use I recomend you use a password as long and unique as you can remember to protect your data. Also check Overwrite empty disk space this will write random data to the entire disk to help ensure that nothing can be recovered from the system. Click Install Now to continue.

VirtualBox Main Window

We are now presented with the Write the changes to disks? screen. Click Continue to move forward.

VirtualBox Main Window

Now we are presented with the Where are you? screen. This screen allows us to set our geographical location. This information is used by the system to set the time of the computer. I am near Indianapolis, IN so I will use that for where I am but you should set this to something approrpiate to you. Click Continue to move forward.

VirtualBox Main Window

We are now presented with the Keyboard layout screen where we can set the keyboard layout that we wish to use. You can click on the settings approrpriate to you. I will click on Detect Keyboard Layout to use it to help me choose the proper keyboard layout for me.

VirtualBox Main Window

Here I pressed y from the list of options it gave me.

VirtualBox Main Window

Here I pressed w from the list of options it gave me.

VirtualBox Main Window

At this point I am presented with several more characters which don't appear on my keyboard. Click NO on every key which doesn't show up on your keyboard or YES as appropriate for your keyboard.

VirtualBox Main Window

Now that it has determined the keyboard layout click Continue to move forward in the process.

VirtualBox Main Window

We are now presented with the Who are you? screen which we use to create our user account on the system we are installing. For the sake of demonstration I will make recomendations as to what to enter on this screen, but if this were a personal system you would enter the information that you would like to in the future.

for Your Name enter User for Your computer's name enter OFT-Ubuntu for Pick a username enter user for choose a password enter password for Confirm your password: enter password Also click Encrypt my home folder to further encrypt the system. This will encrypt your personal data. If this system were used by multiple users then encrypting the home folder further protects our personal data from other users on the system. Something to further note is that username must start with a lowercase character.

Notice that after choose a password we get the warning Weak password. If this were a personal install I would recomend that you set a strong password of your own choosing but for the sake of this example set it as I have shown so that you can follow along easily. Click Continue to move forward in the install process.

VirtualBox Main Window

Here we are presented with the Install screen. This screen shows us the progress of the install. This screen will show us some interesting information about what we can do with our new system. Just wait for the to finish.

VirtualBox Main Window

Now that the install process is complete click Restart Now to reboot the system into the freshly installed system.

VirtualBox Main Window

Here because we choose an encrypted install the system will stop at this point. We have to manually restart the system.
VirtualBox Main Window

click machine then reset to reboot the machine

VirtualBox Main Window

Click Reset on this popup to verify that we want to reset the machine

VirtualBox Main Window

Here we are at the Ubuntu Splash Screen. Enter the password unlock me to unlock the hard drive and continue with the boot process.

VirtualBox Main Window

Here we are presented with the Ubuntu Splash Screen showing the unlock process of the hard drive.

VirtualBox Main Window

Here we are at the login screen. Enter the password password to login to the system.

VirtualBox Main Window

We are now logged into our system. Feel free to explore with the system as you would like.

VirtualBox Main Window

Here we are presented with the option to backup the encryption key for our home folder. If this were a system we were going to be used for anything of importance, I would highly recomend backing this up. Since this is a test machine we will skip this option for now. click Close to shutdown this window.

VirtualBox Main Window

When you are done exploring click the gear icon in the upper right corner. Then click Shutdown.. to shutdown the virtual machine.

VirtualBox Main Window

click the power button aka the button on the right to shutdown the system.

oft_ubuntu_virtualbox_install.txt · Last modified: 2016/03/08 10:11 by kittn