How To Install Linux On A Microsoft Surface (2027)

Quick answer

  • Install any Linux distribution from a USB stick as usual, then add the linux-surface repository and install the Surface kernel, which on Debian and Ubuntu is linux-image-surface.
  • Install Windows firmware updates first, and turn off BitLocker, or have the recovery key ready, before you turn off Secure Boot.
  • The project lists the Surface Pro X, Surface Pro 9 (ARM), Surface Pro 11 (Snapdragon), Surface Laptop 7 and Surface RT as unsupported.

Applies to: linux-surface kernel for Debian or Ubuntu, Fedora and Arch Linux on supported Surface models

Most Intel and AMD Surface devices can run Linux, but they need a special kernel to get the touchscreen, pen and other hardware working.

That kernel comes from the community linux-surface project, whose wiki is the official source for install steps and supported models.

This guide follows that wiki and covers the support list, preparing Windows, the install steps for Ubuntu, Fedora and Arch, and the Secure Boot key.

Table of Contents

Quick answer: install Linux on a Surface

StepWhat to do
1Check your model is on the supported list below.
2Install all firmware updates through Windows Update.
3Turn off BitLocker, shrink the Windows partition if you want to keep Windows, and turn off Secure Boot only if your distribution needs it.
4Write your distribution to a USB stick, set the USB drive first in the UEFI boot order and install.
5Add the linux-surface repository and install the Surface kernel for your distribution.
6Enroll the Secure Boot key, reboot and check that uname -r contains surface.

Which Surface models are supported

The project sorts every Surface into supported, unknown and unsupported.

StatusModels
SupportedSurface Pro 1 to 10 (the Surface Pro 9 means the Intel model), Surface Laptop 1 to 6, Surface Book 1 to 3, Surface Laptop Studio and Studio 2, Surface Laptop Go 1 to 3, Surface Laptop SE, Surface Go 1 to 4, Surface 3 and Surface Dock
Unknown, data neededSurface Studio 1, Studio 2 and Studio 2+, Surface Pro 11 (Intel business) and the 12th Edition Intel Surface Pro for Business
UnsupportedSurface RT 1 and 2, Surface Pro X, Surface Pro 9 (ARM, SQ3), Surface Pro 11 (Snapdragon), the 12-inch Surface Pro and Surface Laptop 7

For the Surface RT the project points to a separate effort called Open Surface RT, and for the Snapdragon models it points to other projects.

What works and what does not

The wiki keeps a feature table per model, so check your own row before you wipe anything.

FeatureWhat the project reports
Touchscreen and penWork on supported tablets, and on Surface Pro 4 and later they need the linux-surface kernel
Keyboard and touchpadWork on nearly all models, but not on the Surface Pro 10 with 5G
CamerasWork on some models only, and are marked not working on the Surface 3 and Surface Pro 7 and newer tablets
Performance modesNot working on the Surface 3 to Surface Pro 4, but working on the Surface Pro 5 and newer
Fingerprint readerWorks only on the Surface Laptop Go 3, with extra patches
SuspendWorks on most, but the Surface Laptop 3 (AMD) wakes only from an external keyboard

Prepare Windows first

  1. Install all firmware updates through Windows Update.
  2. If you want to keep Windows, shrink its partition in Disk Management and leave at least 50 GB for it.
  3. Turn off BitLocker or similar encryption before you turn off Secure Boot, or have your recovery key ready, because otherwise you risk losing data.
  4. Turn off Secure Boot only if your distribution does not support it, since Fedora, Debian, Ubuntu and openSUSE do and Arch install media does not.

If you use disk encryption on Linux, the wiki says to include the required modules in the initramfs so the keyboard works at the unlock screen.

Install your distribution

Create the install USB by following your distribution’s official guide, as our Ubuntu Desktop USB install guide does for Ubuntu.

Open the UEFI settings and put the USB drive first in the boot order, and if Secure Boot stays on, allow the Microsoft and 3rd party CA signatures.

On Ubuntu the toram boot parameter copies the installer to memory so you can unplug the stick, and on Arch the equivalent is copytoram=y.

If other disks hold partitions with the ESP flag, disconnect them or remove the flag temporarily before installing, then restore it afterwards.

Install DKMS versions of any out-of-tree modules you use, such as zfs-dkms or nvidia-dkms, before you add the Surface kernel.

Install the Surface kernel on Debian or Ubuntu

Run these commands in a terminal after the distribution is installed, starting with the signing key.

wget -qO – https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc \
| gpg –dearmor | sudo dd of=/etc/apt/trusted.gpg.d/linux-surface.gpg

This imports the project signing key.

echo “deb [arch=amd64] https://pkg.surfacelinux.com/debian release main” \
| sudo tee /etc/apt/sources.list.d/linux-surface.list

This adds the repository.

sudo apt update

This refreshes the package list.

sudo apt install linux-image-surface linux-headers-surface libwacom-surface iptsd

This installs the kernel and its support packages.

On Ubuntu 26.04 and Debian Testing or Sid, skip libwacom-surface because of a known bug, and on older releases remove iptsd if the command fails, which keeps single touch but loses multitouch and stylus.

sudo apt install linux-surface-secureboot-mok

This installs the Secure Boot key.

sudo update-grub

This updates the boot menu.

Install the Surface kernel on Fedora

On DNF5 and later, add the repository with this command, and on DNF4 and earlier the wiki uses config-manager with –add-repo instead.

sudo dnf config-manager addrepo –from-repofile=https://pkg.surfacelinux.com/fedora/linux-surface.repo

This adds the repository.

sudo dnf install –allowerasing kernel-surface iptsd libwacom-surface

This installs the kernel.

sudo dnf install surface-secureboot

This installs the Secure Boot key.

sudo systemctl enable –now linux-surface-default-watchdog.path

This keeps the Surface kernel as the default after upgrades.

sudo linux-surface-default-watchdog.py

This sets the Surface kernel as the next boot default.

Install on Arch Linux

Arch install media does not support Secure Boot, so set up SHIM and your own keys before installing the Secure Boot package.

The wiki steps are to import and locally sign the key with pacman-key, add a linux-surface section pointing at https://pkg.surfacelinux.com/arch/ to the end of /etc/pacman.conf, run a full update and then install the kernel.

sudo pacman -S linux-surface linux-surface-headers iptsd

This installs the Arch kernel and touch service, while libwacom-surface comes from the AUR.

Enroll the Secure Boot key

After installing the key package, reboot and a blue MokManager menu should appear.

Select Enroll, confirm, and enter the password surface when asked, remembering that MokManager expects a QWERTY layout.

If you miss the menu or choose the wrong option, fully uninstall the key package, install it again and reboot.

Check that the Surface kernel is running

Reboot and run this command, and the output should contain the word surface.

uname -r

This prints the running kernel version.

If something goes wrong

ProblemWhat the wiki says
The USB stick will not boot because of verification errorsTurn off Secure Boot
Data may be lost after turning off Secure BootTurn off BitLocker first, or keep the recovery key
No multitouch or stylus on an older releaseThe iptsd package may have been removed, which leaves only single touch
The key menu did not showUninstall the key package, reinstall it and reboot

If Windows stops loading after a dual-boot install, our GRUB boot menu guide covers the related boot-menu problem, and our Surface stuck on the logo guide covers a Surface that hangs at start-up.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *