Only use the official HP Support website.
: Download the BIOS update on a different PC and use the installer to create a BIOS Recovery Flash Drive .
Before downloading anything, check what BIOS version is currently installed.
To update the BIOS on your HP Pavilion g6, you can use the official HP support tools to ensure compatibility and safety. Since the g6 series is older, many updates are officially listed for Windows 7 or 8, but they can often still be applied if you are running Windows 10.