Secure laptop: hardware, OS and settings explained

A secure laptop doesn’t start with software — it starts with hardware. Not all laptops are equal. Get the hardware right, and the OS does the rest.

Secure laptop: hardware, OS and settings explained

Secure laptop: hardware, OS and settings explained

A secure laptop doesn’t start with software — it starts with hardware. Not all laptops are equal. Get the hardware right, and the OS does the rest.

This guide walks through the whole stack: which laptop, which OS, which settings, and how that translates to daily use.

Who this guide is for

This guide is most useful for:

  • balanced privacy-aware readers who want to deliberately improve their laptop environment
  • professional handling sensitive data readers who want to combine reliability and data security
  • readers considering whether a Linux laptop or heavier separation actually fits their situation

For low-friction normal users, a new laptop or new OS is not automatically the first step. Start instead with disk encryption, updates, browser hygiene, and a password manager on your current system.

What you gain, and what it costs

If you approach laptop security deliberately, you usually gain:

  • better control over your hardware, OS, encryption, and daily exposure
  • a setup that leaks less by default than stock Windows or a loosely configured laptop
  • a clearer match between your actual threat model and the machine you depend on every day

What it costs:

  • time, learning, and sometimes money
  • friction if you move to Linux or a stricter workflow too early
  • the need to maintain good habits after the initial setup instead of treating one install as the finish line

When this is overkill

For many readers, a full laptop migration is not the first or best step. If your current laptop is still serviceable, you may get most of the value from disk encryption, updates, browser hardening, and better account security before buying or reinstalling anything.

This only becomes a “full stack” project when your use case, data sensitivity, or need for stronger control actually justifies the extra complexity.


Why your laptop is a problem

Standard laptops (Windows, macOS) are built for convenience, not privacy:

  • Windows sends diagnostic data to Microsoft. Telemetry, advertising IDs, and cloud integration are deeply woven into the system.
  • macOS is closed-source. FileVault is strong, but you still depend on Apple as a platform and on how iCloud and account-recovery options are set up.
  • Firmware — the code that runs before the OS — is closed and unverifiable on most laptops.

For the average user, the risk is manageable. For someone who takes privacy seriously, it’s a problem.


First: do you need to switch now?

Not necessarily.

For many readers the good enough route is:

  • enable disk encryption if it isn’t already on
  • install updates consistently
  • use a password manager
  • harden your browser
  • reduce cloud and telemetry settings on your current platform

Switching to Linux or new hardware only makes sense when:

  • your current laptop is genuinely due for replacement
  • you want more control and are willing to accept the extra friction
  • your work or risk profile actually justifies a heavier setup

Hardware: which laptop to choose

What makes hardware “secure”?

Three criteria:

1. Open firmware support Laptops that support Coreboot — open-source firmware instead of closed BIOS — are more transparent. You can read most of the code that runs before the OS (on Intel laptops some closed vendor blobs remain).

2. Linux compatibility Not every laptop works well with Linux. Wi-Fi drivers, touchpad, suspend — some manufacturers only ship Windows drivers.

3. Repairability and transparency Hardware you can open, upgrade, and inspect yourself. Framework and ThinkPad are the standard here.


ThinkPad (Lenovo) — best overall choice

ThinkPads are the standard in the Linux world. Good driver support, solid build quality, easy to open and upgrade. Refurbished ThinkPads are affordable and well-tested.

Recommended models:

  • ThinkPad X1 Carbon — light, long battery life; Linux support differs per generation, so check reports for the exact generation you buy
  • ThinkPad T-series (T480, T490, T14) — solid, expandable, cheap refurbished. The T480 is also on coreboot’s list of supported boards, but only after a workaround for Intel Boot Guard; the T490 and T14 are not
  • ThinkPad X230 — old, but supported by coreboot (you flash it yourself, partly with an external programmer), popular in the security community

Buy refurbished: a ThinkPad T480 with 16GB RAM and an SSD often sells for a few hundred euros or dollars at refurb sellers; prices vary a lot by seller and condition. Does everything you need.

Framework Laptop — best for repairability

Framework builds its laptops to be modular: screen, battery, ports and keyboard are meant to be replaced by the owner (Framework’s own description). Framework publishes its own Linux install guides (Fedora, Ubuntu, Linux Mint and others).

More expensive than a refurbished ThinkPad, but you’re paying for a laptop you can repair and upgrade instead of replace.

System76 — Linux-first manufacturer

American company selling laptops with Linux pre-installed (its own Pop!_OS); System76 says it tests its hardware with Pop!_OS. Higher price, but you have a working system out of the box.

What to avoid:

  • Cheap Chromebooks (ChromeOS is built around a Google account)
  • Gaming laptops (poor battery life; hybrid NVIDIA graphics often needs extra driver work on Linux)
  • Surface laptops (Microsoft supports only Windows on them; Linux support comes from community projects)

Choosing an OS

The main choice: which Linux distribution?

See the Linux distro guide for a full comparison. Short version:

For beginners:

  • Linux Mint — closest to Windows feel, stable, good hardware support
  • Ubuntu — large ecosystem, lots of documentation, easy installation
  • Pop!_OS — good for gaming and new hardware, made by System76

For privacy and security:

  • Fedora — cutting-edge, strong SELinux integration, backed by Red Hat
  • Debian — stable, minimalist, long support cycles
  • Tails — everything via Tor, no traces on disk, for temporary anonymous use
  • Whonix — virtual machines for compartmentalisation, for advanced users

For advanced use:

  • Arch Linux — maximum control, minimal installation, lots of work
  • NixOS — reproducible configuration, declarative system

→ Start with Linux Mint or Fedora if you’re deliberately switching to Linux. Otherwise, keep improving your current Windows or macOS setup first.


Installation: what to get right

Enable full-disk encryption

This is the most important thing. Without disk encryption, anyone who gets your laptop — a thief, customs officer, colleague — can read your files.

During installation, every major distro offers this, and only then: it is set when the disk is partitioned. Always say yes.

Ubuntu: Choose “Encrypt with a passphrase” during installation (Ubuntu 26.04: Disk setup → Erase disk and install Ubuntu → Encryption and file system).

Linux Mint 22: at Installation type, choose Erase disk and install Linux Mint, click Advanced features…, select Use LVM with the new Linux Mint installation, tick Encrypt the new Linux Mint installation for security, click OK, and choose a security key on the next screen. Mint’s own installation guide warns about two things: the keyboard is still set to the US layout at that point, so type the key with that in mind, and some NVIDIA drivers have issues with this option. For readers new to Linux it suggests Encrypt my home folder (later in the installer) instead. Mint’s next release, planned for Christmas 2026, switches to a different installer, so these labels will change.

Fedora: Choose “Encrypt my data” in the installation wizard.

The system will ask for a password before loading the OS on every boot. This is normal and correct.

Already installed without encryption? You can’t switch full-disk encryption on afterwards; see the disk encryption guide for your options.

→ Always enable this. No exceptions.

Secure the BIOS/UEFI

Set a BIOS password. This makes it harder for someone with physical access to quickly change boot order or firmware settings, but it does not replace disk encryption. Write the password down and keep it somewhere safe: a forgotten firmware password can lock you out of the firmware settings, and resetting it can be hard without the manufacturer.

Also enable Secure Boot if your distro supports it (Fedora and Ubuntu do by default). Linux Mint usually boots with it too, but Mint’s own guide lists switching it off as a fix if the first boot stops with a “Secure Boot Violation”.

Encrypt swap

Swap (virtual memory on disk) can hold copies of what was in memory, passwords included, so it has to be encrypted too. With the installer’s full-disk encryption option there is nothing to do: Ubuntu 26.04 puts its swap file inside the encrypted disk, Linux Mint 22 puts its swap inside the encrypted LVM, and Fedora uses compressed swap in memory (zram) instead of swap on disk. Partitioning by hand? Then put swap inside the encrypted part, or leave it out.


After installation: settings

Enable the firewall

What you need to do depends on the distro:

  • Fedora: the firewall (firewalld) is already on. Its default Fedora Workstation zone rejects unsolicited incoming connections on ports 1 to 1024, except a few services such as SSH, but leaves ports 1025 to 65535 open. Don’t add UFW next to it.
  • Linux Mint: open the Welcome Screen → First Steps → Firewall, or Firewall Configuration from the menu, and switch Status on. Check that Incoming is set to Deny and Outgoing to Allow.
  • Ubuntu: UFW (Uncomplicated Firewall) is installed but switched off, and Ubuntu has no firewall app by default, so this is a terminal step:
sudo ufw enable
sudo ufw status verbose

