luthis

@luthis@lemmy.nz

This profile is from a federated server and may be incomplete. Browse more on the original instance.

luthis, (edited )

systemd-analyze plot > boottimes.svg

Open the SVG and have a look at what’s happening during boot.

journalctl -b will give you some more info too. If you’re using grub to boot (probably in /boot/grub/grub.cfg), you can change the loglevel and add the udev option to get a bunch more info. Helped me with a random issue recently. Here’s mine for an example:


<span style="color:#323232;">### BEGIN /etc/grub.d/10_linux ###
</span><span style="color:#323232;">menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a96b3354-70dd-45ed-8c6c-95171e9f1e82' {
</span><span style="color:#323232;">	load_video
</span><span style="color:#323232;">	set gfxpayload=keep
</span><span style="color:#323232;">	insmod gzio
</span><span style="color:#323232;">	insmod part_gpt
</span><span style="color:#323232;">	insmod ext2
</span><span style="color:#323232;">	search --no-floppy --fs-uuid --set=root a96b3354-70dd-45ed-8c6c-95171e9f1e82
</span><span style="color:#323232;">	echo	'Loading Linux linux ...'
</span><span style="color:#323232;">	linux	/boot/vmlinuz-linux root=UUID=a96b3354-70dd-45ed-8c6c-95171e9f1e82 rw  loglevel=3 udev.log-priority=debug 
</span><span style="color:#323232;">	echo	'Loading initial ramdisk ...'
</span><span style="color:#323232;">	initrd	/boot/amd-ucode.img /boot/initramfs-linux.img
</span><span style="color:#323232;">}
</span>
luthis,

True, but for this purpose it’s totally fine.

There’s also a big disclaimer at the top of the file:

cat grub.cfg

DO NOT EDIT THIS FILE

It is automatically generated by grub-mkconfig using templates

from /etc/grub.d and settings from /etc/default/grub

Wording could probably be less DOOM SHALL BEFALL YE, as long as you aren’t messing around and just adding logging it’s not an issue.

More info on grub here: wiki.archlinux.org/title/GRUB

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #