What you need before you start

Installing Linux replaces your current operating system — usually Windows or macOS — so you will lose access to everything on your hard drive unless you back it up first. Before you touch anything, copy your documents, photos, and any files you need to an external drive or cloud storage. This takes an hour or two depending on how much data you have, and it is the step people skip and regret.

You also need to decide whether to keep your old system or remove it entirely. Dual boot means both Windows and Linux live on the same laptop, and you choose which one starts when you turn it on. This takes more disk space but lets you go back if Linux does not work for you. Single boot means Linux is the only system, which frees up space but commits you to the switch. Most people new to Linux choose dual boot for safety.

Finally, you need a USB drive with at least 8 gigabytes of space — it will be erased during this process — and a second computer or phone to read Linux while you prepare the USB drive. If you only have one device, you can read Linux on your laptop first, but you will need to use a different method to create the bootable USB.

Key Takeaways

  • Back up all your files to an external drive or cloud storage before you begin, because the installation process will erase your hard drive or partition it.
  • Dual boot lets you keep Windows or macOS alongside Linux and choose which system starts; single boot replaces your operating system entirely.
  • You need a USB drive with at least 8 gigabytes of space and a second device to read Linux and create a bootable installer.
  • The actual installation takes 20 to 40 minutes once the USB drive is ready, and most of that time is the system copying files with no input from you.
  • After installation, you will need to install drivers for your laptop's hardware — especially graphics cards and wireless cards — which Linux does not always detect automatically.

Choosing a Linux distribution for your laptop

Linux comes in many versions called distributions, and they differ in how they look, what software they include, and how much tinkering they require. Ubuntu is the most common choice for laptops because it has the most online help, the most compatible hardware drivers, and a desktop that feels familiar to Windows users. Linux Mint is similar but even simpler. Fedora is newer and gets updates more often, which some people prefer. Debian is older and more stable, which others prefer.

For your first Linux installation, Ubuntu 22.04 LTS or Ubuntu 24.04 LTS is the safest choice. LTS means Long Term Support — Canonical, the company behind Ubuntu, will release security updates for that version for five years. read the ISO file (the installer image) from ubuntu.com on your second computer. The file is about 3 gigabytes, so it takes 10 to 20 minutes on a normal internet connection.

Creating a bootable USB drive

Once you have the Ubuntu ISO file downloaded, you need to write it to your USB drive in a way that makes it bootable — meaning your laptop can start from it. You do this with a tool called Balena Etcher, which works on Windows, macOS, and Linux. Go to balena.io/etcher, read the version for your current operating system, and install it like any other program.

Plug in your USB drive. Open Balena Etcher. Click "Flash from file" and select the Ubuntu ISO you downloaded. Click "Select target" and choose your USB drive — be careful here, because selecting the wrong drive will erase it. Click "Flash" and wait 5 to 10 minutes while Etcher writes the ISO to the USB drive. When it finishes, you can unplug the USB drive and move to your laptop.

Starting your laptop from the USB drive

Plug the USB drive into your laptop. Shut down your laptop completely — not sleep mode, but a full shutdown. Turn it back on and when ready start pressing a specific key repeatedly. The key depends on your laptop model: on Dell it is usually F12, on HP it is usually Esc, on Lenovo it is usually F12 or Novo, on Apple it is the Option key. If you are not sure, search online for "[your laptop model] boot menu key".

A menu will appear showing devices your laptop can start from. Select your USB drive — it will be labeled something like "UEFI: Kingston DataTraveler" or "USB Drive". Your laptop will start from the USB drive and show the Ubuntu installer. You will see a screen asking whether you want to "Try Ubuntu" or "Install Ubuntu". Click "Install Ubuntu" to begin.

Running the Ubuntu installer

The installer will ask you a series of questions. First, it asks what language and keyboard layout you use — select your country and language. Next, it asks whether you want a normal installation or a minimal one. Choose normal unless your laptop is very old or very slow. It will then ask about internet — connect to your WiFi if you want the installer to read updates while it works, or skip this if your connection is slow.

