The BIOS/UEFI can be accessed by pressing the appropriate key at boot time. A table of BIOS/UEFI access keys for different motherboard manufacturers is in this answer.
You can also enter the BIOS/UEFI directly from Ubuntu the way you can do sometimes from Windows by running sudo systemctl reboot --firmware-setup
but I strongly recommend that Ubuntu users shouldn't use this method except for when all other methods of accessing the UEFI settings have failed. When I tried this command it reset the CMOS and all my UEFI settings got reset back to their default values including the clock. When I exited from the UEFI settings to reboot, the screen froze and I had to manually power off the computer and cold start it. Fortunately I knew my previous UEFI settings, so I could immediately restore them before exiting from the UEFI settings.
This is what man systemctl
has to say about the --firmware-setup
option.
--firmware-setup
When used with the reboot command, indicate to the system's firmware to
reboot into the firmware setup interface. Note that this functionality
is not available on all systems.
man systemctl
didn't say anything about resetting the CMOS. It only said "this functionality is not available on all systems".
sudo systemctl reboot --firmware-setup
but this is not available on all systems. I hope I understood your question right. – nobody Aug 17 '19 at 08:58