• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Seize the moment! nominate yourself or a tech enthusiast you admire & join the HP Community Experts!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Linux

Running RHEL 8.10 (kernel 4.18.0-553.80.1) on a Z2 G9, attempting to change Bios settings with the hp-repsetup` tool. I've followed all the instructions to build the RPM and install it into /opt/hp/hp-flash but when I try to run the utility I get the error in the title. I'm able to run `modprobe hpuefi` with no error, so it seems like the kernel module is loaded, but maybe the installation process is not creating the /dev files it is supposed to? I haven't been able to find anything online as to what I might be doing wrong.

4 REPLIES 4
HP Recommended

Hi @Aaron460 

 

See this link and check the last line.

 

Update HP BIOS settings in Linux – Valentijn Sessink

 

sudo mknod -m 644 /dev/hpuefi c `grep hpuefi /proc/devices|cut -d ' ' -f 1` 0
- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.
HP Recommended

Thanks a ton! That last command fixed the error.  I attempted to use a .bin file generated from a Windows machine for the -cspwdfile parameter but I get "Admin password was not updated: (Access Denied)". Do I need to generate another .bin file on this current machine in order to do that? And if so, is there a way to save the current BIOS password in a .bin file similar to the HPQPswd.exe?

HP Recommended

Should also mention it is possible to set the admin password if using `-p`, but obviously not the ideal solution to have it in plaintext so I would prefer to use a .bin

HP Recommended

I'm not sure, but check the manual under the subtitle
BIOS Flashing

 

HP_Linux_Tools_Users_Guide.pdf

 

If a BIOS password is set on the system, it will need to be supplied on the command line using the -p option for changes to be made. For example: /opt/hp/hp-flash/hp-flash -p

 

- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.