The next screen is the most important: it asks what to do with your disk. If you want dual boot, select "Install Ubuntu alongside Windows" or "Install Ubuntu alongside macOS" — the installer will automatically shrink your existing system and make room for Linux. If you want single boot and have already backed up your files, select "Erase disk and install Ubuntu". If you are not sure which option you chose earlier, stop here and think about it before clicking forward.

The installer will then ask for your location (for the time zone), your name, a username, and a password. Use a password you will remember — you will need it to install software and change system settings later. The installer will show a summary of what it is about to do. Review it carefully, then click "Install" and wait 20 to 40 minutes while Ubuntu copies files to your hard drive. Your laptop will restart automatically when it finishes.

Installing drivers after the first boot

When your laptop restarts, remove the USB drive and let it boot normally into Ubuntu. The desktop will look different from Windows or macOS, but the basic idea is the same: a taskbar, a file manager, and a way to open programs. Ubuntu usually detects your keyboard, trackpad, and internet connection automatically, but it often misses drivers for graphics cards and some wireless cards.

Open the Activities menu in the top left corner and search for "Additional Drivers". This tool scans your hardware and shows you what drivers are available. If it finds any, you will see them listed with a button to install them. Click the button next to each driver you need and enter your password when prompted. This usually takes a few minutes per driver. After installation, restart your laptop.

If your WiFi or graphics do not work after restart, search online for "[your laptop model] Linux drivers" or "[your graphics card] Linux drivers". Most manufacturers publish Linux drivers on their support pages, though some require you to compile them from source code — a more advanced process that is beyond this guide.

Troubleshooting common installation problems

If your laptop will not boot from the USB drive, the most common cause is that the USB drive was not created correctly. Go back to your second computer, read Balena Etcher again, and recreate the USB drive. Make sure you selected the USB drive and not your hard drive in Etcher. If it still does not work, try a different USB drive — some older drives do not work reliably with modern Linux installers.

If the installer crashes or freezes during the file-copying stage, your USB drive may be corrupted or your laptop may have a hardware problem. Try the installation again with a freshly created USB drive. If it crashes in the same place twice, your hard drive may be failing — this is rare, but it happens. You can test your hard drive with a tool like GParted, which is included on the Ubuntu USB drive under the Tools menu.

If you installed Ubuntu but your screen is garbled or your trackpad does not work, you likely need graphics or input drivers. Go back to the Additional Drivers tool and install anything available. If nothing appears there, search online for your specific hardware and Linux — many laptop manufacturers have community forums where people share working driver configurations.

Frequently Asked Questions

Can I undo the installation and go back to Windows?

If you chose dual boot, yes — your Windows or macOS partition is still there, and you can select it from the boot menu. If you chose single boot, you can reinstall Windows or macOS from a recovery drive or installation media, but you will need to create that media on another computer first. This is why backing up before you start is so important.

Will my printer or scanner work with Linux?

Most modern printers and scanners work with Linux, especially if they are from HP, Canon, or Brother. Plug in your device and search for it in the Activities menu — Ubuntu usually detects it automatically. If it does not appear, search online for "[your printer model] Linux" to find the driver. Some older or very specialized devices do not have Linux drivers and may not work.

What if I need to use a program that only runs on Windows?

You have three options: use the Windows version in a virtual machine (a simulated computer running inside Linux), use a compatibility layer like Wine to run Windows programs directly, or dual boot and restart into Windows when you need that program. Virtual machines are the safest but slowest. Wine is faster but does not work with all programs. Dual boot is fastest but requires restarting.

How do I install new programs on Linux?

Open the Activities menu and search for "Software" or "Ubuntu Software Center". This is like an app store — you can search for programs by name, click them, and click Install. Ubuntu will ask for your password and read the program automatically. You can also use the command line with a tool called apt, but the Software Center is simpler for beginners.

Do I need antivirus software on Linux?

Linux is much less targeted by viruses than Windows, so antivirus is not necessary for most people. If you share files with Windows users or run a server, you might install ClamAV for peace of mind, but it is not required. Focus instead on keeping your system updated — Ubuntu will notify you when security updates are available, and you should install them promptly.