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
- Which Surface models are supported
- What works and what does not
- Prepare Windows first
- Install your distribution
- Install the Surface kernel on Debian or Ubuntu
- Install the Surface kernel on Fedora
- Install on Arch Linux
- Enroll the Secure Boot key
- Check that the Surface kernel is running
- If something goes wrong
- Official sources
- More laptop and PC hardware guides
Quick answer: install Linux on a Surface
| Step | What to do |
|---|---|
| 1 | Check your model is on the supported list below. |
| 2 | Install all firmware updates through Windows Update. |
| 3 | Turn off BitLocker, shrink the Windows partition if you want to keep Windows, and turn off Secure Boot only if your distribution needs it. |
| 4 | Write your distribution to a USB stick, set the USB drive first in the UEFI boot order and install. |
| 5 | Add the linux-surface repository and install the Surface kernel for your distribution. |
| 6 | Enroll 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.
| Status | Models |
|---|---|
| Supported | Surface 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 needed | Surface Studio 1, Studio 2 and Studio 2+, Surface Pro 11 (Intel business) and the 12th Edition Intel Surface Pro for Business |
| Unsupported | Surface 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.
| Feature | What the project reports |
|---|---|
| Touchscreen and pen | Work on supported tablets, and on Surface Pro 4 and later they need the linux-surface kernel |
| Keyboard and touchpad | Work on nearly all models, but not on the Surface Pro 10 with 5G |
| Cameras | Work on some models only, and are marked not working on the Surface 3 and Surface Pro 7 and newer tablets |
| Performance modes | Not working on the Surface 3 to Surface Pro 4, but working on the Surface Pro 5 and newer |
| Fingerprint reader | Works only on the Surface Laptop Go 3, with extra patches |
| Suspend | Works on most, but the Surface Laptop 3 (AMD) wakes only from an external keyboard |
Prepare Windows first
- Install all firmware updates through Windows Update.
- If you want to keep Windows, shrink its partition in Disk Management and leave at least 50 GB for it.
- Turn off BitLocker or similar encryption before you turn off Secure Boot, or have your recovery key ready, because otherwise you risk losing data.
- 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.
| gpg –dearmor | sudo dd of=/etc/apt/trusted.gpg.d/linux-surface.gpg
This imports the project signing key.
| sudo tee /etc/apt/sources.list.d/linux-surface.list
This adds the repository.
This refreshes the package list.
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.
This installs the Secure Boot key.
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.
This adds the repository.
This installs the kernel.
This installs the Secure Boot key.
This keeps the Surface kernel as the default after upgrades.
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.
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.
This prints the running kernel version.
If something goes wrong
| Problem | What the wiki says |
|---|---|
| The USB stick will not boot because of verification errors | Turn off Secure Boot |
| Data may be lost after turning off Secure Boot | Turn off BitLocker first, or keep the recovery key |
| No multitouch or stylus on an older release | The iptsd package may have been removed, which leaves only single touch |
| The key menu did not show | Uninstall 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
More laptop and PC hardware guides
- Microsoft Surface Won't Turn On or Stuck on a Black Screen
- How To Fix A Microsoft Surface That Won't Turn On (2026)
- How To Fix A Microsoft Surface Screen Flickering (2026)
- How To Factory Reset A Microsoft Surface (2026)
- How To Fix A Surface That Won’t Install Updates (2027)
- How To Install Pop!_OS From A USB Drive (2026)