Based on the Linux Master 2 exam syllabusReport an error
| Item | Why check it |
|---|---|
| Architecture | x86_64 (most PCs), ARM (Raspberry Pi, Apple silicon) — the images differ |
| CPU virtualization support | If you'll use a virtual machine, VT-x/AMD-V must be enabled |
| Memory and disk | Minimum requirements differ by distribution. They grow greatly if you use a GUI |
| Hardware compatibility | Wireless LAN and graphics cards are common trouble spots |
| Existing data | Partitioning cannot be undone. Back up first |
If the architecture doesn't match, the installation won't even start. 32-bit is written as
i386/i686, and 64-bit asx86_64(oramd64).
| Medium | Description | When to use |
|---|---|---|
| DVD/ISO | An image containing the packages needed for installation | Standard installation |
| USB | Write the ISO to a USB drive and boot from it | Modern PCs with no optical drive |
| Network (PXE) | Boot over the LAN and install | Installing many machines at once |
| Live image | Runs straight from memory without installing | Trying it out first, recovery work |
If you visit a distribution's site, there are several images even for the same version. The file name contains the version, architecture, and type.
| Example file name | Type | Character |
|---|---|---|
Rocky-9.3-x86_64-dvd.iso | DVD (full) image | Holds most packages, several GB. Installs even without a network |
Rocky-9.3-x86_64-minimal.iso | Minimal image | Contains only the packages needed for a minimal install |
Rocky-9.3-x86_64-boot.iso | Boot (network install) image | Only the installer. Packages are fetched from an internet repository |
debian-12.5.0-amd64-netinst.iso | Network install image | The Debian version of the same kind as above |
ubuntu-22.04.3-desktop-amd64.iso | Live and install image | Boot it to try out, then install if you like |
x86_64 in the Red Hat family and amd64 in the Debian family. It's the same architecture with only the name differing.sha256sum Rocky-9.3-x86_64-minimal.iso # Compute the hash — compare it with the CHECKSUM value on the site
lsblk # Check what device name the USB got (e.g., sdb)
sudo dd if=Rocky-9.3-x86_64-minimal.iso of=/dev/sdb bs=4M status=progress
sync # Write out whatever remains in the bufferssha256sum is a single line: 64-digit hex file name. If even one character differs, the download was corrupted or tampered with, so download it again.dd, if is the input file and of is the output target (output file).⚠️ Trap: In
of=, write the whole disk/dev/sdb, not a partition like/dev/sdb1. Andddoverwrites without asking — if you mistakenly write the device name assda, the disk you're using now gets erased. Always check withlsblkfirst.
PXE installation plugs no media into the computer, but instead needs preparation on the network side.
| What's needed | Role |
|---|---|
| A LAN card that supports PXE | Tries to boot over the network at the firmware stage |
| A DHCP server | Gives out an IP address and tells where the boot file is |
| A TFTP server | Actually sends the files used for booting |
Minimal Server Desktop
───────────── ──────────── ────────────────
Kernel + essential Minimal + server Server + X Window + apps
tools only daemons
No GUI No GUI (recommended) Has a GUI
Lightest For web/DB servers For personal PCs
Pick and install Managed via remote Used in front of
what you want access the screenOn the actual installer screen, these three types appear as a menu for choosing a package bundle (environment). The 'Software Selection' item of the Red Hat-family installer is an example.
| Choice | What's included | Screen after boot |
|---|---|---|
| Minimal Install | Basic functions only | Text login |
| Server | Tools needed to run a server | Text login |
| Server with GUI | Server + graphical environment | Graphical login |
| Workstation | A desktop and applications for personal PCs | Graphical login |
| Method | Pros | Cons |
|---|---|---|
| Virtual machine | Easy to roll back with snapshots, keeps the existing OS | Slight performance loss |
| Dual boot | No performance loss | Adjusting partitions is risky, must reboot to switch |
| Standalone install | The cleanest | Must erase the existing OS |
| WSL | Use Linux commands inside Windows | The kernel is not a full Linux |
For study purposes, we strongly recommend a virtual machine. Even if you set up partitions wrong, you can just roll back with a snapshot, and you can repeat the installation process as many times as you like. VirtualBox, VMware, or KVM — any is fine.
To use a virtual machine, the CPU's virtualization feature must be on. On a computer that already runs Linux, check like this.
grep -E -c 'vmx|svm' /proc/cpuinfo # If 0, it's unsupported or turned off in the firmware settings
lscpu | grep -i virtualization$ lscpu | grep -i virtualization
Virtualization: VT-x/proc/cpuinfo, vmx is Intel VT-x and svm is AMD-V.Most distributions follow this flow.
1. Start up from the boot media
▼
2. Choose language · keyboard · time zone
▼
3. Set up disk partitions ◄── The most important and hardest-to-undo step
▼
4. Set network · hostname
▼
5. Choose the packages (software) to install
▼
6. Create root password · regular user account
▼
7. Installation proceeds → rebootThe installer that guides you through the sequence above on screen also has a name, and it differs by family.
| Family | Installer | Automated (unattended) install method |
|---|---|---|
| Red Hat | Anaconda | Kickstart — a ks.cfg file with the answers written in advance |
| Debian | Debian-Installer | preseed |
| SUSE | YaST | AutoYaST |
/root/anaconda-ks.cfg. You use it as a model when building another server with the same configuration.| Distribution | At install time | Administrative work is done |
|---|---|---|
| Red Hat family | You set a root password. When creating the regular user, you can 'make them an administrator' | Become root with su -, or use sudo |
| Ubuntu | It doesn't ask for a root password (the root account is locked) | The first user created at install uses sudo |
su - doesn't get you in, because there's no root password. You use the sudo command form.uname -r # Kernel version
cat /etc/*-release # Distribution name and version
df -h # Whether partitions were set up as intended
free -h # Memory and swap
ip addr # Whether the network is up$ free -h
total used free shared buff/cache available
Mem: 3.8Gi 412Mi 2.9Gi 8.0Mi 520Mi 3.2Gi
Swap: 2.0Gi 0B 2.0Gi
$ hostnamectl
Static hostname: web01
Operating System: Rocky Linux 9.3 (Blue Onyx)
Kernel: Linux 5.14.0-362.8.1.el9_3.x86_64
Architecture: x86-64| What to check | If normal | If something is off |
|---|---|---|
The Swap line of free -h | The size you set at install time shows under total | If 0B, swap wasn't created or isn't enabled |
df -h | /, /boot, /home, etc. show at the planned sizes | If a directory you meant to separate isn't shown, it was merged into / |
ip addr | The LAN card has an inet address | If there's no address, the network setup was skipped |
hostnamectl | The hostname you chose is shown | If localhost, it wasn't set at install time |
hostnamectl set-hostname name. The same goes for language, time zone, and packages. Practically the only thing you can't change after installation is the partitions, so that step is the most important.amd64 is only for AMD CPUs" → It's a name also used for Intel 64-bit CPUs. It's the same as x86_64.Tomorrow we cover the hardest step of the installation process — how to divide up the partitions.
Click a choice to reveal the answer and explanation.
Question 1
Which of the following is the form of distribution that runs straight from memory without installing on disk, and is used for trying out or system recovery?
Question 2
Which of the following is generally recommended when installing Linux for server use?
Question 3
Which of the following is the notation indicating a Linux distribution image for 64-bit PCs?
Question 4
Which of the following is the step of the Linux installation process that is the hardest to undo, so that a prior backup is especially important?
Question 5
Which of the following is the method used when installing Linux over the network onto many computers?