The basic process: back up, create installation media, and boot from USB

Installing Linux on a laptop means replacing Windows or macOS with a Linux distribution, or running Linux alongside your existing system. The process takes roughly 30 minutes to an hour and involves three main steps: backing up your data, creating a bootable USB drive with Linux on it, and restarting your laptop to run the installer.

You will need a USB drive with at least 4 GB of storage space, a second computer or device to download Linux and create the USB drive, and about an hour of uninterrupted time. The installer will walk you through partitioning your hard drive, choosing where to install Linux, and setting up your user account. Most modern laptops will work without extra configuration, though some older models or those with unusual hardware may need additional steps.

The most common distributions for laptops are Ubuntu, Linux Mint, and Fedora. Ubuntu is the most widely used and has the largest community for troubleshooting. Linux Mint is designed to feel familiar to Windows users. Fedora includes newer software but updates more frequently. All three are free and work on most laptops made in the last ten years.

Key Takeaways

  • Back up all your files before starting, because the installer will erase your hard drive unless you choose to keep your existing system.
  • Download a Linux distribution on a different computer, write it to a USB drive using a tool like Balena Etcher or Rufus, and boot your laptop from that USB drive.
  • The installer will ask whether to erase your entire drive or share it with Windows or macOS — choose based on whether you want to keep your old system.
  • After installation, your laptop will boot into Linux by default, and you can install software through your distribution's app store or package manager.
  • If your laptop does not recognize the USB drive at startup, you may need to change the boot order in BIOS or UEFI settings before the installer begins.

Choosing a Linux distribution for your laptop

A distribution is a packaged version of Linux with a desktop environment, a set of default programs, and a package manager for installing software. Different distributions target different users. Ubuntu comes with GNOME, a clean desktop that resembles macOS. Linux Mint comes with Cinnamon, which looks and behaves more like Windows. Fedora uses GNOME but includes cutting-edge software and updates every six months instead of every two years.

For most people, Ubuntu or Linux Mint is the right choice. Ubuntu has the largest community and the most documentation online when you get stuck. Linux Mint requires less system resources and feels more familiar if you have used Windows. Fedora is better if you want newer versions of software and do not mind updating more often.

Download the distribution's ISO file — a single file that contains the entire operating system — from the official website. Ubuntu's download page is at ubuntu.com, Linux Mint's is at linuxmint.com, and Fedora's is at fedoraproject.org. Save the ISO file to your Downloads folder on a computer that has internet access.

Creating a bootable USB drive

A bootable USB drive is a USB stick that contains Linux and can start your laptop before Windows or macOS loads. You create one by writing the ISO file you downloaded onto the USB drive using special software. The most common tool is Balena Etcher, which works on Windows, macOS, and Linux. Download it from balena.io/etcher.

Plug your USB drive into your computer, open Balena Etcher, and click "Select image". Find the ISO file you downloaded. Click "Select target" and choose your USB drive — be careful to pick the right one, because this will erase everything on it. Click "Flash" and wait for the process to finish, which usually takes 5 to 10 minutes. When it is done, safely eject the USB drive.

On Windows, you can also use Rufus instead of Balena Etcher. Download it from rufus.ie, plug in your USB drive, select the ISO file, and click "Start". On macOS, you can use the command line tool dd, but Balena Etcher is simpler if you have not used the terminal before.

Backing up your files and preparing your laptop

Before you install Linux, back up everything you want to keep. Copy your Documents, Pictures, Downloads, and Desktop folders to an external hard drive, cloud storage like Google Drive or OneDrive, or another computer. If you have important email, browser bookmarks, or program settings, export those too — most email clients and browsers have an export option in their settings menu.

Plug your bootable USB drive into your laptop. Restart your laptop and immediately start pressing a specific key to enter the boot menu. The key varies by manufacturer: it is usually F12, F2, Esc, or Del. You will see a list of devices to boot from. Select your USB drive — it will be labeled with the USB drive's name or say "UEFI: [USB drive name]". Your laptop will then start the Linux installer.

If pressing the boot key does not work, restart again and try a different key, or look up your laptop's model number plus "boot menu key" online. Some newer laptops require you to change settings in UEFI (the system that runs before Windows loads). Restart, press the key for UEFI settings — often F2 or Del — find the boot order, move your USB drive to the top, save, and restart.

