this post was submitted on 02 Sep 2024
76 points (98.7% liked)

Linux

48688 readers
420 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
 

My laptop isn't under my supervision most of the time. And I'd hate it if someone were to steal my SSD, or whole laptop even, when I'm not around. Is there a way to encrypt everything, but still keep the device in sleep, and unclock it without much delay. It's a very slow laptop. So decryption on login isn't viable, takes too long. While booting up also takes forever, so it needs to be in a "safe" state when simply logged out. Maybe a way that's decrypt-on-demand?

I'm on Arch with KDE.

you are viewing a single comment's thread
view the rest of the comments
[–] that_leaflet@lemmy.world 3 points 3 months ago* (last edited 3 months ago) (1 children)

With an encrypted disk, you only need to enter the encryption password when you shutdown or restart. Suspending and ~~sleep~~ lock screen don't need your encryption password.

[–] remram@lemmy.ml 5 points 3 months ago (1 children)

Suspending to disk usually requires a password on resume.

[–] that_leaflet@lemmy.world 1 points 3 months ago* (last edited 3 months ago) (1 children)

That's true for hibernation, but not suspending. Hibernation stores everything in RAM onto the disk then shuts off the PC; to resume the system, you need to unlock the disk to access that data. Suspending doesn't turn off the computer, it keeps the CPU and RAM active.

On my Fedora system, I can hit the suspend button and get back into the OS without needing to type my encryption password, only my user password.

[–] remram@lemmy.ml 5 points 3 months ago* (last edited 3 months ago) (1 children)

Ok so what do you call "sleep"? You've now listed suspending, sleeping, and hibernating as 3 different things.

[–] that_leaflet@lemmy.world -2 points 3 months ago (1 children)

I can sleep "sleep". All system components are still powered on at this stage, so it uses the most power. But at the same time it's the quickest to get back into your system. All that's really happening with sleep is that the screen turns off.

Then you have suspend. Laptops often first go to sleep but then suspend after a long period of inactivity to save battery.

Then you have hibernation. I don't think this is used that often nowadays.

[–] remram@lemmy.ml 12 points 3 months ago* (last edited 3 months ago)

I have never met anyone refer to "screen off" as "sleep".

https://en.wikipedia.org/wiki/Sleep_mode

The terms everybody else are using are: "sleep" = "suspend to RAM" = "S3" and "hibernation" = "suspend to disk".