Comparing operating systems¶
Practical 2.1 comparing-operating-systems-annex.pdf · PDF
Your aunt calls. Her laptop is from 2015, it still runs Windows 10, and a pop-up keeps telling her to upgrade. She asks you: "You study computers. Which one do I install?"
"The one I like" is not an answer a technician gives. In the OS census you counted a dozen systems in one classroom. Each one exists because it is the right answer for some person on some machine. This page gives you a method to find that answer — the same four questions every time — and a few commands to check whether a real PC can run a system at all.
What you will learn
- Place Windows, macOS, the Linux distributions, Android and iOS on a family map by kernel
- Define a Linux distribution and name two
- Compare systems with four questions: requirements, characteristics, field of use, licence
- Check a real PC against a requirements list, TPM and UEFI included
- Tell a desktop system from a server, an embedded system and a real-time one
- Why "it still works" is not the same as "it is still safe"
The family map¶
Start from what you already know: every OS has a kernel, and kernels come in designs (OS architecture). Group the systems by kernel and the map draws itself:
| Kernel | Design | Systems built on it |
|---|---|---|
| Windows NT | Hybrid | Windows 11, Windows Server |
| XNU (Apple) | Hybrid | macOS, iOS, iPadOS, watchOS — only on Apple hardware |
| Linux | Monolithic | The distributions (Debian, Ubuntu, Fedora...) and Android |
flowchart TB
subgraph NT ["Windows NT kernel"]
W11["Windows 11"]
WS["Windows Server"]
end
subgraph XNU ["XNU kernel: Apple hardware only"]
MAC["macOS"]
IOS["iOS / iPadOS"]
end
subgraph LNX ["Linux kernel"]
DEB["<b>Debian</b><br>made by volunteers"] -->|"Ubuntu is<br>built from Debian"| UBU["<b>Ubuntu</b><br>made by Canonical"]
FED["Fedora"]
AND["Android"]
end
A distribution (or distro) is a complete operating system built around the Linux kernel: the kernel plus the tools, a way to install software and usually a desktop, put together and kept up to date by a project or a company.
Debian is made by volunteers. Ubuntu is made by the company Canonical and is itself built from Debian. That is why what you learn on one works on the other — handy, because you will install both in this unit.
Careful: Linux is not one operating system
Linux is one kernel. There are hundreds of distributions around it, and Android is one more system on the same kernel. "I use Linux" means "I use some system with a Linux kernel".
The four questions¶
To compare two systems, always ask the same four things — and write them as the columns of a table:
| Question | What you look for |
|---|---|
| 1. Requirements | What hardware does it need? CPU, RAM, disk, firmware, special chips |
| 2. Characteristics | What does it give you? Interface, programs available, how long it gets updates |
| 3. Field of use | Where is it used? Desk, server, phone, inside a machine |
| 4. Licence | What are you allowed to do with it, and what does it cost? (next page) |
The rule for question 1: official page or it does not count. Not a blog, not a forum, not an AI answer. Requirements change between versions, and only the maker's page is the source of truth. In Practical 2.1 you fill the comparison table from these pages:
- Windows 11 —
microsoft.com/windows/windows-11-specifications - Ubuntu 26.04 LTS —
documentation.ubuntu.com/release-notes/26.04, section Requirements and compatibility - Debian 13 — the installation guide for amd64 on
debian.org, section 3.4 Meeting Minimum Hardware Requirements - macOS 27 —
support.apple.com, the list of compatible computers
Three things trip people up when reading them:
- Debian's table has two rows, No desktop and With desktop. Pick the one that matches what you will install.
- Apple gives a list of compatible Macs, not gigabytes. macOS is licensed only for Apple hardware — and version 27 only for Macs with Apple silicon.
- Minimum means "it installs and starts", not "it runs well". Comfortable use needs more.
Why updates matter¶
Question 2 includes something people forget: how long the system gets updates. Windows 10 support ended on 14 October 2025. Those PCs still start, but they receive no more security fixes. Every hole found from that day on stays open.
An operating system without updates is a house whose lock everybody has the key to. "It still works" is not the same as "it is still safe".
Many of those PCs cannot move to Windows 11 because of one line in its requirements. You will find which one in Practical 2.1.
Can this PC run it?¶
Reading a requirements list is half the job. The other half is knowing your own machine. On the classroom PC (Ubuntu), open a terminal and collect the facts:
LC_ALL=C lscpu | grep -E "Architecture|Model name|^CPU\(s\)"
free -h
df -h /
ls /sys/firmware/efi
cat /sys/class/tpm/tpm0/tpm_version_major
What each line tells you:
| Command | What to read | Meaning |
|---|---|---|
lscpu |
Architecture: x86_64 |
A 64-bit CPU. CPU(s) is the number of threads the OS sees; Model name is the exact CPU |
free -h |
total in the Mem: row |
RAM installed |
df -h / |
Size |
Size of the partition where Ubuntu lives — not the free space (Avail) |
ls /sys/firmware/efi |
Files listed, or No such file or directory |
Files: the PC started with UEFI. Error: old BIOS mode (Unit 1) |
cat .../tpm_version_major |
2, or No such file |
2 means TPM 2.0. Error: no TPM visible (missing, or switched off in the firmware setup) |
LC_ALL=C at the start forces English labels. If your PC is set to Spanish or Catalan, lscpu translates them and grep finds nothing.
A TPM (Trusted Platform Module) is a small security chip — or a function inside the CPU — that keeps secret keys safe, for example the key that encrypts your disk.
Careful: my PC is old, so I have to throw it away
An old PC usually fails one line of one system's list. A lighter system — for example a Linux distribution with a light desktop — can give it years. Recycling is the last option, not the first.
Systems without a desk¶
Everything so far is about the computer on your desk. Most operating systems in the world live somewhere else:
| Field | What changes | Examples |
|---|---|---|
| Server | Nobody sits at it. No desktop, runs for months, serves many users through the network | Ubuntu Server, Debian, Red Hat Enterprise Linux, Windows Server |
| Mobile | Touch, battery, apps from a store | Android (Linux kernel), iOS |
| Embedded | A computer hidden inside another machine, doing one job | A router, a smart TV, a car, a washing machine |
An embedded system is a computer built into another device to do one fixed job. Remember from Unit 1: a router is a computer — and it has an OS too.
Some embedded systems have a stricter promise to keep:
A real-time operating system (RTOS) guarantees an answer within a fixed time, always.
An airbag that opens "usually fast" is useless. It must open within a guaranteed number of milliseconds, every time. That guarantee — not raw speed — is what makes a system real-time.
Three facts to remember the range:
- Supercomputers: since November 2017, all of the 500 fastest computers in the world run Linux.
- Mars: NASA's rovers have used a real-time system from the company Wind River.
- Ingenuity, the small helicopter that flew on Mars in 2021, ran Linux: the first time Linux flew on another planet.
Careful: a server is a role, not a special box
Any computer that offers a service to others is a server. What changes is the operating system you choose and how you set it up. Most servers have no screen at all: you reach them through the network.
Making a recommendation¶
Back to your aunt. A good recommendation names one system and gives two reasons, each taken from the four questions. Look at how it works for a different client:
Worked example: a school web server
The client: a school needs a web server — a virtual machine with 2 GB of RAM, on day and night, nobody at the screen.
The answer: a server distribution without a desktop. Requirements: it fits in 2 GB because it has no graphical desktop to feed. Field of use: it is made to run for months unattended and be managed through the network.
Notice what is missing: "because it is better". Better for what, on which machine, for whom — that is the comparison. In Practical 2.1 you do the same for four clients, including a laptop very much like your aunt's.
Key takeaways¶
- Group systems by kernel: Windows NT (Windows), XNU (Apple, only on Apple hardware), Linux (the distributions and Android).
- A distribution is a complete OS built around the Linux kernel; Ubuntu (Canonical) is built from Debian (volunteers).
- Compare with four questions: requirements, characteristics (including updates), field of use, licence. Requirements come from the official page only.
- Windows 10 has had no security fixes since 14 October 2025: "it works" is not "it is safe".
- Check a PC with
lscpu,free -h,df -h /,/sys/firmware/efi(UEFI) and the TPM version. - Beyond the desk: servers, mobile, embedded systems and RTOS, which guarantee a response time.
Quick check¶
1. What is a Linux distribution?
- A complete operating system built around the Linux kernel
- A version number of the Linux kernel
- A free copy of Windows with a different desktop
- A pack of extra drivers for the Linux kernel
A distribution puts the Linux kernel together with tools, a way to install software and usually a desktop. Debian and Ubuntu are two of them; Android is another system on the same kernel.
2. On which computers can macOS 27 be installed?
- Macs with Apple silicon
- Any PC that started with UEFI
- Any PC that has a TPM 2.0 chip
- Any 64-bit computer with 8 GB of RAM
Apple licenses macOS only for its own hardware, and version 27 only for Macs with Apple silicon. That is why its requirements are a list of Macs, not gigabytes.
3. A web server in a virtual machine with 2 GB of RAM and no screen. Which system fits best?
- Ubuntu Server
- Windows 11
- macOS
- Ubuntu Desktop
A server system has no desktop to feed, so it fits in little RAM, and it is built to run unattended and be managed over the network. Desktop systems need more and give you things a server never uses.
4. What makes a real-time operating system special?
- It answers within a guaranteed time, every time
- It is faster than other systems at every task
- It works without any hardware underneath
- It only runs on the 500 fastest supercomputers
An RTOS promises a maximum response time — essential for an airbag or a rover. The point is the guarantee, not being fast on average.
5. On a classroom PC, ls /sys/firmware/efi answers No such file or directory. What does that tell you?
- The PC started in old BIOS mode, not UEFI
- The PC has no TPM chip installed
- The disk is too small for Windows 11
- Ubuntu is not installed on this PC
The folder /sys/firmware/efi exists only when the machine booted with UEFI. If it is missing, the PC started in legacy BIOS mode — which matters, because Windows 11 asks for UEFI with Secure Boot.
6. Windows 10 support ended on 14 October 2025. Pick the two that are true.
- Windows 10 PCs still start and work after that date
- Security holes found after that date are no longer fixed
- Windows 10 PCs stopped booting on that date
- Every Windows 10 PC was upgraded to Windows 11 automatically
End of support does not switch anything off: the PC keeps working. But it receives no more security fixes, so every new hole stays open. "It still works" is not "it is still safe".
7. Your neighbour wants to recommend an OS for a hospital machine and writes: Linux, because it is better. What is wrong with that reasoning?
- It gives no reason taken from requirements, characteristics, field of use or licence
- It should recommend Windows, because hospitals always use Windows
- It should give the kernel version instead of the system name
- It should list the minimum RAM of every system first
A recommendation needs reasons from the four questions: "better" for what, on which machine, for whom? For a machine where a crash can cost a life, a reason like a guaranteed response time (RTOS) or isolation is what counts.
Next: the fourth question deserves a page of its own — Software licences.