New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surface Book 2 UEFI firmware malfunction after firmware update in dualboot (Surface - Firmware - 394.651.768.0) #1162
Comments
|
I literally cannot find that version number anywhere on the internet, not even in the Microsoft Update Catalog. Could this be an beta release published through Windows Insiders? Also, fun fact: According to Microsoft the SB2 went EOL 12 days ago, on May 30th: https://learn.microsoft.com/en-us/surface/surface-driver-firmware-lifecycle-support |
|
Also, to my knowledge, downgrades still work. What doesnt work is downgrading to the version of the firmware that allowed undervolting, because that firmware is deemed unsafe. In any case, it doesnt hurt to try it. |
Thank you. I am going to do it in the live environment. Is that safe? Since I couldn't boot into any Linux system that is installed on the SSD, I tried to recreate GRUB, but I am still stuck at the boot sequence. |
Sure, Surface Book 2 was just end of support. But the update history page ended at August 2022. |
|
I dont know if a live environment will work because fwupd needs to put a binary on the ESP and add a bootentry for it. Although I believe that the guys who downgraded to get undervolting probably used a live environment. Maybe check out what they did?
I wouldnt consider it unreasonable that that actually is the last firmware update they released. You usually dont update that very often, especially for older devices that are already stable and bugfree. And that page most likely doesnt contain beta versions released through Windows Insiders, hence me wondering if that might be the case here. I am just finding it interesting that they push out some beta update right after EOL-ing the device. FYI, this is my Do you have secureboot enabled? Have you tried disabling it? |
Interesting, then, I've no idea what caused the problem.
Yes, I've disabled it. |
I will have to remove comments related to that, preventing further misinformation. But from what I remembered, before that firmware updates, |
|
I'm curious, does non-insider Windows not receiving these beta firmware? |
|
Can you give me your UEFI firmware version number? I don't know how to rollback to |
I havent used Windows in years, but my understanding is that if its not on the Microsoft Update Catalog, its not on (normal) Windows Update: https://www.catalog.update.microsoft.com/Home.aspx
I installed the one from the latest MSI a couple of days ago, so
Well you already linked to the surface-uefi-firmware repackaging scripts, so follow the steps from its README. |
Thank god and thank you, looks like I just realized Hopefully, I'm able to downgrade it. |
|
Sorry, do you mind helping me on this one as well Book2 (15") - No CPU Turbo Boost (always below 2.0GHz) Basically, My surface Book 2 does not turbo boost in Linux. |
Potentially. I've got the same update and I'm running insiders, but hadn't noticed any issues. rEFInd still works fine, but after testing this just now, Grub gets stuck trying to boot any kernel (regardless of secureboot status).
That would have to be a major screw-up and I somehow doubt that. We'd probably see more and different failures. As in: I'd be surprised if it even booted something, because UEFI firmware (what the update seems to be) contains a lot of hardware-specific stuff. Including ACPI, which seems to be the correct one for the SB2. I'm wondering whether this could be some kind of updated protection mechanism going wrong. Things failed similarly on the SPX and there it was an issue with memory allocated for the kernel not being marked as executable. As far as I remember though, the x86 code of Grub handled that part correctly. Does the rEFInd failure happen before or after you select a kernel? And can you maybe try to update it and see if that helps (I'm wondering why I am not seeing the issue with rEFInd on my SB2)? |
|
Thank you for all the reply. |
My Grub behaved exactly like you said. That's the first time I encounter something like this. Are you able to recover or fix the problem? Because I'm about to write a support ticket to Microsoft/ Microsoft Surface |
|
I tried updating grub, but that didn't work. So I'm booting via rEFInd right now, which still works for me. |
Yeah. I thought, firmware/ UEFI only handles the startup process and load the Boot Manager (Grub/ Refind/systemd), the rest of OS startup are handle by them. That shock me and I spent hours last 2 days, cannot boot back to my Linux
That night, the Windows Update automatically update the firmware and restart the PC, I didn't what exactly happened in-between because I went to sleep. When I woke up, the SB2 stuck at the Surface Logo, I wait 10 minutes still nothing had happened, then I force restarted it.
If the clicked the On-Screen-Keybaord when the menu is shown, at that period, the OSK is working. ( Something went wrong in that 2 secs)
It doesn't even give me the boot entries, just stuck at the Surface Logo |
|
I will try and install systemd-boot and see if it works. |
Normally, my rEFind boot process is like that:
That's my refind configuration I set Windows as default in refind because I was afraid Windows Update restart went into Linux. |
I want to address something else but it could be related:I hope this could lead to something There's strange behavior in my SB2 setup, I think SB2 does not have enough bandwidth that create some problem: I've mentioned in this post #1041 (2nd comment). I don't think that's linux kernel fault but mine or Mircosoft. I bought a USBC Hub that has 11 ports (including a Smart Card slot) Sometimes, not always Only happened in non-Microsoft boot (rEFind/Grub) |
|
That's the product (I'm not promoting))
|
|
The reason why I want to address this issue right now , is because my rEFind stuck similarly at that time. I'm not an expert in System start up process. I don't know what happened in What exactly happened in that 2secs? |
never mind, my SB2 just stuck when I try to boot USB / enter UEFI page, it stuck at the surface logo when I click volume +/- After I unplug the HUB, it continue to open the UEFI page. All that I could say, Microsoft firmware is very buggy.... |
|
Sorry, I might have said too much nonsense here. Under
|
Now I am going to test shim-signed by Microsoft |
Okay, I figured out rEFInd is not the probelm.I forgot I used
However, rEFInd failed to boot my Fedora Surface kernelthere was an error message during boot
But I think that's no big deal. Probably, because of the old surface kernel Last night I updated everything for Fedora |
[Update "6" - Surface Business Support meeting ] 17th-July, 2023
Here's some update, I received Microsoft reply to my support ticket. If you have anything related need to tell them or you want to join the meeting. |
|
BTW, The meeting is going to hold on Friday around 1pm SGT. |
|
Good thing. Wish you the best of luck, that you're able to tell them what's going on and hope that this issue can be resolved. It's probably a good idea to join the meeting via your smartphone, so that you could show them the boot issues via a live camera feed from it. |
|
I just put ubuntu (22 lts) on a surface 5 pro and all was fine after basic installation. After enabling surface-linux with extrepo and doing the updates and try to run the surface kernel I have the problem described here and now are only able to boot arch-linux. |
|
I got a similar problem in #1194 , but on Mint. Now I've managed to boot, but Linux can't mount the C:\ and D:\ drives any more (it only sees them as "100 GB" and "200 GB"). When I try selecting them, Mint prompts that I need to type a "passphrase". I don't recall ever set a phrase for either drive (BitLocker is off, btw), so I just type the Mint login password, but it says it fails to mount. Does anyone have the same experience? |
What does Just a reminder, you need root permission to mount partition. |
Btw What's your UEFI firmware version number? You can check it in UEFI/BIOS settings (power button + vol up) |
|
Yeah, #1194 is different, looks like it was some secureboot/mok problem. |
|
Due to personal reason, the date of my meeting with Microsoft is change. Would anyone like to join, add some information about the UEFI firmware problem, and linux not bootable? |
Hello, @ThePinkUnicorn6 @SudoSnoop . Were you on Insider Preview when you received the update from Windows Update? I'm writing a report to Microsoft, I want to record the timeline when or how it happens. Much obliged! |
|
Hi @Ramen-LadyHKG, AFAIK, I am not on the insider preview but I am not sure. Here is what winver tells me: And here is what the windows insider webpage shows me: But looking at the insider settings seems to imply that I am part of windows insiders but I will stop being part at the next major release of windows: Kind regards, TPU |
It's 394.651.768.0 according to my Win update info. BTW, it turned out my C & D:\ drives are encrypted without BitLocker turning on (thus no passphrases). I had to manually switch it on in order to set up the phrases, then put it in Linux for mounting. It seems that the firmware update messed with the whole mentioned encrypt business, in addition to the problems you listed on here, because after the update, some warning signs suddenly appeared on my drives in Win Explorer. |
Post some screenshots here.
Issue A) Issue B) Since you're using mint, you're most likely unable to boot before downgrade back to |
Excellent, then, I'll mark your case as the first incident of non-Insider(Surface Pro5) . |
|
I'll will share a PDF file here before i send to Microsoft |
Hi there. No, I'm not on the insider programme. The only thing I checked on my update settings is that I would receive regular updates as fast as possible. |
OK, here goes.
A. Yes, my Mint mounted C & D:\ all the time, and I read & saved files on them w/o probs. It was after the auto-update of Linux Surface on Mint that I encountered the dead-Win screen at bootup, and after the measures taken to get pass that state (described in my #1194 post) that Mint began to fail to mount the drives. B. idk what grub is for sure, I just installed Mint 2 months ago using mostly the default setup guide. Yet I know for sure that I'm having 394 running right now, and I can boot into LS Mint also quite easily - after that scare a week ago, that is. |
|
There was some curiosity about whether Debian's patched GRUB would boot. It does, or at least the installer gets past GRUB (I didn't install). I had Secure Boot disabled when I tried Debian (which was required for Arch to even get to GRUB), and I have not tried the Debian installer with Secure Boot enabled. FWIW, openSUSE MicroOs also appears to get past GRUB, even with Secure Boot enabled. I was originally going to install Fedora Silverblue, but this issue has been such a pain that I might just install MicroOs as "the next best thing" and shake my fists at Red Hat. Speaking of Red Hat, has this issue been raised to the Fedora team? What would be the proper way to go about doing that? |
[Update "7" - 1st Surface Business Support meeting ] 27th-July, 2023
I've just finished the meeting with Microsoft. As for now, they request some documentations referring to this issue. (like a video footage of the whole process, code or anything that shows what's working and what's not. They also want to know, what devices are having the problem. Normal: Abnormal: They'll send me a link to upload all documents that's related to this problem. He said that they are welcome other users to join and tell what problems they're having even if it isn't related to this specific UEFI problem. |
Surface – Linux not booting after UEFI firmware updates | issue[Update "8" - 1st Surface Business Support meeting ] 7th-Aug, 2023
I think I've complete the requested document.Here's the temporary view link:
|
Please take some time in
If yours is different from the document, please contact me |
Thank you for your informative test.
If you're available, please help us to open a ticket to RedHat & linux kernel |
@longtry Your partition table is a bit confusing to me My guess is your Windows partition is not encrypted but you have 2 encrypted partition to store data? Please explain what
I'm not sure what the Windows C: drive Screenshot means On Linux Mint, |
@longtry Anyway, let's continue in your post #1194. |
|
For latest information, please visit Support (linux-surface) |
Surface – Linux not booting after UEFI firmware updates | issueFor latest information, please visit Support Channel (linux-surface) on Matrix [Update "9" - 2nd Surface Business Support meeting ] 12th-Aug, 2023
Summary:Microsoft Support can only solve Windows issue on Surface Devices.
What can we do now?Send a issue ticket to Red Hat.I wouldn't say I'm disappointed, It's all expected and understandable. |
|
Very difficult to find (I know, I just tried), but there is an open bug on Redhat's bugzilla for (what I suspect) is this issue: https://bugzilla.redhat.com/show_bug.cgi?id=2149020 |
Thank you, That's a great help. Hey, are you on Support Channel (linux-surface) on Matrix |
|
I'll join! I'm working on trying to downgrade the UEFI presently. |
read my file about downgrade |












(This is not linux-surface problem. Can I get some help here?)
[Description of the bug or feature]

My Surface Book 2 just updated its UEFI firmware due to a Windows automatically update.
After that, my EFI table seems to have broken.
Except for the Windows operating system that I am dual booting with, all Linux systems are no longer bootable. Fedora and Arch.
For more details: https://www.reddit.com/r/SurfaceLinux/comments/146sjo7/my_sb2_stuck_on_logo_when_booting_windows_updates/
Solution:
Anyway, downgrading the firmware is the only viable option that I can think of.
https://github.com/linux-surface/surface-uefi-firmware
I tried to follow the instructions that you provided in this document.
However, Microsoft has not been releasing any newer firmware package since
26th-June,2022.Surface Book 2 Drivers and Firmware:
Surface Book 2 update history:
But I don't understand why Microsoft is still releasing firmware updates through Windows Updates.
### Questions:
I've just read this post, Microsoft seems to have blocked user from doing that?
Environment
The text was updated successfully, but these errors were encountered: