Created
August 27, 2018 08:35
-
-
Save henhell/2eb6fee1b2ba71fb18dd8e977d07cb59 to your computer and use it in GitHub Desktop.
Update bios from Linux on HP Elitebook 840 G3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! WARNING Selecting wrong /dev/sdX might wipe your main harddrive !!! | |
!!! These are only notes, not a step by step !!! | |
Download BIOS from HP's page, find your correct bios files via serialnumber | |
# sudo dmidecode |grep -A 4 "HP EliteBook" | |
Download the service pack spXXXXX.exe | |
# apt-get install wine-stable | |
# wine spXXXXX.exe | |
Follow the installer instructions, pretty much the : next next accept next ok dance... | |
Grab an old USB stick you can wipe, insert it and find out what /dev/sdbXXX it attaches as. (dmesg is your friend) | |
!! WARNINGS: THIS WILL ERASE sdX, BE SURE ITS THE USB STICK !! | |
# sudo dd if=/dev/zero of=/dev/sdX bs=1M count=10 | |
# sudo cfdisk /dev/sdX | |
Create a dos partition table and one partition, W95 Fat32 LBA. | |
Write changes to disk and exit cfdisk | |
# sudo mkfs.vfat -n HP_TOOLS /dev/sdX1 | |
# sudo mount /dev/sdX1 /mnt | |
# cd /mnt && mkdir -p Hewlett-Packard/BIOS/New | |
BIOS filename and spXXXXX may vary... | |
# sudo cp /home/$YOURUSERNAME/.wine/drive_c/SWSetup/sp90206/N75_0133.bin /mnt/Hewlett-Packard/BIOS/New/ | |
# sync | |
# sudo umount /mnt | |
And maybe remove wine + deps | |
# sudo apt-get remove wine-stable && apt-get autoremove | |
Reboot machine, press F10 during boot to enter BIOS, update from local media | |
Note that boot from USB must be enabled or the BIOS/UEFI will fail to find the firmware file. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
infelizmente não funciona no modelo HP Pavillion 2100 Series, nem no windows, nem no linux