NVRAM(4)
πΎ NVRAM(4) β non-volatile RAM πΎ
okay bestie, this is the Kernel Interfaces Manual entry for nvram, and it's literally all about non-volatile RAM. π«Ά
πΈ NAME πΈ
nvramβ non-volatile RAM β¨
β¨ SYNOPSIS β¨
To compile this driver into the kernel, place the following line in your kernel configuration file:
device nvram
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
nvram_load="YES"
π DESCRIPTION π
The nvram driver provides access to BIOS configuration NVRAM on i386 and amd64 systems. π
A PC motherboard uses a small non-volatile memory to store BIOS settings, and that memory is usually part of its clock chip and sometimes referred to as βCMOS SRAMβ. This driver exposes bytes 14 through 128 of the NVRAM β a total of 114 bytes β at offset zero of the device file /dev/nvram. π
This driver is useful for cloning machines that share the same hardware configuration and need same BIOS setting tweaks. π¦
π§ IMPLEMENTATION NOTES π§
The BIOS NVRAM's bytes 16 through 31 are checksummed at byte 32. This driver does not take care for these checksums.
β οΈ heads up: the driver literally does not take care for these checksums, so don't expect it to handle that for you.
π₯ EXAMPLES π₯
Backup existing BIOS NVRAM to nvram.bin:
dd if=/dev/nvram of=nvram.bin
Restore BIOS NVRAM from nvram.bin:
dd if=nvram.bin of=/dev/nvram
π¦ SEE ALSO π¦
dd(1)π
π HISTORY π
The nvram device driver first appeared in FreeBSD 6.4. β
π AUTHORS π
The nvram device driver was written by Peter Wemm. This manual page was written by Xin LI. π«Ά
cute sign-off: source/version is Debian, date is February 8, 2010 β love u, bestie, catch you in NVRAM(4)! ππ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2010 iXsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms