this post was submitted on 07 Oct 2023
0 points (NaN% liked)

Linux

47233 readers
782 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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

top 15 comments
sorted by: hot top controversial new old
[–] RickyRigatoni@lemmy.ml 0 points 11 months ago

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

[–] jsdz@lemmy.ml 0 points 11 months ago (1 children)

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

[–] magikmw@lemm.ee 0 points 11 months ago (1 children)

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

[–] Contend6248@feddit.de 0 points 11 months ago

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

[–] passepartout@feddit.de 0 points 11 months ago (1 children)

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.

[–] FrostyPolicy@suppo.fi 0 points 11 months ago* (last edited 11 months ago) (1 children)

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.

[–] passepartout@feddit.de 0 points 11 months ago

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.

[–] Pantherina@feddit.de 0 points 11 months ago

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

[–] Pantherina@feddit.de 0 points 11 months ago (2 children)

My bottleneck at boot is my damn Bios... I am so hyped about flashing Heads on my Thinkpad T430.

Even the old legacy Lenovo bioses where very fast at startup. The UEFI (with extremely nice secure-boot settings too) of an AMD Acer starts up in like 2 seconds. My old intel Thinkpad T430 needs like 4 seconds.

And then my Lenovo T495 bullshit UEFI comes. No secure boot configuration at all, I have no idea how to boot from USB sticks, and this thing needs nearly 10 seconds to boot! Linux compared, a full Desktop OS, needs 3 seconds to show SDDM (after the LUKS dialog)

[–] Dkarma@lemmy.world 0 points 11 months ago (1 children)

I adore my T530. I could kill a moose with it if it ever stops working. Literally dug it out of a dumpster and saw the i7 sticker and almost shit myself. Honestly I've had it for years and never even looked at the bios cuz with an SSD even with encryption enabled on the disk it booted in 30 sec.

Until I built my latest rig I was doing ai image generation on it with 8gigs of ram.

[–] Pantherina@feddit.de 0 points 11 months ago* (last edited 11 months ago) (1 children)

If you have a T530, there is coreboot for it! Dont know if 1vyra.in works, check it.

Its not the question, if it works, but how it works! Its trustworthy and not extremely outdated proprietary garbage. Actually extremely important to update

[–] Dkarma@lemmy.world 0 points 11 months ago (1 children)
[–] Pantherina@feddit.de 0 points 11 months ago

You can even install Heads! This requires Hardware flashing though, not soo easy like 1vyrain but actually secure.

[–] caseyweederman@lemmy.ca 0 points 11 months ago (1 children)

Heads

Dang, my T410 is just too old.

[–] Pantherina@feddit.de 0 points 11 months ago

how does it run modern OSses?

Its crazy how expensive T430 etc still are. People know how great they are