-
Notifications
You must be signed in to change notification settings - Fork 982
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
Update to 12.3 prevents boot on Fujitsu Esprimo Q920 #3348
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Unlikely, as this is Home Assistant Yellow. This is probably related to the GRUB revert in #3324. What x86-64 machine are you running on?
What rescue mode exactly? Is Probably your best way forward here is to replace the GRUB bootloader on the first partition of your boot disk (e.g. using a Ubuntu Live USB flash drive). You can find older version of the GRUB bootloader capable of booting HAOS in this comment #3305 (comment). |
Thank you very much for your answer.
Fujitsu Esprimo Q920 - Intel Core i5 4590T
This does not work in the rescue shell but I can exit the rescue shell which makes the supervisor start. In that case it is HAOS 12.2 so I assume I starts from Slot B rescue. From that point on I have access to the system and can provide additional information.
Start into this rescue mode is successfull in about 1 out of 10 boot attempts. Otherwise I only see the mentioned error. |
Adding system information of 12.2 startet from Slot B rescue: System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
|
Hm, weird, so the new GRUB is able to boot HAOS 12.2, but not 12.3? 🤔 I wonder if boot slot A (or the kernel partition thereof) is somehow corrupted. When in boot slot B, can you just try to install HAOS 12.3 again? It should try to install it to the boot slot A again:
|
After the reboot the problem persists. I will transfer an image of the SSD to another identical esprimo and downgrade the production one to 12.2. If I can reproduce the problem on the other esprimo, I will try older grub images as suggested in #3305 (comment) starting with the 32-bit EFI files and then 64-bit ones to check if this is the same behaviour. |
@asciinaut Can you also check if you're using the latest BIOS (as it sometimes resolves some weird UEFI boot issues) and try booting a fresh 12.3 install e.g. from an USB thumb drive? |
@sairon booting from a fresh 12.3 USB thunb drive has the same issues on two identical esprimo. However both have a BIOS update pending. Will update one to see if the issue persists. |
A BIOS update did not fix the problem. I'm waiting for the images to finish and then continue with the older GRUB images. For reference the Q920 BIOS versions tested:
|
Just wanted to report that i had exactly the same behaviour with my Q920. BIOS updates didnt work for me too. Only solution was to replace the GRUB Files via ubuntu. Unfortunately i have already replaced both an can not report if only changing one of them would help. |
Can you please describe how to replace the GRUB Files via ubuntu? I have the same Problems with my Q920 since Updating to HAOS. |
Sure. I downloaded the latest ubuntu version and flashed it on an usb stick with balena etcher. Put the stick into your esprimo and start it. Use F12 to open the boot menu and select the usb stick as boot device. After some time ubuntu will start. That way is also described here Shutdown ubuntu and restart the esprimo. It will take some minutes till your ha is available again. |
....
Thank You Very much. Got Control Back again. |
@agners I have tested the 12.1 grub files and can confirm that the 64-bit grub image fixed the problem. The 32-bit version have the same problem as before. For that reason it think it is indeed related to #3305 (comment). What irritates me, is that unlike described in the other issue, the grub loader from version 12.2 started without any problems. So it doesn't seem to be the exact same problem. @Botschafter, @kimzeuner can you confirm that the Grub from version 12.2 also booted smoothly on your Q920? |
Yes, i can confirm that. Im currently running 12.2 without any problems. |
Im not an expert but as i have read in the other issue it should always be the first partition with 32M so /dev/sda1 should be the right one for you. I think in my system it looked similar to yours in the screenshot |
Maybe relevant - maybe not:
|
I have the same problem on a ThinkCentre m93 p, I already wrote here: #3376 Now I hope I have a solution for me, but not for haos itself: I found that proxmox can be rebooted multiple times if I use legacy bios mode. With uefi mode not. And now I also can restart Home assistant VM multiple times without problems. Will see what happens if a next os update is out and the boot slots are exchanged! |
I have the same problem, helped me to run in Terminal Fujitsu Esprimo Q920 works again, as before |
Having the same Grub Boot Freezing Error again with the current update... |
...
I can confirm this observation. Removing all usb devices made it boot for me. Which was very useful to revert the upgrade. |
How is this still not fixed? How could 2 Updates in a row from the GUI Break the System completely in a way that it is not bootable any more in a row?! I don't get it. How could you guys break things with an Update, we tell you, and the next update breaks the exact same thing?! how?! |
As far as I remember, the q920 already required some intervention during the initial installation, as the BIOS is probably a bit "special". Is this a mistake on the part of the HAOS developers? As of today and with today's knowledge, I would no longer go for the q920 and not blame the developers of HAOS. |
There where no intervention during the initial installation needed. Never. Ever.
How is it Possible that even this is not clear by now?!
i expect it not breaking when updating from GUI. How would that be?! as it were the case before for years...
yes it is. And it was with the last Update. I hope that was clear enough now... In general you guys do great stuff, but this here is shit... |
Well, a lot of users of the q920 (me included) ran into trouble during installation / first boot of HAOS like describe here: #1760 (similar: https://community.simon42.com/t/haos-x86-bootet-nicht-von-fujitsu-esprimo-q920/534 and in principle the same problem I assume here: AlmaLinux/almalinux-deploy#31 ) I don't understand the details and the source of the problem but it is obvious that the BIOS of the q920 is somehow more problematic than the BIOSes of lots of other x86-64 computer models. Yes, it would be nice to get a fix. But the q920 in my opinion is not the ideal hardware to run HAOS on it - it causes too much trouble. And once again: If your q920 does not boot, try to pull out all USB devices. Maybe you're in luck and it boots again. Makes troubleshooting a lot easier. |
I bought the Hardware Refurbished in 2021 from Amazon Marketplace and never had any issues or Manuel intervention needed. I never made any BIOS Updates or Settings or opend the case... I don't know what you are talking about, but i installed the HAOS on this Hardware without any issues ever and it ran for years and i did every update with Rebooting and Everything. And out of nothing the Hardware is to Blame, when Updating from GUI whcih where never a Problem?! Because an Update breaks Grub?! What is wrong with you?! |
That's why I'm skipping these OS updates until the problem has been resolved. Can anyone tell me what new features have been implemented in OS 12.4? For now, I'm sticking with the working version 12.3 and, when I have a lot of time, I'll do some sandbox testing before updating with my mirrored system hard drive. I don't think it's worth wasting time getting the system up running again after updates preventing the boot. I'm sure there will be a solution sooner or later. I will not replace the well-functioning and inexpensive Q920 hardware just because of this. |
Frankly, arguing on such a personal level will not help us Eprimo users getting the issue fixed. |
Are we now done criticising someone who has rightly criticised? He explained it clearly, why they release an update and get some users into massive trouble? We are not toys or experimental rabbits, we are grateful to have this platform and play our part in making it better, we all test, try and optimise and share our knowledge in the community. But to completely bring down something like this update is unacceptable and I condemn it in the strongest possible terms. Find a solution and do it immediately! |
Das Problem scheint weiterhin zu bestehen 👎 auch mit der Version 12.7 ich hoffe das sich da bald was tut wäre echt traurig wein diese Hardware nicht mehr unterstützt werden würde. Vor allem da er so zuverlässig läuft. |
however, version OS 12.4 is just out, not 12.7 |
…OSes (#3324)" This reverts commit 478538e. For HAOS release 13.0 the patch that diverges our GRUB build from upstream to fix boot on some old Atom boards should be reverted. While this patch fixed issues on some boards, it significantly changes how the kernel is loaded with GRUB 2.12 and causes issues on other, more recent devices. There's a call to action for users of those old boards in #3305 to gather information which should result in upstream patch targeted specifically to the boards affected [1]. Fixes #3348 [1] https://lists.gnu.org/archive/html/grub-devel/2024-07/msg00009.html
I am reluctant to update because I am not sure if this issue applies to my situation: I am running Home Assistant inside Oracle VM VirtualBox, which runs on a Fujitsu Esprimo Q920 Intel Core i5-4590T with Windows 10 Pro 22H2. Inside Oracle VM VirtualBox it says: Should I wait until this issue has been fixed, or is it irrelevant for my situation? Your help is apprecicated, thanks! |
@countrr No, this bug only affects the generic-x86-64 OS version. In your case the hardware is fully virtualized by the VirtualBox hypervisor, so it mostly doesn't matter what machine is it running on. In this case it should be safe to upgrade. |
@sairon Thanks for clarifying! |
Previous revert of GRUB2 change that introduced usage of the generic EFI loader for all x86 boards in #3324 caused regressions, the one confirmed is #3348. This commit adds a specific patch that identifies the broken platforms based on SMBIOS data gathered in #3305 and falls back to the legacy loader there. Tested on Intel D525MW (falls back) and QEMU (no fallback).
…3498) * Use GRUB2 legacy loader only on some Intel Atom boards specifically Previous revert of GRUB2 change that introduced usage of the generic EFI loader for all x86 boards in #3324 caused regressions, the one confirmed is #3348. This commit adds a specific patch that identifies the broken platforms based on SMBIOS data gathered in #3305 and falls back to the legacy loader there. Tested on Intel D525MW (falls back) and QEMU (no fallback). * Enable GRUB's smbios module Having smbios command in GRUB can help in future debugging, e.g. to add more CPUs that should use the linux loader fallback.
Is the problem solved in OS 13.0? |
For me the update to 13.0 worked. |
I updated and seems no problem |
I update my Fujitsu Q920 and no problem |
@Flori123456789 Yes, solved since this revert which is included in 13.0: So it's not just a coincidence :) Thanks for the feedback, rest of you! |
Describe the issue you are experiencing
Updated Home Assistant OS from 12.2 to 12.3.
After reboot system doesn't boot properly
Sometimes it boots into rescue mode automatically if no option is chosen manually after reboot. Sometimes it shows:
Choosing the slots manually neither of the slots (Slot A, Slot B nor the respective rescue slots) boot.
What operating system image do you use?
generic-x86-64 (Generic UEFI capable x86-64 systems)
What version of Home Assistant Operating System is installed?
inaccessible
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
inaccessible
Additional information
No response
The text was updated successfully, but these errors were encountered: