Home / Installing Linux

Installing Linux

Try it first, back up, then install.

Home office with laptop displaying Linux installation steps.

Back up

Copy important files to an external drive or cloud storage.

Download and verify

Get the image from the official site and check its checksum.

Create a live USB

Write the image to a USB stick with a dedicated tool.

Try it live

Boot from USB and test Wi-Fi, sound, display and printing.

Install

Choose a full install or dual boot alongside your current system.

Update

Install all updates and set up regular backups.

Check firmware and boot mode before you start

A lot of installation trouble starts before the installer loads. On most modern PCs, the important choice is boot mode: UEFI or legacy BIOS/CSM. If you are installing alongside an existing system, use the same mode it already uses. A machine with one system installed in UEFI mode and another in legacy mode often ends up with confusing boot menus or a system that seems to disappear after installation.

Before you make changes, enter the firmware setup once and note three things: the key for the one-time boot menu, whether Secure Boot is enabled, and whether the internal drive is detected properly. That saves time later if the machine ignores the USB stick or boots straight back into the old system.

Secure Boot usually works with mainstream Linux installers, but not every image or driver setup behaves the same way. If the USB will not start, or the installed system boots only with Secure Boot off, change one setting at a time so you know what actually fixed it.

For dual boot, a full shutdown of the existing system matters. Fast Startup or hibernation can leave the disk in an unsafe state, which makes Linux mount Windows partitions read-only. If the installer cannot see the internal drive at all, the storage controller may be set to a RAID or vendor-specific mode rather than AHCI. Be careful here: changing it without preparation can stop the current system booting. If you hit that sort of problem, check the installer messages and work through Troubleshooting rather than guessing.

Plan the disk layout, not just the install type

Automatic partitioning is fine for many installs, especially on a blank drive. Manual partitioning is worth learning, though, because it helps you avoid wiping the wrong partition and gives you more control over future upgrades.

On a UEFI system, you normally need an EFI System Partition for boot files. If another operating system is already present, the installer can often reuse the existing one; creating a second EFI partition is rarely necessary. The main Linux partition is mounted as /, and that is where the system itself lives. Some people also keep /home on a separate partition so they can reinstall the system without touching personal files. That can be useful, but it is not magic: deleting or formatting the wrong partition will still lose data.

For the filesystem, ext4 is the sensible default unless you have a clear reason to choose something else. It is well supported and easy to recover from compared with more exotic layouts. If you want the background first, the File system page explains the directory structure and mount points in plain terms.

Swap is another choice that confuses new users. Many installers create a swap file automatically, which is good enough for most systems. A separate swap partition is mainly worth considering if you have a specific hibernation plan or an unusual layout.

Encryption is often the best option for a laptop or any machine that may leave the house. It protects the data if the device is lost or stolen, but it also means one more passphrase at boot and a little extra care during recovery work. Read the trade-offs on the Security page if you are unsure.

After the first reboot: check the things the live session can hide

A system that installed successfully is not finished yet. The live environment proves that Linux can start on the machine; it does not always prove that the installed system behaves well day to day. After the first proper boot, check suspend and resume, screen brightness keys, sound input as well as output, Bluetooth if you use it, and any external monitor or dock. Graphics scaling and touchpads can also feel different once the system is running from disk with its real driver setup.

When you restore your files, copy documents, photos and other personal data first. Be cautious with hidden configuration directories from an old Linux home folder. Old desktop settings, shell customisations or extension files can make a fresh install unstable or just confusing. Bring back dotfiles selectively, not in one big dump.

It is also worth making a simple recovery note while everything is working: your username, computer name, Linux distribution version, and which disk holds the system. If boot problems appear later, that information makes repair much easier. Keep the live USB instead of wiping it straight away; it doubles as a rescue system for mounting the disk and copying files off.

Finally, learn a few basic commands before you need them. Even a small amount of Command line knowledge can help you identify disks, check mounted partitions and repair a system that will not boot cleanly.