talos icon indicating copy to clipboard operation
talos copied to clipboard

No video output on metal after grub boot

Open imle opened this issue 1 year ago • 12 comments

Bug Report

Stuck in boot after kern/efi/sb.c:111: UEFI Secure Boot state: Disabled is printed.

Description

Trying to boot into 1.6.1 or 1.4.4 version of Talos on a HP Elitedesk 705 G4 DM. Without set debug=all, the machine hangs with a black screen and an underscore. After enabling the debug option, the boot process hangs immediately after printing the above log line.

I have attempted the boot process with all drives removed and a single stick of ram to eliminate as many variables as possible and this happens with all 3 of the machines I have.

Logs

PXL_20240102_153129451.jpg

imle avatar Jan 02 '24 15:01 imle

Only mention I can find of a similar issue anywhere: https://forums.gentoo.org/viewtopic-p-8755201.html?sid=7b3162f6c0ec892d909661710c21fb5f

imle avatar Jan 02 '24 15:01 imle

Also want to note that trying to set set debug=all,-mmap does not seem to be working.

https://www.gnu.org/software/grub/manual/grub/html_node/debug.html

imle avatar Jan 02 '24 18:01 imle

Ok, upon further work, it does seem that it is booting, but just nothing is coming out of either display port.

imle avatar Jan 02 '24 19:01 imle

Usually it's related to the console= settings, you can try tweaking it, removing console=ttyS0, changing to console=tty1.

Unfortunately it's hardware dependent.

smira avatar Jan 17 '24 16:01 smira

I closed this a bit early, I am thinking this might be something else as it seems to just reboot after about 5 minutes.

imle avatar Jan 30 '24 22:01 imle

I have the exact same issue with my n100 board from asrock. I can boot any other Linux distribution like Ubuntu just fine.

runningman84 avatar Apr 10 '24 20:04 runningman84

image

with talos 1.7.0 beta 0 that is the output.

runningman84 avatar Apr 10 '24 20:04 runningman84

Try removing console=ttyS0 boot argument.

smira avatar Apr 11 '24 10:04 smira

Removing all console= parameters it boots just fine with version 1.6.7 and 1.7.0.beta.0. Are these settings persistent after the install? Why do all linux distros work out of the box but talos has issues like this?

runningman84 avatar Apr 11 '24 19:04 runningman84

These settings get lost after the initial install so I have to modify the grub parameters for each boot. How can I persist that in talos?

runningman84 avatar Apr 11 '24 20:04 runningman84

Console argument issue is a hard one, see https://www.talos.dev/v1.6/introduction/what-is-new/#kernel-arguments on how to remove default args.

smira avatar Apr 12 '24 09:04 smira

Thanks that worked for me!

runningman84 avatar Apr 14 '24 17:04 runningman84