Had to do a clean install...

a month ago by heliotrope to c/linuxmemes

devfuuu 91 points a month ago

Everything about secure boot is a mistake.

path: 0 25853480, hotness: undefined, score: 91, children: 12
bhamlin 178 points a month ago

I would disagree. The idea is great; eliminate preboot malware by trusting the whole boot stack. It has a place in computing and I would like to see it be something easier to work with.

Pretty much everything about how it's currently implemented is a mistake, I'll agree with.

path: 0 25853480 25853726, hotness: undefined, score: 178, children: 11
slacktoid 38 points a month ago

Microsoft has unofficial support for ext4 for their EFI partitions on their azure cloud, which in itself is a violation of their standard.

path: 0 25853480 25853726 25854262, hotness: undefined, score: 38, children: 6
libewa 22 points a month ago

UEFI doesn't forbid you from implementing additional file systems, it just requires everyone to support UEFI-FAT. iBoot for example supports booting from HFS volumes.

path: 0 25853480 25853726 25854262 25855121, hotness: undefined, score: 22, children: 5
slacktoid 2 points 25 days ago

And who has that implementation?

path: 0 25853480 25853726 25854262 25855121 25877077, hotness: undefined, score: 2, children: 4
Zedd_Prophecy 20 points a month ago

More like who is implementing it. Take MS out of the picture and set it as an open standard.

path: 0 25853480 25853726 25861150, hotness: undefined, score: 20, children: 3
bhamlin 6 points 25 days ago

It is open, oddly enough. It's just that nobody ships anything other than Microsoft's keys. You can add your own. It's just that it is a tedious, manual process.

path: 0 25853480 25853726 25861150 25869128, hotness: undefined, score: 6, children: 2
Blubber28 4 points 25 days ago

Depends on the distro! I could do it in 5 minutes with my bazzite installation: https://docs.bazzite.gg/...

Very happy surprise when setting up my new PC :)

path: 0 25853480 25853726 25861150 25869128 25878366, hotness: undefined, score: 4, children: 1
RiQuY 74 points a month ago

imo the only useful place to use secure boot is on a laptop with password protected bios and encrypted disk, in case someone wants to steal it they can't recover your data or if they want to put a virus in your pc they literally can't.

I don't see any reason to put secure boot on a desktop PC that's already locked inside your house.

path: 0 25856286, hotness: undefined, score: 74, children: 24
REDACTED 39 points a month ago

To play Valorant, why else

path: 0 25856286 25856364, hotness: undefined, score: 39, children: 1
JoeBigelow 16 points a month ago

To play battlefield

path: 0 25856286 25856364 25857475, hotness: undefined, score: 16, children: 0
heliotrope 13 points a month ago

I am using secure boot on a laptop with password-protected UEFI and disk encryption.

path: 0 25856286 25857842, hotness: undefined, score: 13, children: 6
ryannathans 5 points a month ago

What's the password?

path: 0 25856286 25857842 25862119, hotness: undefined, score: 5, children: 5
PabloSexcrowbar 18 points a month ago

hunter2

path: 0 25856286 25857842 25862119 25862344, hotness: undefined, score: 18, children: 4
ryannathans 5 points a month ago

How do you know my cats name and favourite number

path: 0 25856286 25857842 25862119 25862344 25862505, hotness: undefined, score: 5, children: 3
coriza 13 points 25 days ago

That is not the purpose of Secure Boot. The purpose is to establish a chain of trust of all code running on the system from boot and as such eliminate rootkits that can hide from the OS. A classic example is the MBR bootkit. Of course that this is mostly out of the window if at some point in the chain the trusted code just runs untrusted code, like the bootloader or the OS running unsigned code. Also the implementation is terrible, a proper implementation would allow the user to use their own certificates and only their own certificates, otherwise a compromised generic certificate fucks everything up like it already happened.

path: 0 25856286 25875484, hotness: undefined, score: 13, children: 0
BCsven 12 points a month ago

