If the BIOS is encrypted in a school or company, it would be too convenient to split the battery if the chassis is opened, which is too conspicuous.
So today, I googled the Internet and tried to find a way to clear the BIOS password without the boot box. It seems that a software named biospwd in Windows can crack the BIOS password, however, I often use Ubuntu, So I Google the software for clearing the BIOS password in Linux, and finally found an artifact Supporting windows, Mac, Linux, and BIOS password cleanup --
Cmospwd.
The official website of cmospwd lists the BIOS versions that support password clearance. It seems that most mainstream BIOS systems support this version.
The process is simple.
1. Download cmospwd-5.0.tar.bz2 and decompress it. Ubuntu has a graphical interface. Right-click and unzip it. $ Tar xvf cmospwd-5.0.tar.bz2 without command
2. Then go to the unzipped cmospwd-5.0 directory and enter the src directory. Log on to the terminal, find the corresponding location, and run the $ LS-l command to check whether cmospwd has the execution permission,
If you do not have an X, you do not have the execution permission. use $ chmod + x cmospwd to add the execution permission to it.
3. Run cmospwd with the root permission. $ Sudo./cmospwd
4. At this time, the BIOS version that supports cleanup is displayed on the terminal. Then press enter to continue.
5. Currently, the password has not been cleared. Run the command $ sudo./cmospwd/K again.
Shown as follows:
~ /Desktops/cmospwd-5.0/src $ sudo./cmospwd/K
Cmospwd-bios cracker 5.0, October 2007, copyright 1996-2007
Grenier sans E, grenier@cgsecurity.org
Http://www.cgsecurity.org/
Warning: if the password is stored in an EEPROM (laptop/notebook), the password won't be erased.
1-kill CMOS
2-kill CMOS (try to keep Date and Time)
0-Abort
6. Enter 2 and press Enter. At this point, you will be taken into consideration. It is shown that the removal is successful, and the machine is restarted. At first, the system cannot be entered, which shocked me.
After the power is unplugged, re-plug and restart again, and the computer has finally recovered to normal. Press the Del key and you will be able to see the BIOS settings page again.
Of course, this method can only clear the BIOS password. It is not clear if the password is cracked. The official website says that cmospwd also supports Windows and Mac. You can try it on your own.