Skip to content
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

ASUS NUC 14 Pro will not boot #3474

Open
tane64 opened this issue Jul 14, 2024 · 14 comments
Open

ASUS NUC 14 Pro will not boot #3474

tane64 opened this issue Jul 14, 2024 · 14 comments
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug

Comments

@tane64
Copy link

tane64 commented Jul 14, 2024

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

@tane64 tane64 added the bug label Jul 14, 2024
@sairon sairon added the board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) label Jul 23, 2024
@sairon
Copy link
Member

sairon commented Jul 23, 2024

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

@tane64
Copy link
Author

tane64 commented Jul 23, 2024

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

@sairon
Copy link
Member

sairon commented Jul 23, 2024

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
Copy link
Author

tane64 commented Jul 24, 2024

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
Copy link

riemers commented Aug 3, 2024

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
Copy link
Member

sairon commented Aug 5, 2024

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
Copy link

riemers commented Aug 8, 2024

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
Copy link
Member

sairon commented Aug 8, 2024

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
Copy link

riemers commented Aug 8, 2024 via email

@themajesticking
Copy link

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
Copy link

xeor commented Sep 3, 2024

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 :)

@Deckoz2302
Copy link

I'd argue that disabling VT-D is not a fix, as it disables the iGPU on Ultra 5 125H, making it unable to pass through the iGPU for hardware accelerated decoding of streams within Frigate Add-On.

Sure it makes home assistant OS boot, but disabling hardware for I/O pass through in the process.

@alvinchen1
Copy link

Confirming that this resolved issue getting Home Assistant installed on Bee-Link GTi14

BIOS - Press F7
Advanced - CPU Configuration - Intel (VMX) Virtualization Technology - from Enabled to Disabled
Security - Secure Boot - Secure Boot - from Enabled to Disabled
Save and Exit

@waypts
Copy link

waypts commented Nov 27, 2024

RIEMERS POST SOLVED THIS ISSUE!!!! I had this exact problem trying to run Home Assistant on the Asus NUC 14 Pro+. I followed the Home Assistant Setup x86 Secondary Instructions. Under the BIOS Security Tab, be sure to UNCHECK the Intel VT for Directed I/O (VT-d) option. I spent hours trying to figure out why Home Assistant wouldn't run and would freeze. I appreciate Reimer's post. Home Assistant either needs to add this to their install instructions or troubleshooting notes or fix this issue. This was a pain!

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug
Projects
None yet
Development

No branches or pull requests

8 participants