Secure boot is in case the OS gets tainted. It only allows a signed OS to boot.

For example when new nvidia drivers are autocompiled into my Tumbleweed kernel during an update, on reboot the srcureboot asks if I want to view the new key or allow it. I then have to enter a password to add the key...otherwise it won't boot with that kernel.

path: 0 25856286 25863438, hotness: undefined, score: 12, children: 3
MonkeMischief 5 points 25 days ago

Woo, Tumbleweed! Their support of it is a pretty strong plus. I would get that screen sometimes too but it confused me a lot and I ended up just being like "Accept key I guess? Oh cool it boots."

What are you supposed to compare the key to? Nvidia's repo on a website using a different device, or before you update or what? Is it like comparing checksums in Dolphin?

I'm not particularly afraid of Evil Maids vs. my Tumbleweed desktop, as I'm much too poor for hired help (lol), so I just turned it off.

They make compelling points about using it for laptops though.

path: 0 25856286 25863438 25867263, hotness: undefined, score: 5, children: 2
BCsven 4 points 25 days ago

Yeah Tumbleweed supports a lot of things. Whenever people have complained about Linux not doing something, I'm like "Uh, OpenSUSE does"

Since I'm updating the Kernel and nVidia driver modules, the system is making its own keypair, so I guess its not a check against a known supplied key but a machine specific key pair. Enrolling the key stores it to check against the kernel on boot.

I suppose it protects against Random malware installs changing files, or if somebody swaps a drive on you.

path: 0 25856286 25863438 25867263 25874742, hotness: undefined, score: 4, children: 1
MonkeMischief 1 point 25 days ago

Right? OpenSUSE stopped my distrohopping way before I thought I would. I love it.

Ahhh thank you, that makes a lot more sense! I don't feel too at-risk on my desktop, but if I ever find myself having to take a laptop to like, DEF-CON, then sounds like it'd be pretty essential, along with full-disk-encryption, AppArmor/SElinux, and all those other "wildly inconvenient but more secure" protocols set up.πŸ˜‚ (Lmao that would be terrifying.)

I might try to re-enable it just for the experience. After all, never know when some insane automated malware will hit the 'net that somehow exploits boot like that, and freaks out everyone who said "Nahh that's not possible."

path: 0 25856286 25863438 25867263 25874742 25877798, hotness: undefined, score: 1, children: 0
Jean_le_Flambeur 8 points a month ago

That's exactly mz setup, as I need to leave my work laptop unauthorized in a shared space for prolonged periods.

Can't set up secure boot though because even fckin lenovo doesn't provide the needed bios options for Linux nowadays -.-

path: 0 25856286 25859453, hotness: undefined, score: 8, children: 3
ChaosMonkey 2 points 25 days ago

Which bios options do you need for that? Not enough to enter secure boot setup mode (restore factory keys) and enroll your keys?

path: 0 25856286 25859453 25870503, hotness: undefined, score: 2, children: 2
Jean_le_Flambeur 1 point 25 days ago

Maybe I am not informed enough, i don't exactly know if i missed something , but i did what i would do under microslop, I reset to factory keys I enable secure boot in user mode and I boot.

When checking in the KDE security info, secure boot isn't enabled.

I asked lenovo support on how to do it (along with how to do an bios update under Debian) and the just replied there is no support for Linux. For either of those for my model and disabled the option to get support from a real human for my serial number.

Maybe I would have needed to "enroll my keys", I did not do that, mainly because I didn't knew I needed to, and still dont know where to get my keys from and how to enroll them. Maybe you could enlighten me.

Side rant: That I had to enter my full details including age and address and my serial number to even be able to get a support ticket is unbelievable imho

My device isn't included in the fwupd.

path: 0 25856286 25859453 25870503 25870673, hotness: undefined, score: 1, children: 1
ChaosMonkey 2 points 25 days ago

Okay, apparently Debian uses shim which is signed by Microsoft. That means you do not need to enroll custom keys.

path: 0 25856286 25859453 25870503 25870673 25874844, hotness: undefined, score: 2, children: 0
spacegoat 3 points 25 days ago

You’re thinking bitlocker not secure boot

Edit: I was incorrect, see below.

path: 0 25856286 25866713, hotness: undefined, score: 3, children: 2
hirihit640 10 points 25 days ago

disk encryption is much better with secure boot, because disk encryption requires a unencrypted partition, since the boot has to start somewhere unencrypted, and secure boot secures the unencrypted partition

path: 0 25856286 25866713 25869027, hotness: undefined, score: 10, children: 1
spacegoat 7 points 25 days ago

After looking into it, you are correct and I was mistaken. Thanks for correcting my misinformation.

path: 0 25856286 25866713 25869027 25869055, hotness: undefined, score: 7, children: 0
BeardedBlaze 2 points a month ago

Secured boot has nothing to do with encrypting your hard drive.

path: 0 25856286 25863522, hotness: undefined, score: 2, children: 1
Auth 10 points a month ago

They never said it did. Only that a laptop with encrypted drives is where secure boot makes sense. The OS can be as secure as it wants but if the drive isnt encrypted it can be accessed.

path: 0 25856286 25863522 25865170, hotness: undefined, score: 10, children: 0
ISolox 1 point 25 days ago

I need it for my Windows 11 install for a few games on there that require it.

path: 0 25856286 25876066, hotness: undefined, score: 1, children: 0
sik0fewl 71 points a month ago

Nothing more secure than a computer that won’t start up.

path: 0 25865030, hotness: undefined, score: 71, children: 1
beejboytyson 17 points 25 days ago

I agree, bricks have been known to get rid of problems.

path: 0 25865030 25865800, hotness: undefined, score: 17, children: 0
hmm 20 points a month ago path: 0 25856064, hotness: undefined, score: 20, children: 2
heliotrope 11 points a month ago

Thanks, but this is the very tool I used.

path: 0 25856064 25857853, hotness: undefined, score: 11, children: 0
ChaosMonkey 1 point 25 days ago

Yes works well for me.

path: 0 25856064 25870512, hotness: undefined, score: 1, children: 0
richardisaguy 17 points a month ago

Deciding to turn on secureboot on any distro that doesn't support it out of the box is always a mistake.

Still have nightmares from that one time i tried doing it under nixOS...

path: 0 25855185, hotness: undefined, score: 17, children: 0
bridgeenjoyer 8 points a month ago

Oof, I tried alpine for a bit, nothing worked. That was just beyond me for little gain.

path: 0 25865100, hotness: undefined, score: 8, children: 6
muusemuuse 4 points 25 days ago

Alpine is dead simple if used for what’s it’s good at. The LBU is its best feature. It’s great on shitty ARM boards that digest SD cards. I use it on NUT servers throughout my network.

path: 0 25865100 25873222, hotness: undefined, score: 4, children: 1
bridgeenjoyer 4 points 25 days ago

That is not my use case, I don't know any of those words !

path: 0 25865100 25873222 25874468, hotness: undefined, score: 4, children: 0
IpsumLauren 3 points 25 days ago

Now I'm curious. What did you try that didn't work?

path: 0 25865100 25870175, hotness: undefined, score: 3, children: 3
bridgeenjoyer 2 points 25 days ago

It was on an 08/ish laptop I wanted to just use for simple dvd watching and such. Had a lot of sound and disc issues. I'm a noob tho so went back to mint.

path: 0 25865100 25870175 25873759, hotness: undefined, score: 2, children: 2
IpsumLauren 1 point 24 days ago

Same here, I run Mint everywhere I can, and the XFCE edition works especially well in old machines.

Alpine is better suited for servers and especially containers, because the images can be really small. If you got enough RAM, there's an installation mode that runs on it without writing to disk, pretty cool for systems where you want always to reboot in the same state.

