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.
Modern versions of Linux don’t let you erase it so easily
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.
The bios isn’t like a regular storage device presented to the kernel for mounting.
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.
but CD-R aren’t rewrite_able because of their physical property not because protected
that’s true, but in both cases the ability to write data simply isn’t there.
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
no because bios is read only