Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fail to reboot into Ubuntu after successful update #86
Comments
|
Can you please share more details about your machine? What model number? BIOS version you were at and version you were trying to upgrade to? |
galgalesh
commented
Oct 22, 2017
|
Dell Latitude 5580, I was at 1.4.3 and upgraded to 1.6.4. I've been trying to replicate this by downgrading and upgrading a few times, but I'm not able to replicate it anymore. |
|
Hmm interesting. to your first comment, a little more clarification: |
galgalesh
commented
Oct 23, 2017
|
It flashed to 1.6.4 and it didn't boot again. (well it booted into those two error messages) |
|
It sounds to me like you were missing a boot entry initially. Were you booting using the removable media path \efi\boot\bootx64.efi? |
galgalesh
commented
Oct 23, 2017
•
|
I don't know. It was a standard Ubuntu 17.10 installation. Note that this was not the first upgrade I performed. The first one succeeded without issues, so I don't think it's an installation issue. I downgraded the firmware manually using a USB stick and Dell's builtin firmware update utility, in order to reproduce some issues with the fwupdate integration in the software center. It was the first upgrade after this downgrade that failed. |
|
Since this was with ubuntu 17.10, there's actually evidence logged into the journal log for fwupd. can you look through journalctl to see if you have the (Came from this commit: ) hughsie/fwupd@f043f1f |
galgalesh
commented
Oct 24, 2017
|
No such luck, apparently Ubuntu 17.10 still doesn't enable persistent logs. Only the logs since last boot are visible. I configured persistent logs now, but that won't help much for this bug..
|
|
Ah well darn. |
gerobum
commented
Nov 6, 2017
|
Is this topic closes ? Because I have the same issue. Yesterday, I answered "yes" to the "update manager" which ask to me if I would like to change my firmware. And this morning, unable to boot on my ubuntu |
galgalesh
commented
Nov 6, 2017
|
@gerobum Do you have persistent logs on? For reference,
|
gerobum
commented
Nov 6, 2017
|
@galgalesh I don't what do you by "persistent logs on". But I don't know what to do because I am unable to boot. Have you fixed your problem ? |
galgalesh
commented
Nov 6, 2017
•
|
@gerobum Oh, why didn't you say that earlier! I added a picture guide to my original message on the top of this thread. After fixing your installation, can you show the output of sudo journalctl --list-bootsto figure out if you have persistent logs enabled? |
gerobum
commented
Nov 6, 2017
|
@galgalesh Ok thanks. But I tried to do the same. Unfortunatly I have now directly this |
galgalesh
commented
Nov 6, 2017
|
@gerobum can you show a picture of the "boot sequence screen"? (the last picture in my tutorial) |
gerobum
commented
Nov 6, 2017
|
Thanks a lot. It works now. Anyway. Thanks. |
galgalesh
commented
Nov 6, 2017
|
That means the systemd journal (the log collector) only contains logs since the last boot (which happened on Thus, we cannot look at the logs from when |
gerobum
commented
Nov 6, 2017
|
I see. |
seb128
commented
Nov 6, 2017
|
the journal isn't persistant but the logs are stored in /var/log/syslog as well no? that should have records from previous boot (it's being rotated so could be .1) |
jeremybmerrill
commented
Nov 17, 2017
|
Chiming in to say that I had this same bug occur on my Dell XPS 13 (2016), but didn't have persistent logs on. However @galgalesh, your guide at the top of the thread worked perfectly to fix my issue, so thank you! |
|
@jeremybmerrill were you on Ubuntu as well? We need someone to help to verify the SRU that has been filed. |
jeremybmerrill
commented
Nov 17, 2017
|
@superm1 Yes, Ubuntu 17.10. Happy to do what I can to help, just tell me what to do. |
galgalesh
commented
Nov 17, 2017
|
@superm1 I think something went wrong, the patch is still not in proposed..
|
|
@jeremybmerrill Yes so this is the public bug: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1730343 @galgalesh Presumably you've already apt updated and have proposed activated? |
jeremybmerrill
commented
Nov 18, 2017
|
@superm1 Do you know if the bug is such that my system did update the firmware properly, but just didn't boot up correctly afterwards? Or did the system not update the firmware? I enabled proposed, ran How do I run the update again, now that I have a new |
|
@jeremybmerrill yes that's the bug, it didn't boot up afterwards properly. To confirm you have the latest package can you please run: IIRC artful-proposed isn't enabled by default, you have to modify After you confirm you have the new package, you can manually download the CAB file from LVFS for your system. then run:
|
galgalesh
commented
Nov 19, 2017
•
So If your assessment of the cause of the bug is correct, then the bug is fixed. However there is clearly something wrong with fwupdate-signed since it isn't visible for us in the artful-proposed repos as you can see in the output of the commands up top. |
|
Can you confirm the efibootmgr -v output after that list of steps you followed? |
galgalesh
commented
Nov 20, 2017
I am surprised that windows boot manager shows up here, I don't run Windows.. |
4l1fe
commented
Nov 20, 2017
•
|
@galgalesh bro, you have saved my life by your guide! for dell xps on Ubuntu 16.04 there is one more step is to disable secure booting in BIOS because of such problem |
|
@4l1fe there was a problem with the building of fwupdate-signed for some reason on Launchpad. I just requested it to be rebuilt, hopefully that will fix the problem with secure boot. @galgalesh |
|
@galgalesh regarding your comment about two Latitude 5x80 devices, yes it's intended. There are two different variants of the 5x80's that contain incompatible BIOS binaries. In that case you need to match the ESRT GUID to the one you have (which it sounds like you were able to successfully or luckily do). For most people it doesn't affect them because LVFS sorts it out. It's just when you manually go hunting for the binaries that it could be problematic. |
4l1fe
commented
Nov 26, 2017
•
|
@superm1 Can you say if my bootloading depends on a new firmware ? coz it became very very slow after updating. And how can i downgrade the firmware and return previous settings in |
|
@4l1fe Better to discuss this in a different forum than an issue. If you want to downgrade firmware you can download the .EXE and place it on a FAT32 partition or USB disk and flash from the F12 menu. UEFI capsule downgrades are generally not supported on Dell systems. |
4l1fe
commented
Nov 28, 2017
|
Thx for the advice. I have solved this problem. It was not related to |
jeremybmerrill
commented
Dec 4, 2017
|
@superm1 : I see that the fwupdate-signed version for artful-proposed is now available in the repos. I installed it and tried to install the updates. The installation failed (due to the TPM being owned, or something? Then due to the update supposedly not being for my system -- but these are not fwupdate related, I don't think), but then it rebooted into Ubuntu properly. I'm not sure if this avoided the spot where the problem was or if it reflects a successful fix. |
|
@jeremybmerrill can you please confirm your Your other two issues are quite interesting to me though. I'd like some other details if you can share them.
|
jeremybmerrill
commented
Dec 6, 2017
Thanks again for all your help! |
jeremybmerrill
commented
Dec 12, 2017
|
@superm1 : Oddly enough, I restarted again (for other reasons) and it seems to have updated the firmware. Not sure what happened the first time. |
|
Did it update the tpm too? I think this might be order of events. |
jeremybmerrill
commented
Dec 12, 2017
|
@superm1 It appears to have only updated the BIOS, but it did not update the TPM. (At least -- the Updater still suggests that I update the TPM) |
|
I suppose the tpm update won't take due to it being owned now right? Did you take ownership of it? |
jeremybmerrill
commented
Dec 12, 2017
|
Yes, I think that's why it failed. I need to figure out how to take
ownership of it, I just haven't had time
…
|
|
Well so it's not supposed to even offer in Ubuntu if it's owned. That's the odd part to me. |
|
Well it's not supposed to allow switching modes if owned. I think upgrades within the mode should work though. |
KoenDG
commented
Dec 14, 2017
|
Chiming in, just now had the same issue with a Dell Inspiron 3520, running Ubuntu 16.04 LTS. Ouput of the commands I found in this thread:
and
Hope it helps. |
|
@KoenDG Can you please add a comment to https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1730343 The Ubuntu archive admin needs to release the uploaded package for 16.04. |
KoenDG
commented
Dec 15, 2017
|
@superm1 Comment made. |
|
@KoenDG would you be able to test the 16.04 package as it's been accepted by that admin? |
KoenDG
commented
Jan 2, 2018
|
@superm1 I followed the steps found here: https://wiki.ubuntu.com/Testing/EnableProposed And selected fwupdate and fwupdate-signed from aptitude(which were not both in the same part of the tree for some reason). 3 packages were selected for update, fwupdate, fwupdate-signed and the library behind it, I already forgot the name. Install showed no errors. I then performed
I don't know if there's something else I should test. There isn't actually a firmware update available so I don't know how to test it further. |
|
@KoenDG thanks for looking. Yes they're two separate packages due to how the signing works in Ubuntu. You can download the latest CAB file for your system and install with |
KoenDG
commented
Jan 2, 2018
•
|
@superm1 I can't get it to work. I had to look for the cab file in my download cache, it was still there. The Dell website isn't offering it for download anywhere. I did the command as instructed, got the output saying an upgrade was scheduled. I tried both I tried it with and without In all instances, a regular reboot happens and nothing else.
Not sure why it's not picking up the upgrade. |
|
The CAB file comes from LVFS not from the Dell site, so that's why you couldn't find it there. It's good you had it in your cache though. After you have scheduled it but before rebooting, can you please share the output of:
In |
KoenDG
commented
Jan 2, 2018
|
@superm1 As requested:
|
|
Hmm, looks like it did the correct thing to me. And after that you don't see the fwupx64.efi quick between post and GRUB coming up pop up? |
KoenDG
commented
Jan 3, 2018
|
Nothing comes up. Secure boot is disabled MD5: 1a68d9b11532c19640b4a2eeeee4fd80 /boot/efi/efi/ubuntu/fwupx64.efi Could this be related to the fact that I had to use the fix given in the top post here, when this happened to me? So I selected the ubuntu shimx64.efi and that's still selected? |
|
That is the correct checksum. Something that stick out is that you have two different Linux Firmware Updater entries. I wonder if that's throwing something off. Can you please try to delete both with efibootmgr and try again? |
KoenDG
commented
Jan 3, 2018
|
@superm1 I executed Attempt the update now gave me a new message: Cannot install update when not on AC power. So that's progress. I don't have my AC adapter with me so it'll have to wait until tomorrow. |
|
@KoenDG That message came from the Dell flash screen or from fwupd? If it's from the Dell flash screen that's great news and it means that the duplicates were the root cause. |
KoenDG
commented
Jan 3, 2018
|
@superm1 Sorry, it's from fwupdmgr. The flash screen just saying "Bootin in insecure mode".
|
|
Ah OK, so then it doesn't tell anything interesting yet. I guess we'll see tomorrow then. |
KoenDG
commented
Jan 4, 2018
|
@superm1 Just tried with the AC plugged in, nothing happens. Tried it with the 1.7.5 and the 1.8.1, restart from commandline, restart from the "Ubuntu Software" GUI, nothing happens. It just goes by the DELL logo, I see "Booting in insecure mode" in the top left and then it starts normally. |
|
Ok so that's definitely a failure then. I'll need to get a 16.04 box setup to dig into what's going wrong. |
KoenDG
commented
Jan 4, 2018
•
|
@superm1 Could this have something to do with having followed the guide at the top of this thread? Do I need to revert that last step? |
|
@KoenDG I don't think it should have, it looked like in your above efibootmgr output that you had not followed the guide (you picked
|
KoenDG
commented
Jan 4, 2018
•
|
@superm1 It appears that after I did
|
|
@KoenDG When you run the update it will create a new entry for you and set it appropriately. |
KoenDG
commented
Jan 4, 2018
•
|
Alright, I did the cleanup as follow:
After setting the reinstall for 1.7.5, it did indeed create the new option:
Here goes. |
KoenDG
commented
Jan 4, 2018
|
@superm1 Looks like a failure. I took a picture with my phone: https://www.dropbox.com/s/6r6zeadqakbtjg5/2018-01-04%2023.35.59-1.jpg?dl=0 Hope it's readable. After that it just went on with a regular boot. |
|
Ah darn. OK so some other patches really need to come back with it then still, that's unfortunate. |
KoenDG
commented
Jan 4, 2018
•
|
@superm1 Comment made. Not sure how to mark as failed. EDIT: Ah hang on I found it. Updated the tags at the top. |
superm1
added
the
bug
label
Jan 9, 2018
|
So this issue from an upstream fwupdate perspective is fixed, I'm going to close it on Github. From an Ubuntu perspective, the SRU still needs to be done/fixed for xenial/16.04. Anyone who encounters this outside of Ubuntu with the older fwupdate, please file retry with the latest release (10) and open a new bug referencing this one if you have problems. |
superm1
closed this
Jan 9, 2018
|
@galgalesh Would you be able to bring your content from the first post about how to recover over to a Wiki page? I think it would be good to have it there so it's not lost in Github bug history if someone encounters this in the future. |


galgalesh commentedOct 22, 2017
•
Edited 5 times
-
galgalesh
Nov 6, 2017
-
galgalesh
Nov 6, 2017
-
galgalesh
Nov 6, 2017
-
galgalesh
Nov 6, 2017
-
galgalesh
Nov 6, 2017
I triggered the update with Gnome Software on Ubuntu 17.10. Gnome Software asked me to restart, I click restart. During boot, the update starts correctly, and succeeds. After it succeeds, the laptop boots back into fwupd, which fails with the following error:
After a few seconds, it shows another screen:
Help, I've got this issue too and I can't boot!
I was able to workaround the issue by going into
setup,general > Boot Sequence, and addinggrub64.efiback as primary boot option.Picture walkthrough:
When you see this message, press F2 to enter the UEFI/BIOS setup.
Once in the setup, go to
general > Boot Sequence.Click
Add boot option.Call the boot option "Ubuntu" and click the three dots behind "filename".
Choose the "grubx64.efi" file, click OK and add the boot option.
Now use the arrows to put the "Ubuntu" boot option to the top.
Save and exit, reboot and Ubuntu boots as normal!