You are not logged in.

#1 2014-10-09 08:32:53

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Mouting efivar read only

I wonder if is it possible to mount /sys/firmware/efi/efivars read-only. My great concern about these efivar is that it become very difficult to reset your machine in a pristine condition. Before that, if you have messed up your system, you could as a last resort reformat your hard disk and have a "new" installation again. If tools use efivar for their configuration, it became much more difficult. Resetting the efi variables does not appear to be easy. Maybe delete them all, but is that safe? I have a lot of variables that has been set by my Bios (including the secure boot key). I am not sure at all that I will not damage my system if I do this. In my case, the only solution I have found that seems to work is reflashing the bios.

This concern is not theoretical, gummiboot use efi variables to store how much time he must wait. But maybe, that was set by a previous owner of the computer or you have hit a keystroke years ago, removed gummiboot and completely forget what you have done. It is IMHO bad design. These tools don't really respect their documented default settings.

Offline

#2 2014-10-09 17:02:33

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

Re: Mouting efivar read only

Just don't mount it - blacklist module "efivarfs"

Offline

Board footer

Powered by FluxBB