• mvirts@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    7 months ago

    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.

    • zaknenou@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      7 months ago

      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.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        9
        ·
        7 months ago

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

      • bloodfart@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        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.