Ubuntu Installation

1 Objectives

Working in pairs, you will build a Linux-based virtualization host server on hardware provided in the class.

NOTE: please take care to install LVM as shown, creating some small logical volumes for the system but leaving most of the volume group unused, because later exercises will need to create more logical volumes from the free space.

Please also name your volume group “ganeti”, because this has to be consistent throughout a cluster of machines.

2 Install Ubuntu

It may be necessary to press a key (e.g. F12, DEL) to get the option to boot from the USB stick.

If all goes well, you’ll be presented with a menu suggesting different languages, with English pre-selected as the default.

We are going to install Ubuntu version 18.04.6 LTS. If you need to obtain a copy of this particular Ubuntu server version you can find the full install ISO image at:

https://releases.ubuntu.com/18.04/ubuntu-18.04.6-live-server-amd64.iso

Now we start by selecting Boot and install with the HWE kernel

Now press <ENTER> to Install ubuntu server

2.1 Partitioning

Here we will divide up your disk using Logical Volume Management. It is important to carefully follow these instructions so that you end up with:

* A new, primary ESP partition of 512MB to boot your machine using EFI
* A logical volume of 10GB in size called "root" that is mounted at "/"
* A logical volume of 10GB in size called "var" that is mounted at "/var"
* A volume group called "ganeti" that is the size of your entire disk minus the 512 MB use in the ESP partition. 

2.2 Logical Volume Management

2.3 Server Settings and software

Select [ Done ] and press <ENTER>

2.4 Installation Complete!

Congratulations!: You are now done installing Ubuntu Server version 18.04.6 LTS.