Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. \\\\\\\\\\ editing bios values without modding bios:
  2.  
  3. 0) warning: the hex values change per different bios versions - do not update your bios and assume they are the same. go get the new hex values for what you want to change.
  4.  
  5. 0) info: the changes will persist until you clear cmos/restore optimal defaults
  6.  
  7. 1) get bios rom
  8. 2) decide string you want to edit
  9. 3) UEFITool -> Open bios .rom -> Ctrl F, Text, search for string you want to edit
  10. 4) double click one of the results, right click the section (probably PE32 image section) that it takes you to, "Extract as is", save
  11. 5) IFRExtractor -> Open the saved file from UEFITool, click extract
  12. 6) Text editor -> Ctrl F for similar name to the string you originally wanted to edit
  13. 7) Take note of the hex after VarOffset/VarName as well as it's options in the following lines, choose what you want to change it to
  14. 8) Take the USB stick with modded grub shell and boot to it in UEFI mode
  15. 9) Setup_var or Setup_var_3 0xHEX 0xVALUE
  16.  
  17. \\\\\\\\\\ links:
  18.  
  19. https://github.com/LongSoft/UEFITool/releases
  20. https://github.com/LongSoft/Universal-IFR-Extractor/releases
  21. https://github.com/datasone/grub-mod-setup_var/releases
  22. http://ftp.gnu.org/gnu/grub/grub-2.02-for-windows.zip
  23.  
  24. \\\\\\\\\\ grub stuff:
  25.  
  26. 1) format usb stick as empty FAT32 - you can use rufus
  27. 2) take the folder from grub for windows .zip and go to its directory in command prompt
  28. 3) assuming drive D is your usb, change according to whatever drive it is:
  29. grub-install.exe --boot-directory=D:\ --efi-directory=D: --removable --target=x86_64-efi
  30.  
  31. 4) replace the file on your usb stick in EFI/boot with the modded grub efi file
  32.  
  33. requires uefi boot
  34.  
  35. additional helpful links:
  36.  
  37. https://www.win-raid.com/t3908f16-GUIDE-Grub-Fix-Intel-FPT-Error-or-BIOS-Lock-Asus-Other-Mod-BIOS-Flash.html
  38. https://github.com/acidanthera/AppleSupportPkg#verifymsre2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement