<div dir="ltr"><div dir="ltr">On Fri, Nov 22, 2019 at 5:18 PM Boyce, Kevin P [US] (AS) <<a href="mailto:Kevin.Boyce@ngc.com">Kevin.Boyce@ngc.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_1238324070394930804WordSection1">
<p class="MsoNormal">Good Morning list,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Does anyone know if there is a way to print out as much of the startup ordering of all systemd units including what happens in the initramfs before the pivot_root happens?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I just want to be able to grep the output for two units I am interested in to know that one is indeed starting before the other.  I’ve looked at the systemd-analyze plot but this is a large svg file that is hard to parse.  Systemctl list-dependencies
 comes close, but is missing the initramfs.</p></div></div></blockquote><div><br></div><div>Initramfs and rootfs are two fully independent systemd environments, no matter which tool you use to inspect them. You can use `systemctl list-dependencies` from within the initramfs as well, if you boot with the "rd.break" kernel option which will provide an interactive shell in the initramfs environment before pivot happens.</div><div><br></div><div>Note that `systemd-analyze plot` accepts --from-pattern and --to-pattern to limit the units that will be shown.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>