You are not logged in.

#1 2014-10-30 05:32:47

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

How am I reading systemd boot screen?

Hello,

There should be a message during boot time (like this), but quickly disappear. Is there a way to add Press any key to continue after the last systemd process.

Some time, at logout, I can see some message there in a ladder-shape manner. But that I don't mind, just to mention.
I saw systemd listing while booting archiso, that screen persist up to login.

Usually I can't see it unless some failure appear, but swiftly goes to login prompt or graphical login. So when some failure comes up I'd like to have a chance to put a stop and read the message.


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2014-10-30 06:03:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How am I reading systemd boot screen?

You can read it in the journal.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-10-30 12:10:45

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: How am I reading systemd boot screen?

Beside to read the journal, is there a chance to hold that screen for reading it?
In a certain way, it looks silly to write some detail on the screen, when it won't have a chance of usefulness.


do it good first, it will be faster than do it twice the saint wink

Offline

#4 2014-10-30 12:57:58

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: How am I reading systemd boot screen?

You have two possible scenarios here:

1) There's nothing wrong with your system, and nothing has changed in some time. In that case there's nothing to see in those boot messages. They'll always be the same, and waiting to see them is pointless.
2) There's something wrong with your system, or you need to ensure that some configuration change you've recently is working properly. In that case you'll need to be logged into your system in order to make changes, and you'll need a web browser and any actual error message for reference. So waiting to read the messages during boot is still pontless, since you have to finiish the boot process before you can fix things anyway.

Offline

#5 2014-10-30 14:47:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How am I reading systemd boot screen?

Post your

cat /proc/cmdline

If you log in to the tty manually, you can keep the systemd output on the screen.

Offline

#6 2014-10-31 05:54:56

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: How am I reading systemd boot screen?

ANOKNUSA wrote:

In that case you'll need to be logged into your system in order to make changes.

In that case I might stop and read exactly what the error is, then logi n and find a solution. Some time may take to reboot to recheck that error
In a ordinary life, I would agree that this output is pointless.

Last edited by TheSaint (2014-10-31 06:16:44)


do it good first, it will be faster than do it twice the saint wink

Offline

#7 2014-10-31 06:16:03

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: How am I reading systemd boot screen?

karol wrote:

Post your

cat /proc/cmdline
root=LABEL=Linux64 quiet rw pcie_aspm=off rcutree.rcu_idle_gp_delay=1 initrd=/initramfs-linux.img

I'm not on the right computer, now. Anyways it's a learning practice, rather than a troubleshooting

karol wrote:

f you log in to the tty manually, you can keep the systemd output on the screen.

I don't get you. I suppose if my target is graphical.target then I won't see anything, still. In facts we generally enable a *dm.service.

But as you may want to tell me, I may set cmdline to stop ad multi-user.target. Even that, the login prompt will go in a cleared screen.

Like the era of sysV, I was using a script in rc.local (or initrc I don't remember) to stop that display. Here my question is about how to make a similar condition. It could be a *.service that will kick in within sysinit,target and graphical.target and display Press any key to continue message.
I just need some clue wink

Last edited by TheSaint (2014-10-31 06:23:45)


do it good first, it will be faster than do it twice the saint wink

Offline

#8 2014-10-31 08:22:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How am I reading systemd boot screen?

What happens if you redirect the output to another tty?

Offline

#9 2014-10-31 13:19:27

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: How am I reading systemd boot screen?

Is this that you mean?
Or even another method ?


do it good first, it will be faster than do it twice the saint wink

Offline

#10 2014-10-31 13:30:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How am I reading systemd boot screen?

Yes, this is what I meant. I haven't tried it, but I think you should also remove 'quiet' from the kernel command line.

Offline

#11 2014-11-01 05:02:41

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: How am I reading systemd boot screen?

Is quiet, on the cmdline, implied with systemd logging ?
That will simplify my intent, but will remain the condition to hold on before login.


do it good first, it will be faster than do it twice the saint wink

Offline

#12 2014-11-01 15:28:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How am I reading systemd boot screen?

https://www.kernel.org/doc/Documentatio … meters.txt

quiet        [KNL] Disable most log messages

Offline

#13 2014-11-01 17:23:15

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: How am I reading systemd boot screen?

Thanks Karol
I will look for a method to stop and wait a key press. If I'll get it done I'll report it here.


do it good first, it will be faster than do it twice the saint wink

Offline

#14 2014-11-01 17:31:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How am I reading systemd boot screen?

If you remove 'quiet' you might be quick enough to press Ctrol+s to stop / suspend whatever is running and read the text (Ctrl+q to resume).

Offline

#15 2014-11-02 03:02:55

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: How am I reading systemd boot screen?

Good!
I haven't realize that is like other terminal behavior.


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB