02-01-2019, 05:11 PM
(01-31-2019, 03:53 PM)kronos2411 Wrote: I have linux on my notebook and dont want to install windows and i tried to set variables using efi.
When i run command "setup_var VAR VALUE" - got error 0x0000000000000008. It mean that nvram is protected from writing. There is any sense to install windows?
Just for this job - surely not
Download this. It contains a .deb and an .rpm package of Insyde H2OUVE. Install the one suitable for your distribution, but before, you need to install the headers for your kernel because when installing the package, a kernel module needs to be built.
You can launch the GUI application with "sudo h2ouve-lx64 -g" and follow the steps for the Windows version, but depending on your screen resolution, it may be that you see only part of the variable editor window.
In this case, execute "sudo h2ouve-lx64 -gv setupvar -n Setup". This will write the contents of the "Setup" variable to file "setupvar". Open this file with a text editor of your choice. The bytes are arranged in a table like in the variable editor window, but with the benefit of the rows being labeled with the offset of the first byte in that row in hex, i. e. 000, 010, 020, ...; the columns again go from 0 to F. To come back to the example "Boot Performance Mode" (Variable: 0x104), you just go to line 100 and column 4. When you have finished editing the file, you can write its contents to the "Setup" variable via "sudo h2ouve-lx64 -sv setupvar".
If the application complains about not being able to load libexpat.so.0, but you have libexpat.so.1, just create a symbolic link, that did it for me.