UFW’s defaults block incoming connections and allow outgoing ones.

Enable automatic updates

Security updates need to arrive fast.

  • Linux Mint: open Update Manager → Edit → Preferences → Automation, and switch on Apply updates automatically (under Package Updates; it runs daily). The same screen reminds you to set up system snapshots (Timeshift) first.
  • Ubuntu 26.04: the Software & Updates app is no longer installed by default; Ubuntu’s documentation says to install the software-properties-gtk package, which provides it. Then open Software & Updates → Updates and set When there are security updates: to Download and install automatically.
  • Fedora: open Software → main menu → Preferences and check that Automatic is selected under Software Updates (it is by default). Software then downloads updates in the background and installs the ones that don’t need a restart; the rest are installed when you restart from the update prompt.

Verify encryption status

In Disks (GNOME Disks, on Ubuntu and Fedora Workstation), select the drive and then the large partition: Contents shows “LUKS Encryption (version 2) — Unlocked” for an encrypted partition. More detail in the disk encryption guide.

Install a password manager

Use KeePassXC — open-source, local storage, no cloud. Install it from your distro’s software app: Software Manager on Linux Mint, App Center on Ubuntu, Software on Fedora. KeePassXC itself recommends its Flathub package, which updates automatically; Ubuntu’s own package lags behind (2.7.10 in 26.04, against 2.8.0 from KeePassXC).

Or Bitwarden if you want sync across devices.


Privacy settings per distro

Disable telemetry

Ubuntu: Ubuntu can send error reports and system reports (Ubuntu Insights, the successor to ubuntu-report) to Canonical. In Ubuntu 26.04:

Settings → Privacy & Security → Telemetry → set Send error reports to Canonical to Never, and switch off Send a system report every month and Send a system report when upgrading to a new Ubuntu version.

Fedora: the installer asks nothing about statistics. Fedora 45 Workstation no longer installs Fedora’s crash-reporting service (ABRT; Fedora’s KDE, MATE and Xfce desktops still include it), so a fresh install has nothing to switch off: the first-start Privacy page no longer shows Automatic Problem Reporting, and Settings has no Diagnostics page. Upgraded from an older Fedora that still has ABRT? Then open Settings → Privacy & Security → Diagnostics and switch off Automatic Problem Reporting.

Linux Mint: we found no telemetry setting to switch off.

Set privacy-focused DNS

Same as with GrapheneOS: your provider’s default DNS sees all your lookups.

Set Quad9 (GNOME, so Ubuntu and Fedora Workstation): Settings → Network (wired) or Wi-Fi → gear button next to your connection → IPv4 → under DNS, switch Automatic off → enter 9.9.9.9, 149.112.112.112 → Apply. Do the same on the IPv6 tab with 2620:fe::fe, 2620:fe::9. Used Mullvad’s DNS before? Mullvad set 2 November 2026 as the end date of its public DNS service and points users to Quad9.

That setting is not encrypted. For DNS-over-TLS on distros that use systemd-resolved (Fedora does; if resolvectl status shows a Global section, yours does too), there is no settings screen, so this is a terminal step. Create a drop-in file:

sudo mkdir -p /etc/systemd/resolved.conf.d
sudo nano /etc/systemd/resolved.conf.d/60-quad9-dot.conf

with this content:

[Resolve]
DNS=9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net
DNSOverTLS=yes
Domains=~.

Then restart and check:

sudo systemctl restart systemd-resolved
resolvectl status

Domains=~. matters: without it, systemd-resolved also keeps sending lookups to the DNS server your network hands out. With DNSOverTLS=yes, lookups fail rather than fall back to unencrypted DNS if the TLS connection doesn’t work. In resolvectl status, Protocols should show +DNSOverTLS.


Browser: the most important daily tool

Firefox (hardened)

Firefox is the standard choice. But default Firefox has telemetry and some privacy issues.

Recommended changes in about:config:

Setting Value Reason
privacy.resistFingerprinting true Makes browser fingerprinting harder, but sites can misbehave; Mozilla does not recommend it for the average user (details)
geo.enabled false No location access
media.peerconnection.enabled false Prevents WebRTC IP leak; also stops audio and video calls in the browser
browser.send_pings false Disables hyperlink-ping tracking — current Firefox versions already default to false, so this is mainly a check, not a change