path: 0 25865100 25870175 25873759 25887069, hotness: undefined, score: 1, children: 0
KittensAreKittens 1 point 25 days ago

Yea I wouldn't choose a musl/BusyBox distro for my daily driver.

path: 0 25865100 25870175 25873759 25876364, hotness: undefined, score: 1, children: 0
mazzilius_marsti 7 points 25 days ago

if only secureboot support hibernate

path: 0 25866595, hotness: undefined, score: 7, children: 7
programmerlexi 3 points 25 days ago

My secure boot with hibernate works perfectly fine, or rather it did work fine before hibernate started freezing my system, secure boot or not.

path: 0 25866595 25867172, hotness: undefined, score: 3, children: 6
jj4211 3 points 25 days ago

With Linux? Kernel signed with your own key to get out of lockdown mode restrictions?

path: 0 25866595 25867172 25878186, hotness: undefined, score: 3, children: 1
programmerlexi 2 points 25 days ago

There are no lockdown mode restrictions on my system. Kernel is not signed, but i switched to UKIs a couple months ago (hibernation worked fine with these).

It is worth noting that the failure is hibernating, not resuming. Normally hibernate takes ~1 minute with fans spinning at max speed, but it recently started not finishing and instead being stuck on a black screen for more than 30 minutes without the fans running until i run out of patience (i hibernate before i go to sleep or head out) and force power off the system (power button 10 second press on my system).

path: 0 25866595 25867172 25878186 25878675, hotness: undefined, score: 2, children: 0
Kaffeburk 1 point 25 days ago

Did you maybe run out of swap space?

path: 0 25866595 25867172 25868599, hotness: undefined, score: 1, children: 3
foobaz 3 points 25 days ago

hibernate + amdgpu is unfortunately fucking cursed in my experience.

path: 0 25866595 25867172 25868599 25870366, hotness: undefined, score: 3, children: 1
programmerlexi 1 point 25 days ago

it worked fine before, so why break now?

path: 0 25866595 25867172 25868599 25870366 25870381, hotness: undefined, score: 1, children: 0
programmerlexi 1 point 25 days ago

5gb ram usage of 64gb total & 0gb used on a 128gb swap partition is quite unlikely to run out of swap space during hibernate

path: 0 25866595 25867172 25868599 25870374, hotness: undefined, score: 1, children: 0
Mwa 5 points 24 days ago

I dont like secure boot on Linux anyway.

path: 0 25888573, hotness: undefined, score: 5, children: 0
SaharaMaleikuhm 1 point 25 days ago

I will just never bother with any of this Secure boot nonsense. I leave that bs to the windows users.

path: 0 25867344, hotness: undefined, score: 1, children: 5
Alvaro 2 points 25 days ago

Sadly it is actually one of the biggest security features that modern computers have

path: 0 25867344 25870418, hotness: undefined, score: 2, children: 3
davetortoise 2 points 25 days ago

What kind of attack does it actually protect against?

path: 0 25867344 25870418 25879330, hotness: undefined, score: 2, children: 2
h4lf8yte 3 points 24 days ago

Evil maid attacks. Trusted boot is necessary to prevent the modification of unencrypted boot code like bootloader + kernel + initrd. Modified boot code could potentially steal the master key for the root volume while it gets entered. Also rootkits that inject below the os.

path: 0 25867344 25870418 25879330 25887996, hotness: undefined, score: 3, children: 0
Alvaro 2 points 24 days ago

Rootkits

path: 0 25867344 25870418 25879330 25885334, hotness: undefined, score: 2, children: 0
lightnsfw 1 point 25 days ago

Yeah I tried doing it properly on my Bazzite install. It took exactly one round of Windows updates to bork it in a way that I couldn't figure out how to fix. I had to start over.

path: 0 25867344 25874745, hotness: undefined, score: 1, children: 0
linuxmemes
linuxmemes

@lemmy.world

login for more options
33062
2389
6292

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

Β 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

go to feed...