home-assistant / operating-system

:beginner: Home Assistant Operating System
Apache License 2.0
4.76k stars 956 forks source link

ASUS NUC 14 Pro will not boot #3474

Open tane64 opened 1 month ago

tane64 commented 1 month ago

Describe the issue you are experiencing

Home Assistant OS 12.4 Will not boot on a new ASUS NUC 14 Booting ‘Slot A (OK=0 TRY+0)

System will freeze after that

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?

12.4

Did the problem occur after upgrading the Operating System?

No

Hardware details

Asus NUC 14 Pro Intel 125, 16 GB Memory 4 TB SSD NVME

Steps to reproduce the issue

Fresh install

Ubuntu and Proxmox will install and boot fine.

Anything in the Supervisor logs that might be useful for us?

no

Anything in the Host logs that might be useful for us?

Botsing ‘Slot A (OK=0 TRY+0)

System  Will freeze

System information

No response

Additional information

No response

sairon commented 1 month ago

Can you please test if the latest dev build (as of today) boots correctly? Could be fixed by 63a05a5a1ec6b8c8f49cb3e2812894087a52d01a.

tane64 commented 1 month ago

Same result. Will not boot After Booting Slot A system will freeze

sairon commented 1 month ago

If there nothing else shown after selecting the boot slot, GRUB is likely failing to load kernel. It can be a bug in the UEFI firmware or GRUB itself. HAOS 12.2 brought GRUB 2.12 that hasn't made it way into most of the current mainstream distros, and for example in case of Ubuntu, it's heavily patched. Can you please also check if HAOS 12.1 doesn't behave differently by any chance?

tane64 commented 1 month ago

Same result with HAOS 12.1 Also downgraded the Bios firmware to 38 39 41 42 43

All same result after after GRUB menu it will freeze

riemers commented 1 month ago

WhatsApp Image 2024-08-03 at 20 37 12_738e4e07

Playing with these settings made it boot on my side. In particular the intel VT for directed I/O (VT-d) needs to be unticked. I have verified this with opmised bios settings, then disabling secure boot and unticking above named item.

sairon commented 1 month ago

Nice find, @riemers! Although toggling VT-d shouldn't make any difference if HAOS boots or not, disabling it doesn't do any harm, because HAOS doesn't make any use of it. Disabling secure boot is mandatory though.

riemers commented 1 month ago

True, although other operating systems boot up just fine.. so i am still pretty sure its something to do with the boot in the current HAOS but will be eventually be updated by mainstream one would say. At least there is a work around.

p.s. you can close the ticket (i instructed tane64 and it works on his side)

sairon commented 1 month ago

Unfortunately, without the device on hand, it's shooting in the dark. It could also be the other way, because HAOS already uses GRUB 2.12 bootloader, which is not yet in most of the others (or not heavily unpatched).

The only other idea I have right now is to check if it really fails to boot or just the graphics driver doesn't correctly initialize. To test that, re-enable the BIOS option and check if HA become reachable after some time.

riemers commented 1 month ago

Thought about that too, but never noticed an ip after longer waiting. Also the keyboard locks up too. So for example caps lock lights don’t work anymore either.


Van: Jan Čermák @.> Verzonden: Thursday, August 8, 2024 1:27:07 PM Aan: home-assistant/operating-system @.> CC: Erik-jan Riemers @.>; Mention @.> Onderwerp: Re: [home-assistant/operating-system] ASUS NUC 14 Pro will not boot (Issue #3474)

Unfortunately, without the device on hand, it's shooting in the dark. It could also be the other way, because HAOS already uses GRUB 2.12 bootloader, which is not yet in most of the others (or not heavily unpatched).

The only other idea I have right now is to check if it really fails to boot or just the graphics driver doesn't correctly initialize. To test that, re-enable the BIOS option and check if HA become reachable after some time.

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/operating-system/issues/3474#issuecomment-2275587159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFGQOL7B77JCYYUG7CZTB3ZQNIYXAVCNFSM6AAAAABK3HOVE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZVGU4DOMJVHE. You are receiving this because you were mentioned.Message ID: @.***>

themajesticking commented 3 weeks ago

WhatsApp Image 2024-08-03 at 20 37 12_738e4e07

Playing with these settings made it boot on my side. In particular the intel VT for directed I/O (VT-d) needs to be unticked. I have verified this with opmised bios settings, then disabling secure boot and unticking above named item.

OMGG I've been fighting with this for 4 hours on my NUC 14 Pro and this was the fix. I ticked/unticked the boxes in this photo and the "Booting ‘Slot A (OK=0 TRY+0)" flashed for a second and HA finally completed its first boot. Thanks!

xeor commented 4 days ago

Confirming this solved the exact same issue I had on NUC 14 as well. There should be a "known fixes" section in some docs somewhere :)