Apparently the reason my computer has been taking 2 minutes to boot was a faulty network mount

163 points

I’m pretty sure the main system startup bottleneck is me typing the disk encryption passphrase.

permalink
report
reply
30 points

Combine that with the 20-30 seconds my system takes to do bios memory training on the DDR5 ram and we’re practically back to the “go make some coffee while the system boots up” days 🤦

permalink
report
parent
reply
8 points

we need open source firmware

permalink
report
parent
reply
2 points
*

If only Coreboot supported more devices…

permalink
report
parent
reply
4 points

Glad I haven’t built a modern chipset PC yet, didn’t realize it was this bad.

permalink
report
parent
reply
2 points

As another DDR5 user, it’s not always this bad - there’s a bios setting that makes it remember the previous configuration and skips this step, but sometimes it still needs to do it, and then it can take a minute or two

permalink
report
parent
reply
1 point

Those where the good days. You always had fresh coffee when your computer was ready for work.

permalink
report
parent
reply
8 points

I can relate to this hahaha

permalink
report
parent
reply
6 points

My system bottleneck is the damn Bios Post

permalink
report
parent
reply
6 points

I wish to replace it with a yubikey, but I don’t even know if it’s supported.

permalink
report
parent
reply
14 points
*

It is supported by systemd to use FIDO2 + pin to decrypt luks partitions with many security keys, including Yubikeys. I use it every day on my laptop.

permalink
report
parent
reply
8 points

It is, I have it set up on my laptop. It’s a bit finicky in how it works and it’s not easy to setup, but it is possible.

permalink
report
parent
reply
3 points

Does it work by emulating the keyboard and typing in the password? Or by the encrypted protocol that works using the on device secret?

permalink
report
parent
reply
2 points

You can’t even use a fucking fingerprint scanner while being in the system, that package is borked for months and nobody seem to care to solve it.

I think using Yubikey at boot time is quite out of reach

permalink
report
parent
reply
4 points

Fucking true. Does anyone know why this is so slow?

permalink
report
parent
reply
113 points

You can use systemd-analyze blame if you want raw numbers:

This command prints a list of all running units, ordered by the time they took to initialize. This information may be used to optimize boot-up times.

Good way to see if your systemd also waits 2 minutes for a network connection which already exists but it can’t see it because systemd doesn’t do the networking (lxc containers on proxmox in my case) lol.

Also see systemd-analyze.

permalink
report
reply
23 points

Also systemd-analyze critical-chain

permalink
report
parent
reply
8 points
*

systemd also waits 2 minutes for a network connection which already exists but it can’t see it because systemd doesn’t do the networking

Any way to speed this up? On my system in every boot it waits for network for 30s.

permalink
report
parent
reply
1 point

In my case i masked the service because like i said, inside the lxc container there is no networking to do, it’s done on the host (proxmox). Note that disabling the service in my case was not enough since it could be invoked by other services, and then you would have to wait again.

See this for further info and maybe arguments why you shouldn’t do it.

permalink
report
parent
reply
1 point
*

My main offender is something called updatedb.service, whatever that is.

permalink
report
parent
reply
77 points

Systemd has so many neat and useful tools that they never tell anyone about :(

permalink
report
reply
14 points

Just like Ceph :(

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
57 points

systemd-analyze plot > plot.svg

permalink
report
reply
14 points

Honestly I laughed when it just spit an SVG in text at me. I was wholly expecting a GUI to appear.

permalink
report
parent
reply
47 points

Systemd can generate SVGs? Damn thats “bloat” but also unexpectedly fancy

permalink
report
reply
49 points

SVGs are just fancy text files after all

permalink
report
parent
reply
5 points

If you go far enough, everything is.

But SVGs are one of the few image types that can be human readable and editable

permalink
report
parent
reply
19 points

If you go far enough, everything is.

No, SVG are text files, it’s XML. You can write an SVG file representing a square using only a text editor relatively easily.

permalink
report
parent
reply
10 points

No, not really. Most image formats produce completely unreadable jumbo only meant to be parsed with clever maths.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments