Surface Pro 7+ cannot boot

Hi there. I have tried running fedora 40 beta, 39 and 37 on my intel i7 1165G7. I have been able to run it a couple years back but now it cannot even boot. I get to the “Test Fedora and start using it” page, then when i click on any of the options, it takes me to a blank screen with a hyphen -. Attached is an image.


When you can, please help me with this issue. Keep in mind I have not even been able to boot or install the OS. I currently have windows, and secure boot off. I feel as it may be an issue with the installation of the fedora key, however I probably am wrong.
Thanks.

Can you use Fedora Media Writer on Windows and burn a new key? Let’s try that first. Also check the the Installation media if you have doubts when it prompts you. Can be an issue with the USB.

I’ll try using a different USB, however I did use the Fedora Media Writer. I’ll return back in 10 min.

1 Like

flashed using new usb. still on same error.

1 Like

I did however find a guide saying 36 might be good, so i’m going to try install 36 and go from there

Hmm, it shouldn’t be a big issue, but try Rufus?

tried rufus on 39. failed, same error

only one thing i managed to do. i can get to grub menu.

From the grub menu, can you test the USB ? Usually when you Live boot there is an option to test the image validity?

I haven’t been able to boot Fedora on my Surface Pro 6, nor my Surface Pro 9 for more than a year now. The problem seems to be the lack of a security feature called NX mode that Microsoft enabled in an update to the Pro’s firmware a year or so ago. See

for a complete description. Unfortunately, Fedora 40 still hasn’t fixed this.
You can, however, boot and install Ubuntu, if that is any consolation. There may be other flavours of Linux that will also work.

I have no solution, but I have a work-around I made last night.
I use Fedora, but I guess it would work for all distro that have a non-bootable kernel.
<disclaimer>This is a summary of many trial and error, so there could be wrong information</disclaimer>

  1. Use Ventoy with MBR, NTFS and no Secure Boot as the boot media
  2. Disable Secure Boot on surface
  3. Boot from Ventoy, make sure you choose grub2 at the menu!
  4. Install Fedora (this should be normal click-click-next)
  5. After installment on Surface, either dont reboot or boot from live-cd once again, the surface will not boot with the stock Fedora kernel.
    Run the following commands from a terminal:
    6.(Note I use btrfs with root partition renamed to @)*
mount -o subvol=@ /dev/nvme0n1p3 mnt/
cd mnt
mount -o bind /proc proc/
mount --rbind /sys sys/
mount --rbind /dev dev/
mount -o bind /run run/
mount /dev/nvme0n1p2 boot/
mount /dev/nvme0n1p1 boot/efi/
chroot /root/mnt /bin/bash
source /etc/profile
dnf config-manager \
    --add-repo=https://pkg.surfacelinux.com/fedora/linux-surface.repo
dnf install --allowerasing kernel-surface iptsd libwacom-surface
dnf reinstall kernel-surface*
grub2-mkconfig -o /boot/grub2/grub.cfg

I posted this on github too: Workaround for installing Linux on Surface Pro where unable to boot (testet on gen7) · linux-surface/linux-surface · Discussion #1455 · GitHub

Linux surface is supported with ublue use any ublue project and select surface as device and install that on device that will work without any issue.

ublue is based on fedora so it has the same issue.

This is still a problem, I tried to install the latest Fedora 40 and ublue Aurora on my Surface Pro 7+, but neither booted the USB live image.

Added f40, microsoft-surface