Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nvram(4) [netbsd man page]

NVRAM(4)						   BSD Kernel Interfaces Manual 						  NVRAM(4)

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. PC motherboard uses a small non-volatile memory to store BIOS settings which is usually part of its clock chip and sometimes referred as ``CMOS SRAM''. This driver exposes bytes 14 through 128 of the NVRAM, or a total of 114 bytes, at offset zero of the device file /dev/nvram. This driver is useful for cloning machines that shares 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. 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. BSD
February 8, 2010 BSD

Check Out this Related Man Page

nvram(8)						      System Manager's Manual							  nvram(8)

NAME
nvram - manipulate firmware NVRAM variables SYNOPSIS
nvram [ -p ] [ -f filename ] [ -d name ] [ -c ] [ name [= value ]] ... DESCRIPTION
The nvram command allows manipulation of firmware NVRAM variables. It can be used to get or set a variable. It can also be used to print all of the variables or set a list of variables from a file. Changes to NVRAM variables are only saved by clean restart or shutdown. In principle, name can be any string. In practice, not all strings will be accepted. New World machines can create new variables as desired. Some variables require administrator privilege to get or set. The given value must match the data type required for name. Binary data can be set using the %xx notation, where xx is the hex value of the byte. The type for new variables is always binary data. OPTIONS
-d name Deletes the named firmware variable. -f filename Set firmware variables from a text file. The file must be a list of "name value" statements. The first space on each line is taken to be the separator between "name" and "value". If the last character of a line is , the value extends to the next line. -x Use XML format for reading and writing variables. This option must be used before the -p or -f options, since arguments are pro- cessed in order. -c Delete all of the firmware variables. -p Print all of the firmware variables. EXAMPLES
example% nvram boot-args="-s rd=*hd:10" Set the boot-args variable to "-s rd=*hd:10". This would specify single user mode with the root device in hard drive partition 10. example% nvram my-variable="String One%00String Two%00%00" Create a new variable, my-variable, containing a list of two C-strings that is terminated by a NUL. example% nvram -d my-variable Deletes the variable named my-variable. October 28, 2003 nvram(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

nvram reset or crack password

Hello guys ,and girls. Im having a very interesting problem. I have a Netra SUN machine and i had it here for quite a while now...i wanted to install it as a new server and todo so i needed to mount a cd rom and to change the boot at the prom level to cdrom. this could work but i forgot the... (5 Replies)
Discussion started by: talroze
5 Replies

2. UNIX for Dummies Questions & Answers

booting from CD-ROM

I recently decided to install FreeBSD on an old 486 PC. I downloaded the iso and burnt it on my other computer. After that I went into the BIOS on the 486 to set the CD as my primary boot device.. but strangely there's no such option :confused: And when i boot the machine the floppy drive makes... (2 Replies)
Discussion started by: J.P
2 Replies

3. Windows & DOS: Issues & Discussions

Need BIOS drivers for motherboard

Does anyone know a good driver site. If you've heard of driverguide.com or driversearch.com please do not reccomend them because I already know them. I need to know where to get Motherboard drivers for a homemade computer. If there is any info that you need to know feel free to make a reply. :) (5 Replies)
Discussion started by: computek
5 Replies

4. Solaris

Nvram

I have Ultra1 SUN machine, its NVRAM got damaged. I purchased new NVRAM. now the host id of the new nvram is by default different than the old one.Any way to program it to change the new host id to be the same like the host id of the damaged one? (3 Replies)
Discussion started by: adol3
3 Replies

5. Solaris

CMOS settings on SUN V20Z from Solaris10

Hello Guys, and good day to everybody. I am battling to redirect console on this V20Z 'beast', and would really like to know if it's possible to 'see' CMOS settings from Solaris10 point of view. Machine is remote and I can't easily go and reboot the box and press F2 etc... So is there a... (3 Replies)
Discussion started by: mponjevic
3 Replies

6. Solaris

NVRAM change

I have replaced the nvram on my Sun V480 and now the system stops at the "ctrl-d for normal startup, or root password for maintenance" part. The nvram auto-boot=true, but it still stops here. Any help would be appreciated. Thanks. (4 Replies)
Discussion started by: kjbaumann
4 Replies

7. UNIX for Advanced & Expert Users

Delete rest of the line

Hi, can anyone please answer my question in deleting the rest of the line. I have an example below of a file contaning: Serial3/1.5 43.70.195.13 YES NVRAM down down Serial3/3 225.94.155.69 YES NVRAM up down Serial3/6 ... (3 Replies)
Discussion started by: Aejaz
3 Replies

8. Solaris

help about time and date on sparcstation

Hi all, I have one problem on my sparcstation20, time stops when I turn off my station, where is the problem? do u think is the NVRAM is crashed? ( for example, I turn off my station at 11:00, when I turn on the next day, I found time on 22:20)!!! please help me thank's for All (9 Replies)
Discussion started by: reda_lui
9 Replies

9. Solaris

Cannot boot from CDROM nor get to OK prompt SunV210

Server need to have the OS reinstalled (5.10 SPARC) and I cannot get it to the OK prompt. I also do not have the ALOM password and I've tried several different methods to zero out the NVRAM but to no avail. There is no ALOM battery that I can pull. I'm connecting via Cutecom (like minicom) and... (18 Replies)
Discussion started by: LittleLebowski
18 Replies

10. Solaris

new NVRAM

what is the requirements to install a new nvram for sun fire v890 server. should I keep the same host id and mac address, or it doesn't matter the server will boot with the new nvram regardless to the host id and mac address. (4 Replies)
Discussion started by: gad314
4 Replies

11. UNIX for Dummies Questions & Answers

Need help with OBP.

Hi Gurus, I am totally confused :wall: . I have some questions regarding OBP,EEPROMand NVRAM, BIOS. What actually are these how do they function and interact on a Sparc based solaris system. What is ok> ? What is system Firmware ? How does the system startup? Trying to google... (8 Replies)
Discussion started by: rama krishna
8 Replies

12. AIX

Resetting the NVRAM

Does anybody know how to reset the NVRAM on a System p 520 (power 5)? (7 Replies)
Discussion started by: livehho
7 Replies

13. UNIX for Dummies Questions & Answers

Problem with FreeBSD 8.3. BIOS affected

Hello everybody. I have a problem of this kind: After installation of FreeBSD, my Windows XP became unreachable. Boot from CDROM is impossible. The conclusion: BIOS was damaged by GParted or some other program. Question: Are there any Unix means of updating (repairing) BIOS ?:wall: (11 Replies)
Discussion started by: prabux
11 Replies

14. Solaris

Can Missing mpk Code be added via NVRAM

Guys, I'm fighting a real bitch of a problem. I've got 2 Tadpole Bullfrog sun4u laptops. One just lost is NVRAM battery - invalid IDPROM. The idprom is virtually all zeros. Clock ticks, NVRAM appears good...testing with and with battery out. Our damn Tadpole boys removed virtually every method of... (6 Replies)
Discussion started by: forjack842
6 Replies

15. Ubuntu

BIOS configuration

I have a problem with a brand new Dell laptop. BioLinux was installed on it without making the necessary changes on BIOS. The installation was completed successfully but the BIOS system cant find the OS after rebooting the machine. I have tried to modify the BIOS setting with no luck this far. I... (7 Replies)
Discussion started by: Xterra
7 Replies