How can I reset my BIOS using Ubuntu?
33,311
modprobe nvram
dd if=/dev/zero of=/dev/nvram
Then reboot.
This resets the CMOS memory on most systems.
Related videos on Youtube
Author by
Zanna
Updated on September 18, 2022Comments
-
Zanna over 1 year
I need to reset the BIOS. I took a look into my laptop, but the CMOS battery and the jumper are covered with a lot of stuff and I don't feel like taking all of that out. So is there a way of resetting the BIOS using Ubuntu?
-
David Foerster over 7 yearsMost PC systems (so almost all desktop and server computers) don't have
/dev/nvram
. I've only really seen that on embedded systems. -1 -
nod over 6 yearsThis is the correct answer, at least on Ubuntu 16+. You just need to modprobe nvram. I locked myself out of IPMI remote console by disabling a buggy USB chipset in BIOS earlier and this resolved it.
-
Zibri over 6 years/dev/nvram skips anyway the first 14 bytes of the real CMOS memory which contains the RTC (real time clock). To write also those 14 bytes you need a small C program, but usually is not needed.
-
Badis Merabet about 3 yearsDoes this reset bios administrator password ? I am struggling with it now :/