Prevent clearing TTY before GDM start

I’m trying to catch a boot freeze, that occurs right before GDM starts. I already have rhgb and quiet removed from the boot arguments, so I can see the boot log, but the freeze happens when the boot log is cleared from the screen, right before GDM starts, where the screen shows only a blank cursor (“_”). Is there any way to not clear the screen, and instead keep showing the boot log?

You can try booting to the multi-user mode aka runlevel 3:

Then analyze /var/log/boot.log and journalctl -b.

2 Likes
# grep ^TTYVTDis /etc/systemd/system/getty.target.wants/getty@tty1.service 
TTYVTDisallocate=no
2 Likes