Running the Linux installer and choosing your setup

Once your laptop boots from the USB drive, you will see the Linux installer. The first screen usually offers a "Try" or "Live" option and an "Install" option. Choosing "Try" lets you use Linux without installing it, which is useful if you want to test whether your hardware works. Choosing "Install" begins the installation process.

The installer will ask you to select your language, keyboard layout, and timezone. It will then ask about your hard drive. If you want to erase your entire laptop and use only Linux, choose "Erase disk and install". If you want to keep Windows or macOS and run Linux alongside it, choose "Install alongside" — the installer will shrink your existing partition and create space for Linux. If you want full control over how your drive is divided, choose "Custom" or "Manual", though this requires understanding partitions.

Next, the installer will ask for a username and password. Use a password you can remember but that is not obvious. The installer will then copy files to your hard drive, which takes 10 to 20 minutes depending on your laptop's speed. When it finishes, restart your laptop and remove the USB drive.

What to do if your laptop does not boot into Linux

After restarting, your laptop should boot into Linux automatically. If it boots into Windows or macOS instead, your laptop's boot order is still set to the old system. Restart, enter the boot menu again, and look for an option to change the default boot device. Select your Linux installation — it will be labeled with your hard drive's name or "UEFI: [hard drive name]". Save and restart.

If you chose to install Linux alongside Windows or macOS, you will see a boot menu each time you start your laptop, asking which system you want to use. Select Linux to boot into Linux, or select Windows or macOS to boot into your old system. You can change which one is the default by editing the boot order in UEFI settings.

If your laptop does not recognize your USB drive at all, the USB drive may not have been written correctly. Try creating it again with Balena Etcher or Rufus. If that does not work, try a different USB drive, as the first one may be faulty.

Installing software and getting started after installation

Once Linux is installed and running, you will see the desktop. Open the app store or software center — in Ubuntu it is called "Ubuntu Software", in Linux Mint it is called "Software Manager", and in Fedora it is called "GNOME Software". Search for programs you need, like Firefox for web browsing, LibreOffice for documents and spreadsheets, or GIMP for image editing. Most common software is free and available in the app store.

If a program is not in the app store, you can install it from the command line using the package manager. In Ubuntu and Linux Mint, open the terminal and type sudo apt install [program name]. In Fedora, type sudo dnf install [program name]. The terminal will download and install the program automatically.

Your files from Windows or macOS are still on your hard drive if you chose to install Linux alongside them. Open the file manager, look for a folder labeled "Windows" or "Macintosh HD", and copy your backed-up files back to your Linux home folder. If you erased your entire drive, restore your files from the backup you created before installation.

Frequently Asked Questions

Can I remove Linux and go back to Windows or macOS?

Yes, if you installed Linux alongside your old system, you can boot into Windows or macOS from the boot menu and use it normally. If you erased your entire drive, you will need to reinstall Windows or macOS using installation media from Microsoft or Apple. This is why backing up your files before installation is important.

Will my printer, scanner, or other hardware work with Linux?

Most common printers and scanners work with Linux out of the box. Plug them in and Linux will usually detect them automatically. If a device does not work, search online for your device's model number plus "Linux" to find drivers or instructions. Some older or very specialized hardware may not have Linux support.

What if I get an error message during installation?

Write down the exact error message and search for it online along with your Linux distribution's name. The Linux community is large, and most common errors have documented solutions. If you cannot find an answer, post the error message on a forum like Ask Ubuntu or the Linux Mint forums with details about your laptop's hardware.

Do I need to partition my hard drive myself?

No. The installer will handle partitioning automatically if you choose "Erase disk and install" or "Install alongside". You only need to partition manually if you want a specific setup, like separate partitions for different purposes. For most users, letting the installer handle it is simpler and safer.

Can I install Linux on a very old laptop?

Possibly. Very old laptops with less than 2 GB of RAM may struggle with modern distributions like Ubuntu. Try a lightweight distribution like Linux Lite or Xubuntu, which use fewer system resources. Download them the same way as Ubuntu or Linux Mint, and follow the same installation steps.