I had debug on the command line before, just didn't know of debug=vc
However the output on the screen is the same with either one.

Last line is clocksource: Switched to clocksource tsc

Looking at the stuff in /usr/share/initramfs-tools/scripts
I think I would need to mess the shell scripts with debug prints just to find
where it is stuck 

uaaah!

-----Original-Nachricht-----
Betreff: Re: Debugging initramfs, server hangs during boot process
Datum: 2023-08-26T10:20:54+0200
Von: "Michel Verdier" <mv...@free.fr>
An: "debian-user@lists.debian.org" <debian-user@lists.debian.org>

On 2023-08-26, Tixy wrote:

>> I thought of that, too, but debug writes to a tmpfs (it has to, at this
>> point). If the machine locks up, the log is lost...
>
> Logs will appear on the screen so long as you don't have the 'quiet'
> parameter on the Linux commandline.

I think it always writes to tmpfs which is moved to /run/initramfs, but
only if the boot succeded. So thahn01 should use debug=vc to get debug
logs on screen during boot.



Reply via email to