Note: manually setting network.cookie.cookieBehavior is no longer necessary. Since Firefox 103 (July 2022), Total Cookie Protection is on by default: Firefox isolates every third-party cookie per site (value 5, “partition third-party cookies”). The other values either weaken that (0, 3, 4) or block all third-party cookies (1), which breaks more sites for little extra gain.

Extensions:

  • uBlock Origin — ad and tracker blocker, essential
  • LocalCDN — replaces CDN requests locally
  • ClearURLs — strips tracking parameters from URLs (last release: version 1.27.3, February 2025, per its Firefox add-ons page)

For many readers, uBlock Origin alone is already a strong first step. Additional extensions only make sense once you’re also willing to troubleshoot when sites break.

Mullvad Browser

Developed by the Tor Project: “a Tor Browser without the Tor Network”, in Mullvad’s words. Hardened Firefox with fingerprint protection built in; Mullvad says it removed the telemetry. Good alternative if you don’t want to configure Firefox yourself.

Download at mullvad.net/browser.

Tor Browser

For anonymous browsing. Slow but effective. See the VPN guide for when Tor is the right choice.

Best fit: mainly higher-risk readers or those with a concrete anonymity goal. Not the default browser for most readers.


Safe use in practice

Keep the disk locked

Lock the screen when you step away. Set auto-lock to 2-5 minutes.

GNOME (Ubuntu, Fedora Workstation): Settings → Privacy & Security → Screen Lock → set Blank Screen Delay to 2 minutes (or up to 5), switch on Automatic Screen Lock, and set Automatic Screen Lock Delay to Screen Turns Off. The lock follows the blank screen, so the blank delay is your lock time.

On a cold boot (restart), the system is in its strongest encryption state — similar to BFU on GrapheneOS.

Webcam and microphone

Put a webcam cover on the camera when not in use. Cheap, effective, and a clear signal that you’re serious.

Check which apps have microphone access in your system settings.

No unknown USB devices

USB drives from unknown sources: don’t plug them in. USB attacks (BadUSB) are real.

If you want to inspect a found USB drive: do it in an isolated VM, not on your main system.


Going further

If you want more isolation:

  • Use Qubes OS — an OS built around compartmentalisation via virtual machines. Every task in its own VM. Complex, but the most secure option available for some high-risk laptop use.

If you want Tor by default:

  • Tails — a live OS you run from USB. Leaves no traces on the computer. Ideal for sensitive tasks.

If you need PGP:

  • See the PGP guide for encrypted email and file exchange.

When does this become overkill?

For most readers this guide becomes too heavy if you:

  • jump directly from Windows or macOS to Linux without first improving your current habits
  • treat Tails, Whonix, or Qubes as general upgrades rather than specialist tools
  • buy new hardware when your real problems are account hygiene, browser habits, or unpatched software

A practical split:

  • low-friction normal user: improve your current laptop first
  • balanced privacy-aware: Linux becomes sensible when you genuinely want to carry the extra control
  • professional handling sensitive data: choose the solution that keeps both workflow continuity and data security intact
  • higher-risk: only use Tails or Qubes if you also have the operational discipline to use them correctly

Summary

Windows macOS Linux (hardened)
Telemetry Heavy Moderate Little or none (distro-dependent)
Disk encryption Often on (Device Encryption); BitLocker on Pro Default Option at installation
Open-source No Partial Fully
Firmware control None None Possible (Coreboot)
Privacy control Limited Limited Full

A secure laptop isn’t a one-time action — it’s a combination of hardware you can trust, software you can inspect, and habits that protect your data.

Sources: Linux Mint Installation Guide and the Mint 22.3 installer, Update Manager, Welcome Screen and Firewall Configuration (gufw) strings; Ubuntu Desktop documentation, the Ubuntu 26.04 installer (including its swap file setup), Software & Updates and Settings (Telemetry) strings; the Mint 22.3 and Fedora installers’ swap defaults; the Fedora 45 installer, GNOME Initial Setup, GNOME Software, firewalld and dnf5 sources and Fedora’s package groups (comps); GNOME Settings 50 and GNOME Disks strings; systemd-resolved manual; Firefox 159 preferences and release notes; Mozilla add-ons pages; mullvad.net; keepassxc.org; coreboot documentation; Framework’s Linux docs. Steps checked 2026-11-10 (Fedora: 2026-11-04).


Next step

Go further

Reviews