[solved] How open bios by cli

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

[solved] How open bios by cli

Post by NoHo Hank »

None of the keys opens BIOs by boot. Is there a way to open the non uefi bios by cli or otherways?
Last edited by LockBot on Sat Jun 03, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
User avatar
kc1di
Level 18
Level 18
Posts: 8175
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How open bios by cli

Post by kc1di »

It should be in the machines instructions. If you don't have it. Give us the make model and other info on your machine. Then perhaps we can be of help.
To my knowledge there is no way to open a machine's bios via the command line.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Re: How open bios by cli

Post by exploder »

There is a command that will get you into the BIOS! I can not remember where I found it. I was in the same situation and the command worked.
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

Manual says F2 which nomore works, like i've said.
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
User avatar
SMG
Level 25
Level 25
Posts: 31781
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How open bios by cli

Post by SMG »

Is this the same computer as in this topic SSD vanished since using Tails?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

SMG wrote: Sat Dec 03, 2022 5:09 pm Is this the same computer as in this topic SSD vanished since using Tails?
NO it is not. But thanks for bringing that topic in attention because it is a very nasty problem indeed! :(
Actually i am not even sure if that topic is related to Tails! It was just a wild guess!
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: How open bios by cli

Post by JeremyB »

exploder wrote: Sat Dec 03, 2022 4:04 pm There is a command that will get you into the BIOS! I can not remember where I found it. I was in the same situation and the command worked.
With UEFI you can use fwsetup from grub command line but I don't think there is a command for BIOS machines
exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Re: How open bios by cli

Post by exploder »

There is a command that will make the system boot directly to the BIOS. Wish I would have saved it in my notes... I had changed settings and there was no way to get into the BIOS with the keyboard. If I find it again, it will be posted and saved to my notes!
User avatar
axrusar
Level 6
Level 6
Posts: 1491
Joined: Sat Jan 30, 2021 5:30 pm

Re: How open bios by cli

Post by axrusar »

try using the function key + f2. in some laptops the function keys are turned on to the laptop features instead of the standard function keys.
Hit F2 SEVERAL times as soon as the computer starts turning on from a full shut down.
Try Ctrl too if it does not work.
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics
Image
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

JeremyB wrote: Sun Dec 04, 2022 8:53 am With UEFI you can use fwsetup from grub command line but I don't think there is a command for BIOS machines
This is a uefi machine!
Some of the keys are not working. To check if F2 is working i tried to use it as RENAME option. Nothing hppened so i am afraid the bloody key is broken!
So how to get into the BIOS with a broken F2 key?
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
User avatar
axrusar
Level 6
Level 6
Posts: 1491
Joined: Sat Jan 30, 2021 5:30 pm

Re: How open bios by cli

Post by axrusar »

NoHo Hank wrote: Sun Dec 04, 2022 10:34 am
So how to get into the BIOS with a broken F2 key?
Borrowing an external keyboard. Walmart?
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics
Image
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

can you just plug in an usb kb into a laptop?
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

that works! great! thnx
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: How open bios by cli

Post by JeremyB »

If you see a grub menu when booting there should be an option in main menu for UEFI Firmware Settings and that does the same
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

JeremyB wrote: Sun Dec 04, 2022 12:14 pm If you see a grub menu when booting there should be an option in main menu for UEFI Firmware Settings and that does the same
No grub menu appears. Maybe because Lm is installed in legacy and Win in UEFI? To switch OS have to go to the BIOS.
bUT please explain how your way works since there will not always be a usb keyboard hanging around.
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
User avatar
kc1di
Level 18
Level 18
Posts: 8175
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How open bios by cli

Post by kc1di »

one of the problems is that you should install Mint and windows in the same boot mode either UEFI or Bios but not one UEFI and the other bios.
In order to see the grub menu on boot you have to hit the left shift key or the esc key depending on if it's uefi or bios. You need to do this when the machine is just booting some times the time out is not very long and you need to hit the key at the right time.

If you want to show the grub menu on every boot then you have to edit the /etc/default/grub file.
Change this line

Code: Select all

GRUB_TIMEOUT_STYLE=hidden
To this

Code: Select all

GRUB_TIMEOUT_STYLE=menu

And this line

Code: Select all

GRUB_TIMEOUT=0
to this

Code: Select all

GRUB_TIMEOUT=5
Save the file and issue this command in a terminal.

Code: Select all

sudo update-grub
When you reboot you should now see the grub menu.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

hi kc1di, those were my grub settings already.
so that doesn't work.
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
User avatar
NoHo Hank
Level 5
Level 5
Posts: 548
Joined: Wed Jun 29, 2022 6:03 am

Re: How open bios by cli

Post by NoHo Hank »

It became clear that it is (other then sugested) impossible to boot into BIOS by GRUB. Which shouldn't be surprising.
Adding an usb keyboard to the laptop solved this problem!
Demand technology that serves us - https://peoplevsbig.tech/
None of Your Business https://noyb.eu/en
User avatar
Qapla
Level 2
Level 2
Posts: 73
Joined: Tue Sep 14, 2021 5:35 pm
Location: San Francisco, 6,437 meters SouthEast of the future home of Starfleet Academy

Re: How open bios by cli

Post by Qapla »

exploder wrote: Sat Dec 03, 2022 4:04 pm There is a command that will get you into the BIOS! I can not remember where I found it. I was in the same situation and the command worked.
Is this what you remember?

Code: Select all

systemctl reboot --firmware-setup
From the Man page for systemctl:
--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.
Qapla' - Success! (Klingon salutation on departure to battle)
exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Re: [solved] How open bios by cli

Post by exploder »

Qapla, I believe that is the command! I must have got lucky with my hardware. I had changed the time out in the BIOS so the computer would start in seconds, not a good idea... That command got me back into the BIOS and I changed the setting back! I will save this great info this time! Thank you!
Locked

Return to “Beginner Questions”