Installing Ubuntu 24.04 LTS

Video 011 of 140 in Virtualization Foundations, in the unit “Setting up your lab machine”. 3:34, with English and Hindi audio.

The lab machine runs Ubuntu, a free Linux operating system. Before you install it, you need to pick the right release, check the machine has enough memory, processor support and disk space, and read the disk list carefully. This article covers each of these steps. The installer erases the disk you choose, so the disk step matters most.

What you will learn

Why Ubuntu 24.04 LTS is the release to pick

Ubuntu comes in two kinds of release. An LTS release, which stands for long term support, gets security fixes for five years. Ubuntu 24.04 is an LTS release. It came out in April 2024, and it is the release this lab uses.

Because the security fixes last five years, the same release stays supported for a long time. That makes it a steady base for a lab that you keep and use over months.

What the lab machine needs before you install

Firmware is the built-in software that starts the machine before any operating system runs. Switch virtualization on there. Disk images grow as virtual machines change, so the disk figure is a minimum, not a comfortable amount.

How to get Ubuntu onto the machine safely

Read the disk list before you erase anything

The installer shows each disk, and it erases the one you choose. Everything on that disk is lost. Imagine someone who clicks Continue without reading the list. If that disk held her photos and old project files, they are gone.

Read the disk names and sizes, and match them to what you expect, before you confirm. If the machine has a spare disk, choose only that one.

Note: Ubuntu also comes as a Desktop image, with windows and a mouse, or as a Server image, which you run from the terminal. The lab works with either. Desktop is the easier start, and many production hosts run as Server.

How to confirm the release after the install

After the install, confirm which release you have. The command below prints the release details of the system you are on.

Print the release details of the installed system
cat /etc/os-release

Note: The line named PRETTY_NAME should say Ubuntu 24.04 LTS. If it says anything else, stop and check the image you used.

Terms

LTS release
A long term support release of Ubuntu, which gets security fixes for five years.
Checksum
A short code computed from a file's contents. Change one byte, and the code changes.
Firmware
The built-in software that starts a machine before any operating system runs.

Check yourself

Why is Ubuntu 24.04 LTS a good choice for the lab?

It is a long term support release, so it gets security fixes for five years, which suits a lab you use over a long period.

What does the installer do to the disk you choose?

It erases that disk, so everything on it is lost. Read the disk names and sizes before you confirm.

Which line shows the release after the install, and what should it say?

The PRETTY_NAME line from cat /etc/os-release. It should say Ubuntu 24.04 LTS.

Previous: Does your CPU support virtualization?. Next: Installing the course packages.