this post was submitted on 27 Apr 2024
44 points (92.3% liked)

Linux

46775 readers
1360 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
all 25 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 3 months ago

Not sure about erasing all of it, but it is (or was) certainly possible to delete enough of it to brick a motherboard https://www.phoronix.com/news/UEFI-rm-root-directory

[–] [email protected] 17 points 3 months ago (2 children)

Pretty sure you can brick your system real quick using efivarfs

https://docs.kernel.org/filesystems/efivarfs.html

some systems dont let you write but some do.

Theres a similar system i was messing with to read and write the firmware code... reading through this may be informative.

efivars should let your change any bios/uefi settings if thats what youre looking for.

[–] [email protected] 5 points 3 months ago

Modern versions of Linux don't let you erase it so easily

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago) (2 children)

thank you! I think this is what needed to explore
It is not my level to edit these things, I'm just Linux newbie exploring the possibilities.

But I still can't wrap my head over dd not being able to wipe a storage device out, despite being described as a "low level tool that can write zeroes to targets" in the discussion I viewed online.

[–] [email protected] 9 points 3 months ago

The bios isn't like a regular storage device presented to the kernel for mounting.

[–] [email protected] 2 points 3 months ago (1 children)

Dd can’t overwrite a burned cdr either. If the thing you wanna mess with is read only there’s no way to use it as a dd of.

[–] [email protected] 1 points 3 months ago (1 children)

but CD-R aren't rewrite_able because of their physical property not because protected

[–] [email protected] 2 points 3 months ago

that's true, but in both cases the ability to write data simply isn't there.

[–] [email protected] 16 points 3 months ago (1 children)

It resides on the MB itself in a separate chip, so no, although there are probably tools to make it possible.

[–] [email protected] 8 points 3 months ago (1 children)

what about this answer ? Is it outdated ? According to it, UEFI could be mounted like a flash drive I understand ?

[–] [email protected] 7 points 3 months ago (1 children)

They should still be possible. It’s not clearing the BIOS though, it is clearing variables loaded into the BIOS. The OS needs to be able to write to them. A good one limits what an OS can write or rebuilds them, a bad one bricks.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

hmm, so this is not a constant thing among BIOSes and UEFIs

[–] [email protected] 6 points 3 months ago (1 children)

I'm just curious about what software was used to make this image.

[–] [email protected] 4 points 3 months ago (1 children)

I don't know I got it from this post by the ByteByteGo Youtube Channel:
https://www.youtube.com/post/UgkxNpwmgzai2O_tUa-b5yeLzLjh_OHs4vDY
On the description for this video they state:

Animation tools: Adobe Illustrator and After Effects.

[–] [email protected] 3 points 3 months ago (1 children)

Here is an alternative Piped link(s):

https://www.piped.video/post/UgkxNpwmgzai2O_tUa-b5yeLzLjh_OHs4vDY

this

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] [email protected] 5 points 3 months ago

Only if your device supports software flashing, likely not.

[–] [email protected] 4 points 3 months ago

Usually not, but some devices can

[–] [email protected] 4 points 3 months ago

It used to be

[–] [email protected] 3 points 3 months ago* (last edited 3 months ago)

You can mount the efi partition, but I don't think you can usually mount the uefi or bios. I've only ever edited vbios, and haven't done so in quite some time, but I remember needing to clamp the vbios chip. Dunno if motherboards make their bios chips more accessible, but I kinda doubt it.

Some motherboard support starting bios/uefi updates from a booted OS, so there might be a vector to be found there.

[–] [email protected] -3 points 3 months ago* (last edited 3 months ago)

No, you need efibootmgr to erase your UEFI.