cancel
Showing results for 
Search instead for 
Did you mean: 

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
aadityabagga Top Student
Top Student
8 7 0 0
Message 11 of 40
18,345
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux


@erico wrote:

If that is your desire, then I highly recommend that you contact HP directly.

 

You may have quite a long wait otherwise,

 

This is the HP Consumer peer to peer support forum.  


Thx, I think I will do as you suggest.

 

Seeing that the sticky for this board is Notebook-Operating-Systems-and-Software/HP-Notebook-PCs-Basic-Input-Output-System-BIOS-Updates-EDK2, I thought maybe someone could answer.

 

I went into the BIOS to check, and it seems I can update without using Windows, by just placing the correct files in the correct location and running it through the BIOS, if someone would only provide them.

 

hp_bios1.jpg

0 Kudos
Provost Provost
Provost
44,987 40,663 4,399 11,433
Message 12 of 40
18,341
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux

Download one of the BIOS softpaqs from one of the Windows driver sections.

 

Extract it to a directory.

Find the HPBiosUpdate.efi file and .sig file.

 

Put them at the root of a USB flashdrive (formatted with FAT32). Connect the flashdrive to a usb port  and boot the notebok to BIOS and follow the instructions that you just presented to me in the image.

If you really want to say thanks, click on the Thumbs up icon .
If your problem is solved or question answered by my post, please click the Accepted Solution button in that post.

0 Kudos
aadityabagga Top Student
Top Student
8 7 0 0
Message 13 of 40
18,338
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux


@erico wrote:

Download one of the BIOS softpaqs from one of the Windows driver sections.

 

Extract it to a directory.

Find the HPBiosUpdate.efi file and .sig file.

 

Put them at the root of a USB flashdrive (formatted with FAT32). Connect the flashdrive to a usb port  and boot the notebok to BIOS and follow the instructions that you just presented to me in the image.


Ah, it is not so easy...

 

The exe provided for Windows does not get extracted on Linux, so I used a Windows install to extract it.

 

However when I compare it to the contents of the older update available for Linux, the contents seem to be different, like there is no BIOS folder which contains the update.

 

I attach a screenshot, the extracted Windows exe is on top, and Linux archive is on bottom.

 

comparing_bios_update_files.png

0 Kudos
Provost Provost
Provost
44,987 40,663 4,399 11,433
Message 14 of 40
18,330
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux

Check inside the BIOSUpdate folder

If both files are there, then you have what you need to update the BIOS.

 

I extracted one of the BIOS softpaq files and inside the BIOSUpdate folder both files that you need are there. See the following image. So if you do it on a Linux or Windows PC this is doable. You should be able to update the BIOS. The image shows BIOS version F.50. that is one of the newest updates for your notebook.

 

extracted.png

If you really want to say thanks, click on the Thumbs up icon .
If your problem is solved or question answered by my post, please click the Accepted Solution button in that post.

aadityabagga Top Student
Top Student
8 7 0 0
Message 15 of 40
18,322
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux


@erico wrote:

Check inside the BIOSUpdate folder

If both files are there, then you have what you need to update the BIOS.

 

I extracted one of the BIOS softpaq files and inside the BIOSUpdate folder both files that you need are there. See the following image. So if you do it on a Linux or Windows PC this is doable. You should be able to update the BIOS. The image shows BIOS version F.50. that is one of the newest updates for your notebook.

 

extracted.png


Nah, I dont think it represents the complete picture.

 

Quoting from my pic of the BIOS:

 

"Place the system BIOS and the signature file on a fat32 partition......... under the Hewlett-Packard\BIOS\New"

 

"Add or verify the HP BIOS update utility (HpBiosUpdate.efi) and signature file......... under Hewlett-Packard\BIOSUpdate"

 

So I reckon HpBiosUpdate.efi is the software which will do the update, and the actual BIOS image that has to be flashed is missing from the Windows archive (the older Linux archive has both folders).

 

I suspected that Rom.CAB in the Windows archive contained the BIOS image, and extracting it using p7zip seems to verify that assumption:

 

$ 7z e Rom.CAB 

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.utf8,Utf16=on,HugeFiles=on,4 CPUs)

Processing archive: Rom.CAB

Extracting  Rom.bin
Extracting  Rom.sig
Extracting  ver.txt
Extracting  ver.sig
Extracting  efibios.sig

Everything is Ok

Files: 5
Size:       5243359
Compressed: 2650243

 Maybe I have the complete picture now and if I place these files in the location(s) specified by the BIOS update message, it could work, though I am not sure whether I want to take that risk on my own.

 

Note that in the older Linux archive, the BIOS image was named differently, and I dont know if that matters or not (pic attached)..

 

bios_image.png

 

Thx for your help so far erico, it has been instructive working with you.

0 Kudos
Provost Provost
Provost
44,987 40,663 4,399 11,433
Message 16 of 40
18,307
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux


@aadityabagga wrote:

@erico wrote:

Check inside the BIOSUpdate folder

If both files are there, then you have what you need to update the BIOS.

 

I extracted one of the BIOS softpaq files and inside the BIOSUpdate folder both files that you need are there. See the following image. So if you do it on a Linux or Windows PC this is doable. You should be able to update the BIOS. The image shows BIOS version F.50. that is one of the newest updates for your notebook.

 

extracted.png


Nah, I dont think it represents the complete picture.

 

Quoting from my pic of the BIOS:

 

"Place the system BIOS and the signature file on a fat32 partition......... under the Hewlett-Packard\BIOS\New"

 

"Add or verify the HP BIOS update utility (HpBiosUpdate.efi) and signature file......... under Hewlett-Packard\BIOSUpdate"

 

So I reckon HpBiosUpdate.efi is the software which will do the update, and the actual BIOS image that has to be flashed is missing from the Windows archive (the older Linux archive has both folders).

 

I suspected that Rom.CAB in the Windows archive contained the BIOS image, and extracting it using p7zip seems to verify that assumption:

 

$ 7z e Rom.CAB 

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.utf8,Utf16=on,HugeFiles=on,4 CPUs)

Processing archive: Rom.CAB

Extracting  Rom.bin
Extracting  Rom.sig
Extracting  ver.txt
Extracting  ver.sig
Extracting  efibios.sig

Everything is Ok

Files: 5
Size:       5243359
Compressed: 2650243

 Maybe I have the complete picture now and if I place these files in the location(s) specified by the BIOS update message, it could work, though I am not sure whether I want to take that risk on my own.

 

Note that in the older Linux archive, the BIOS image was named differently, and I dont know if that matters or not (pic attached)..

 

bios_image.png

 

Thx for your help so far erico, it has been instructive working with you.


The files you should put on the usb flash drive are marked in the following image. I don't mind sharing knowlege at all. 🙂

 

files needed.png

 

If you really want to say thanks, click on the Thumbs up icon .
If your problem is solved or question answered by my post, please click the Accepted Solution button in that post.

0 Kudos
Highlighted
Ales1 Tutor
Tutor
1 1 1 2
Message 17 of 40
17,152
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux

I have done this recently on my HP ProBook 450 G2 running Kubuntu Linux 15.10.

 

A new version of BIOS (01.16 Rev.A 1 Dec 2015) was available but for Windows only.

 

What I had to do to install BIOS on Linux:

 

* download the exe file (for instance: sp74048.exe): it's an archive

 

* unpack it with 7zip

 

* go to my laptop setup: restart, hit [ESC] >

 F10 BIOS Setup > MAIN > Update System BIOS > Update BIOS using local media

 

* read the instructions:

 

     “Place the System BIOS BIN file on a FAT32 partition either

       on the system hard drive or on removable USB Key

       under the "Hewlett-Packard\BIOS\New" folder.

 

      Next, add or verify the HP Bios update utility (HpBiosUpdate.efi)

      and signature file (HpBiosUpdate.s12) are located

      on the same FAT32 partition under

      the following folder path: "Hewlett-Packard\BIOSUpdate".”

 

* grab a flashdrive, create the folder "Hewlett-Packard\BIOS\"

 

* copy the whole folderBIOSUpdate” from the original installation file to it

 

* create the folder “New” and copy the bin file to it (in my case “M74_0116.bin”)

 

* so at the end the flashdrive looks like this:

 

\---Hewlett-Packard

    +---BIOS

    | \---New

    |      Mxx_xxxx.bin

    |

    \---BIOSUpdate

          all files here

 

* place the flashdrive into the laptop and in “Update BIOS Using Local Media” hit the [Accept] button below “The System BIOS will be updated immediately.”.

 

Then HP BIOS Update will appear saying: The System BIOS is being updated. > Writing new BIOS Image. > Veryfying new BIOS Image. > restart.

 

Done.

 

It's really beyond me why HP doesn't provide a simple archive with the proper directory structure and a readme file so that everyone could update their BIOS regardless their operating system.

 

Disclaimer: I'm just an average Linux user. This procedure worked for me but before using it you must consider the risks for yourself. You MUST know what you are doing.

boukeas Top Student
Top Student
2 2 0 2
Message 18 of 40
17,113
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux


@Ales1 wrote:

I have done this recently on my HP ProBook 450 G2 running Kubuntu Linux 15.10.

[...]

Then HP BIOS Update will appear saying: The System BIOS is being updated. > Writing new BIOS Image. > Veryfying new BIOS Image. > restart.

I have a HP ProBook 430 G2, running Ubuntu Linux 14.04. I have tried the procedure you describe but, unfortunately, the last part I have quoted above (i.e. the actual update) does not appear. I have absolutely no idea why.

 

I have also tried backing up the current BIOS, just to make sure that there is nothing wrong with my USB stick or the directory structure. The M74_0104.bin backup file appears in the Hewlett-Packard\BIOS\Current directory, just as it should.

 

Can you think of any reason why this does not work for me?

 

Oh, here's the tree structure of my USB drive: http://pastebin.com/raw/REduBzbH

0 Kudos
boukeas Top Student
Top Student
2 2 0 2
Message 19 of 40
17,107
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux

Based on the tree structure described above, I have successfully followed an alternative route, using information I have gathered from the HP EFI Guidelines.

 

  • In the BIOS Setup, switch from Legacy to UEFI (Hybrid) Boot Mode. This enables booting HP-signed EFI Applications.
  • In the Boot Devices Options, a "Boot from EFI file" option is now available. Select this and navigate to the HPBiosUpdate.efi file. This starts the BIOS Update application, which then uses the Μ74_0116.bin file in Hewlett-Packard/BIOS/New to update the BIOS.

Note that the USB partition used for this must be labeled HP_TOOLS.

Stane1983 Top Student
Top Student
3 2 0 2
Message 20 of 40
16,898
Flag Post
HP Recommended

Solved!

How to update BIOS on Linux

I updated same laptop (well, almost same, my bios is M73...) using this procedure. I extracted files by running installer under wine which extracted files to ~/.wine/drive_c/SWSetup/SP..... as it would do on Windows.

 

USB doesn't have to be labeled (mine is not) and it worked...

 

To find out which bios I need (M73 or M74) I used dmidecode.

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation