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?

  • 1
    You did not explain why you need to reset your bios settings?! Maybe that problem HAS an answer and you are asking about problem Y where you want problem X to be solved meta.stackexchange.com/questions/66377/what-is-the-xy-problem ;) – Rinzwind Oct 18 '14 at 20:30
  • @Rinzwind My keyboard backgroundlighting does not work (this problem: askubuntu.com/questions/537829/…). Someone told me it might work when I just reset the BIOS. – user321004 Oct 18 '14 at 23:05
  • This will work: askubuntu.com/questions/383501/… – Rinzwind Oct 19 '14 at 7:03
  • What laptop do you have? We might able to point you to the right question with that knowledge. However, I don't think this question is still relevant after 2 years, so I'm voting to close as unclear. – David Foerster Nov 22 '16 at 14:39
modprobe nvram
dd if=/dev/zero of=/dev/nvram

Then reboot.

This resets the CMOS memory on most systems.

| improve this answer | |
  • Most PC systems (so almost all desktop and server computers) don't have /dev/nvram. I've only really seen that on embedded systems. -1 – David Foerster Nov 22 '16 at 14:36
  • 1
    This 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. – nod Sep 7 '17 at 23:46
  • /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. – Zibri Dec 8 '17 at 9:11