Skip to content

Bash shell script that generates binary NVRAM files for dmpstore, a builtin command for VirtualBox EFI Internal Shell

License

Notifications You must be signed in to change notification settings

myspaghetti/virtualbox-generate-nvram-bin-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

virtualbox-generate-nvram-bin-file

Usage

        # import generate_nvram_bin_file function to shell
        source "virtualbox-generate-nvram-bin-file.sh"

        # execute function
        generate_nvram_bin_file "${name}" "${data}" "${guid}"

        # nvramgen is a short alias for generate_nvram_bin_file
        nvramgen "${name}" "${data}" "${guid}"

Dependencies

bash >= 4.3, coreutils, xxd, gzip

Examples

generate_nvram_bin_file "system-id" "hAA" "7C436110-AB2A-4BBB-A880-FE41995C9F82"

nvramgen "lang" "$(printf 'en:us' | xxd -p)" "aabbccddeeff00112233445566778899"

Loading the generated binary files into the virtual machine NVRAM

Load the generated binary files into VirtualBox VM NVRAM with the builtin command dmpstore in the VM EFI Internal Shell, for example dmpstore -all -l fs0:\system-id.bin

DmpStore source code is available at the VirtualBox code repository, mirrored here.

About

Bash shell script that generates binary NVRAM files for dmpstore, a builtin command for VirtualBox EFI Internal Shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages