Skip to content

Planning an installation

Practical 2.3 planning-an-installation-annex.pdf · PDF

On Your first VM with virt-manager every number was given to you: 2 CPUs, 4096 MiB, 10 GiB. Who says those were the right ones?

Next week you install three operating systems. Before you click a single "Next", you will decide every number yourself — and prove it with the manufacturer's own documentation. A technician who installs first and reads later ends up in the story below.

What you will learn

  • Find the minimum and recommended requirements of a system in its official documentation, and tell them apart
  • Check a machine against them: architecture, RAM, disk, firmware, special chips
  • Measure what your host — the class server — can lend: CPU threads, RAM, free disk
  • Draw a simple partition plan and say what /, swap and the EFI System Partition are for
  • Choose the right installation medium: netinst, live or full image
  • Write a complete installation plan that another person could follow

The check nobody did

Windows 11 was released on 5 October 2021. For the first time, Windows refused to install on PCs that were perfectly fast: it asked for a small security chip called TPM 2.0 and a list of recent CPUs. Four years later, on 14 October 2025, Microsoft ended support for Windows 10. Offices found out that week that part of their PCs could not move to Windows 11.

The information had been public for four years, on one web page. Nobody had read it.

If you had been the technician of an office with 40 PCs in 2021, what should you have done? An inventory, and a check of every PC against the requirements. That is a plan.

Hiring a manager for the kitchen (we keep it all page)

The OS is the kitchen manager. Before you hire one, check that the kitchen is big enough for them: a manager who needs four countertops cannot work in a kitchen with two. The requirements are the manager's list of demands; your plan checks the kitchen against it.

The seven questions of a plan

Every installation plan answers the same seven questions. They are the sections of the Practical sheet:

# Question What you decide
1 What do I install? System, version, edition, architecture
2 Where? Which machine — and does it meet the requirements?
3 From what? The installation medium
4 How do I cut the disk? The partition plan
5 What is already there? Data to save first: a backup
6 Who? Computer name, users, passwords, network
7 And after? Updates, drivers, a snapshot

Requirements: minimum is not enough

The minimum requirements are the least hardware with which the system starts. The recommended requirements are what you need to work comfortably.

A plan uses the recommended figures unless there is a reason not to.

The figures come from the official documentation — not a blog, not a forum, not an AI answer. In Practical 2.3 you find them yourself, in pairs, starting from these pages:

System Where to look
Debian 13 debian.org → User Documentation → Installation Guide → amd64 → chapter 3.4 Meeting Minimum Hardware Requirements
Ubuntu Server 26.04 LTS ubuntu.com/server/docs → search system requirements
Windows 11 microsoft.com → search Windows 11 specifications

For each system you write down the CPU and architecture, minimum and recommended RAM, disk, firmware and any special hardware — plus the address of the page and the date you read it. Requirements change between versions.

Two traps waiting in those pages:

  • Debian's table has two rows, No desktop and With desktop. deb-lab has a desktop. A careless reader copies the wrong row.
  • A documentation page may say which release its figures were measured on, and warn that other releases differ slightly. That is honest documentation, not a mistake — which is exactly why you write down the date.

Careful: a fast PC cannot run just any system

Windows 11 refuses fast PCs without TPM 2.0. Requirements are a list, not a speed: one missing line is enough to say no.

Will it fit? Architecture, firmware, drivers

Architecture

The Debian and Ubuntu ISO names end in amd64. That is the 64-bit instruction set of Intel and AMD PCs. AMD designed it — hence the name — but Intel CPUs use it too. Linux also calls it x86_64: two names, same thing.

A phone or a recent Mac uses arm64: a different language for the CPU. An amd64 system does not start on an arm64 CPU, and the other way round. This is the first line of any plan.

The architecture is the instruction set — the language — a CPU understands. A system built for one architecture does not run on another.

Firmware and partition table

From The boot process:

Firmware Partition table Extra
BIOS (legacy) MBR —
UEFI GPT Needs a small EFI System Partition

Windows 11 demands UEFI. In virt-manager the firmware is a choice in the VM's settings, made before installing and not changed later. The course plan: the two Linux VMs (deb-lab, ubu-srv) use virt-manager's default, BIOS; win11 uses UEFI. You will see both.

Drivers

A requirement nobody writes: does the system have a driver for this Wi-Fi card, this graphics card? On a real PC, a live image is the cheapest test: boot it and see if the Wi-Fi works. In a VM the hardware is virtual and well known — with one exception you will meet when you install Windows 11.

Installation media in one breath

Medium What it is When
Netinst A small image (Debian's is 756 MB) that downloads the rest during the install A good network
Live Starts a full system without installing (as in the last practical) Try the hardware first
Full image Carries everything on the image Places with no network

The next page goes deeper: how to check the file you downloaded and put it on a USB stick.

What can my host lend?

Every VM borrows from the host. In this course the host is the class server, so that is what you measure. Open a terminal on your PC (Ctrl+Alt+T) and log in to it with the user and password from your slip:

ssh <user>@<server>                     # the prompt changes to <user>@si
nproc                                   # CPU threads of the host
free -h                                 # RAM: columns "total" and "available"
df -h ~/.local/share/libvirt/images     # free space where your VM disks live: column "Avail"
uname -m                                # architecture: x86_64 is the same as amd64
exit                                    # back to your PC

Then do the sum on paper. The three VMs of the course ask for:

VM vCPU RAM Disk Against the requirements
deb-lab 2 4 GB 25 GB Above recommended: the machine you will use most
ubu-srv 2 2 GB 20 GB Above minimum: enough for a server with no desktop
win11 2 4 GB 64 GB Exactly Windows 11's minimum. It will work; it will not fly
Total 6 10 GB 109 GB
  • All three at once? On a single PC with 16 GB of RAM: yes, 10 for the guests and 6 for the host. With 8 GB: no — one at a time, or deb-lab plus ubu-srv. The host needs RAM for itself too.
  • And on the class server? It has dozens of threads and tens of GiB of RAM, but it is the host of the whole class: multiply your 10 GB by the number of students. That is why the rule in class is shut down the VMs you are not using — the server is shared.
  • Do you need 109 GB free today? No: qcow2 disks grow as the guest writes. But the plan must say what happens if they all fill up.

Careful: “8 cores, so three VMs with 2 vCPUs leave me 2”

vCPUs are turns, not owned cores: CPU time can be shared. RAM cannot: memory given to a running VM is taken. RAM is the real limit.

Cutting the disk: the partition plan

A partition is a piece of a disk that the system treats as a separate disk.

Back in the kitchen: one big pantry, or shelves with labels? With shelves, if the "user files" shelf overflows, it does not bury the "system" shelf.

Piece What it is for When
/ (root) The system and, in a simple plan, everything else Always
swap Overflow space on disk for when RAM is full (Unit 1: the "40 tabs" feeling) Usual
EFI System Partition Small FAT32 partition where UEFI finds the bootloader Only with UEFI
/home The users' files on their own partition: reinstall the system without touching them Optional

The course's decision for a first install: everything in one partition plus swap — the installer's guided option. Separate /home, sizes, file systems and LVM come in Unit 4. But the plan still has to say so: "guided, whole disk, one partition" is a decision, written down.

Here is what the two plans look like:

flowchart LR
    subgraph DEB ["deb-lab · 25 GB · BIOS"]
        direction LR
        D1["<b>/</b> (root)<br>almost all the disk"] --- D2["<b>swap</b><br>small, at the end"]
    end
    subgraph WIN ["win11 · 64 GB · UEFI"]
        direction LR
        W1["<b>EFI System<br>Partition</b><br>small, first"] --- W2["<b>C:</b><br>the rest"]
    end

Windows also creates two small partitions of its own (a reserved one and a recovery one). You will see them in Unit 4.

Careful: swap is not extra RAM

Swap is disk used as overflow: thousands of times slower than RAM. It is a safety net, not memory.

Careful: “use entire disk” erases everything

On a real PC, choosing use entire disk erases everything on it — Windows and the family photos included. That is why question 5 of the plan (what is already there?) asks for a backup first. In a VM the disk is an empty file: the safe place to learn it.

The plan

The last part of Practical 2.3 is the plan table for the three VMs. Some answers are fixed by the course:

  • VM names: deb-lab, ubu-srv, win11
  • User: student, with the lab password your teacher gives
  • Network: virbr0 (NAT) — in the wizard, Bridge device... with device name virbr0
  • After the install: update, then take a snapshot called clean

The rest comes from your own research and measurements:

deb-lab ubu-srv win11
System and version
ISO file (exact name)
vCPU / RAM / disk
Firmware
Partitioning
Computer name / user
Network
After installing

For the ISO row, write the exact file name. The ISOs are on the server, not on your PC: log in with ssh and ls /srv/isos shows them. The test of a good plan: a classmate could build the three VMs from your table without asking you anything.

Type it as practical-2.3-surname.md with the lab report template and keep the paper sheet: you install from it next week.

Key takeaways

  • An installation plan answers seven questions: what, where, from what, how to cut the disk, what is already there, who, and after.
  • Minimum = it starts; recommended = you can work. Figures come from the official documentation, with the page and the date read.
  • First line of any plan: the architecture. amd64 (= x86_64) does not run on arm64.
  • BIOS goes with MBR; UEFI with GPT and an EFI System Partition. Windows 11 needs UEFI; the course's Linux VMs use BIOS.
  • Measure the host — the class server, over ssh — with nproc, free -h, df -h, uname -m. RAM is the limit; vCPUs are shared turns.
  • A simple partition plan: / (root) plus swap, and an EFI System Partition only with UEFI.

Quick check

1. A system lists minimum 1 GB, recommended 2 GB of RAM. What does minimum mean?
  • It starts, but may be too slow to work with
  • It is the best amount to work with
  • It is the most RAM the system can ever use
  • It is the amount the installer downloads

Minimum means the system starts. Recommended means you can work comfortably. A plan uses the recommended figures unless there is a reason not to.

2. An ISO file name ends in amd64. On which machine will it not start?
  • A computer with an arm64 CPU
  • A PC with an Intel CPU
  • A PC with an AMD CPU
  • A virtual machine on an Intel host

amd64 is the 64-bit PC architecture, used by both AMD and Intel. arm64 is a different CPU language, used by phones and recent Macs.

3. A host has 8 GB of RAM. Why can it not run deb-lab, ubu-srv and win11 together?
  • They ask for 10 GB of RAM in total
  • They ask for 6 vCPUs in total
  • The NAT network allows only two guests
  • qcow2 disks cannot share one host disk

4 + 2 + 4 = 10 GB, more than the host has, before the host's own needs. vCPUs are shared turns, but RAM given to a running VM is taken.

4. Which partition exists only when the firmware is UEFI?
  • The EFI System Partition
  • swap
  • / (root)
  • /home

UEFI finds the bootloader in a small FAT32 EFI System Partition. With BIOS and MBR there is no such partition. That is why only win11's plan has one.

5. Where do the figures of an installation plan come from?
  • The system's official documentation, with the date read
  • The first blog in the search results
  • What worked on a friend's PC last year
  • The size of the ISO file

Only the maker's official documentation is the source of truth, and it changes between versions — so the plan records the page and the date it was read.

6. uname -m prints x86_64 and the Debian ISO is called debian-13-amd64. What do you conclude?
  • They are two names for the same architecture, so it will run
  • The ISO is only for AMD CPUs and will fail on Intel
  • You need an arm64 ISO for this PC
  • The PC is 32-bit and needs a different image

x86_64 and amd64 name the same 64-bit PC architecture. The check passes; it is the first line of the plan.

7. A family asks you to install Linux on their only PC, which has Windows and years of photos. Pick the two steps your plan must include.
  • Back up the photos before touching the disk
  • Check the PC against the official requirements of the chosen system
  • Choose use entire disk, because it only erases free space
  • Copy the RAM figure from a forum post about a similar PC

Question 5 of the plan — what is already there? — means a backup first, because use entire disk erases everything. Question 2 — where? — means checking the machine against the official requirements.

8. In class, you want to know how much RAM your VMs can borrow. Where do you run free -h?
  • On the class server, after logging in with ssh
  • On your classroom PC, in a normal terminal
  • Inside a guest, after starting the VM
  • In virt-manager's New VM wizard, before Finish

The RAM a VM borrows comes from the host, and in this course the host is the class server. Your PC only shows the VM's screen, and a guest only sees the slice it was given.

Next: your plan names an ISO file. How do you know the file you downloaded is the real one? Verify an ISO and make boot media.