[Solved] Changing boot order in BIOS from terminal?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Changing boot order in BIOS from terminal?
Before I installed Mint I changed the settings in BIOS for boot order, with F2 at start up.
I want to to change it back now so it'll boot quicker - hard disk first - but I can't get into BIOS anymore
No matter if I click F2 a hundred times very quickly after turning on the desktop, or keep it pressed down immediately after hitting the start knob, I always get my Mint GUI-login screen.
Is there any way I could reach BIOS-settings?
Maybe via terminal?
I want to to change it back now so it'll boot quicker - hard disk first - but I can't get into BIOS anymore
No matter if I click F2 a hundred times very quickly after turning on the desktop, or keep it pressed down immediately after hitting the start knob, I always get my Mint GUI-login screen.
Is there any way I could reach BIOS-settings?
Maybe via terminal?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Changing boot order in BIOS from terminal?
Try putting a CD in the CD drive to slow the hardware check.
If all else fails, turn off the power, open the case and disconnect the two cables from your hard drive.
If all else fails, turn off the power, open the case and disconnect the two cables from your hard drive.
Re: Changing boot order in BIOS from terminal?
BIOS is a function of the machine and is accessed before any OS loads.catch22 wrote:Maybe via terminal?
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
Re: Changing boot order in BIOS from terminal?
This is true of a traditional/legacy BIOS, which account for what's used on most systems. On new computers that use EFI/UEFI, though, you can adjust the boot order by using the efibootmgr utility, as in:remoulder wrote:BIOS is a function of the machine and is accessed before any OS loads.catch22 wrote:Maybe via terminal?
Code: Select all
sudo efibootmgr -o 7,2
This might work for catch22 if the computer in question uses UEFI, as do most computers sold in 2012 and a good number sold in the last half of 2011. Even then, though, Linux must have been installed in EFI mode, not in BIOS/legacy mode, for this to work. Most UEFI-based computers support BIOS/legacy boots, so Linux may be installed in this way even on a new computer. Most older computers lack EFI support, so chances are catch22 will just have to find the "sweet spot" for hitting the function key. Personally, I find that repeatedly pressing the key in question is the most reliable way to get this done -- as soon as I power on, I start tapping away at the key until the firmware's configuration screen comes up.
Re: Changing boot order in BIOS from terminal?
"efibootmgr"-command is nout found, so I guess there's no efi (it's a new machine from 2011).
Thanks all of you for comments and suggestions. The CD-trick didn't work, and tapping like mad is what I did many times already (the sweet spot here is very narrow I suppose).
I'll give the cable unhinging suggestion a go - it sounds like a workable idea.
Thanks all of you for comments and suggestions. The CD-trick didn't work, and tapping like mad is what I did many times already (the sweet spot here is very narrow I suppose).
I'll give the cable unhinging suggestion a go - it sounds like a workable idea.
Re: Changing boot order in BIOS from terminal?
Hi.
If you are not using a laptop but a tower there is a back to bios button on the back of the tower.
If you are not using a laptop but a tower there is a back to bios button on the back of the tower.
Re: Changing boot order in BIOS from terminal?
hi,
I'd like to know if and how you solved the problem?
I bought a chronos 7 and I installed LinuxMint13......I also deleted all the disk, deleting Microsoft Windows 7 and the recovery disk
now I can't accede to the BIOS even if I type F2 as I'm requested before starting LinuxMint13
I'd like to know if and how you solved the problem?
I bought a chronos 7 and I installed LinuxMint13......I also deleted all the disk, deleting Microsoft Windows 7 and the recovery disk
now I can't accede to the BIOS even if I type F2 as I'm requested before starting LinuxMint13
Re: Changing boot order in BIOS from terminal?
Not on this machine http://www.tranquilpc.co.uk/media_centres.htmlkeghn wrote:Hi.
If you are not using a laptop but a tower there is a back to bios button on the back of the tower.
of which I only bought the housing btw, the internals were put together by a friend.
Re: Changing boot order in BIOS from terminal?
Every time I boot I retry the F2 tapping and so far it did work once.andreap85 wrote:hi,
I'd like to know if and how you solved the problem?
I bought a chronos 7 and I installed LinuxMint13......I also deleted all the disk, deleting Microsoft Windows 7 and the recovery disk
now I can't accede to the BIOS even if I type F2 as I'm requested before starting LinuxMint13
Obviously the "sweet spot" is very narrow here.
I'm expecting a visit from my friend, who put the pc together, in a week or two.
I hope to find out more then and will report here (if I forget, you can PM me to remind me )
EDIT: I didn't dare try the cable disconnect trick yet, since the housing is very small and the machine is absolutely packed with stuff inside; waiting for my friend to do that
Re: Changing boot order in BIOS from terminal?
Sure read the manual for your computer, search for the bios name, you will find it under the desktop when it loads Mint, if you look at the system informationcatch22 wrote:Is there any way I could reach BIOS-settings?
--hardware profiling, there is a speed test to compare your machine, as well as various info in regards to the BIOS and devices being used
I don't know if Dmesg in a console will show the BIOS name (AWARD etc..)
--when you find the name or see it on your boot, the numbers appear on the bottom of the screen, you can searcfh for that name (name number) on the internet to find the infor for your BIOS
- There are some genweral defaults for access to any BIOS, usuallly the DEL, ESC keys or one of the F(Funtion keyes) F!, F10 and so on
- Typical BIOS hotkeys..
http://gluek.info/wiki/hardware/howto-e ... os-hotkeys
If you are really stuck on the BIOS hotkey, you can reflash the BIOS, you need to get a utility (it will save your cotrrent BIOS before reflashing it
--an example is award
http://www.xbitlabs.com/articles/mainbo ... pdate.html
https://en.wikipedia.org/wiki/BIOS
Or you can remove of use the the mainboard chip (or dip) switch selection to clear (CLR) the BIOS
--removing the mainboard battery will also work; the BIOS will lose its current setup and boot with default selections, then you can re-edit ..
- Typical BIOS hotkeys..
Re: Changing boot order in BIOS from terminal?
Thanks drHU, In dmesg I did catch this line:
but I know for a fact that the BIOS key here is F2, so that's not an issue really.
I'd rather wait for my previously mentioned friend rather than getting in deeper technically than I can handle.
Code: Select all
Calgary: detecting Calgary via BIOS EBDA area
I'd rather wait for my previously mentioned friend rather than getting in deeper technically than I can handle.
Re: Changing boot order in BIOS from terminal?
some news? didi you solve the problem with your friend?
let me know
let me know
Re: Changing boot order in BIOS from terminal?
He hasn't been around yet, so I'm still waiting.andreap85 wrote:some news? didi you solve the problem with your friend?
let me know
I will report once it's solved
Re: Changing boot order in BIOS from terminal?
Well, my friend still hasn't been around, but I thought I had found something that would be of (some) help.
In the book "Ubuntu Linux Toolbox" (page 201) I read about the "menu.lst"-file.
If I would alter the timeout there, I would at least see GRUB while booting (I don't see any GRUB now, so timeout must be at "0", I suppose).
But... I don't see any menu.lst in /boot/grub/
Are things different than in Ubuntu on this?
In the book "Ubuntu Linux Toolbox" (page 201) I read about the "menu.lst"-file.
If I would alter the timeout there, I would at least see GRUB while booting (I don't see any GRUB now, so timeout must be at "0", I suppose).
But... I don't see any menu.lst in /boot/grub/
Are things different than in Ubuntu on this?
Re: Changing boot order in BIOS from terminal?
That file controls GRUB Legacy (that is, pre-1.0 versions of GRUB), but recent versions of Mint uses GRUB 2 (which is really version 1.9x and later). There is an equivalent for GRUB 2, but IIRC (I haven't re-read the whole thread), your problem is with getting to the BIOS setup screen to change the boot order. Since either version of GRUB runs after the BIOS does its own boot-device scan, adjusting GRUB options won't help.catch22 wrote:Well, my friend still hasn't been around, but I thought I had found something that would be of (some) help.
In the book "Ubuntu Linux Toolbox" (page 201) I read about the "menu.lst"-file.
Re: Changing boot order in BIOS from terminal?
If it's a desktop, you can often open up the case, and pull the BIOS reset jumper. You will have to find it's location in your motherboard manual (please don't randomly start puling jumpers. I burned up and old CPU doing that. It did boot and the CPU monitor said that I had overclocked it about 40%)
If you can't find a BIOS jumper, or you have a laptop, you can usually just unplug your system and remove the CMOS battery on the motherboard. Leave it sit for ~10 minutes, replace the battery, and plug your system back in. It will then (usually) complain about the CMOS being reset, and will give you an option to enter the BIOS and reset everything. Be sure to reset your system clock while you are in the BIOS.
Alternatively, you can just start pressing the F2 key (or whatever you BIOS setup key is) as fast as possible as soon as you push the power button. If you miss the BIOS menu, just shut it off and repeat. Keep trying until you get lucky and catch it.
If you can't find a BIOS jumper, or you have a laptop, you can usually just unplug your system and remove the CMOS battery on the motherboard. Leave it sit for ~10 minutes, replace the battery, and plug your system back in. It will then (usually) complain about the CMOS being reset, and will give you an option to enter the BIOS and reset everything. Be sure to reset your system clock while you are in the BIOS.
Alternatively, you can just start pressing the F2 key (or whatever you BIOS setup key is) as fast as possible as soon as you push the power button. If you miss the BIOS menu, just shut it off and repeat. Keep trying until you get lucky and catch it.
Re: Changing boot order in BIOS from terminal?
I am fresh from buying new laptop and have efi problem. BTW. First time i have efi/uefi bios.
I installed linux mint 13, unfortunately, for the first time after the installation mint does not start and the computer shows errors on boot like that the hdd can be plugged in not properly etc. I came to the conclusion that computer trying to boot from the network because the system could not be find anywhere else. As it turned out, the laptop has a new EFI BIOS type and, therefore, in the second approach, i installed with EFI partition set in the system partition, and format the whole thing again. Now the system starts up and works normally, but it is a little messy in the EFI boot priority as there was 7 devices on purchase but after messing and installing mint there is now 15 because everything doubles. I also noticed that the system name is shown in the EFI BIOS as pictured. But why should it double all the equipment? I think I preferred the normal BIOS.
PS. i installed ubuntu and now there is additional ubuntu as a choice (not in the picture), linuxmint is still there even though not installed anymore.
Can anyone say whats going on? is this recorded in bios flash or somewhere on hdd?
I installed linux mint 13, unfortunately, for the first time after the installation mint does not start and the computer shows errors on boot like that the hdd can be plugged in not properly etc. I came to the conclusion that computer trying to boot from the network because the system could not be find anywhere else. As it turned out, the laptop has a new EFI BIOS type and, therefore, in the second approach, i installed with EFI partition set in the system partition, and format the whole thing again. Now the system starts up and works normally, but it is a little messy in the EFI boot priority as there was 7 devices on purchase but after messing and installing mint there is now 15 because everything doubles. I also noticed that the system name is shown in the EFI BIOS as pictured. But why should it double all the equipment? I think I preferred the normal BIOS.
PS. i installed ubuntu and now there is additional ubuntu as a choice (not in the picture), linuxmint is still there even though not installed anymore.
Can anyone say whats going on? is this recorded in bios flash or somewhere on hdd?
Re: Changing boot order in BIOS from terminal?
Oyabunbaba, I recommend you start a new thread for your problem, since it doesn't seem to be very closely related to the original problem in this thread, and trying to address two peoples' problems in one thread can get very confusing and counterproductive.
I will say this, though: The "efibootmgr" utility can probably solve your problem. Try reading its man page.
I will say this, though: The "efibootmgr" utility can probably solve your problem. Try reading its man page.
Re: Changing boot order in BIOS from terminal?
Thanks, I realize that and know it's off-topic from my original question, but found it strange that I never see any GRUB passing by when starting the desktop.srs5694 wrote:... Since either version of GRUB runs after the BIOS does its own boot-device scan, adjusting GRUB options won't help.
I used to have two Linux's on my older pc and now just LinuxMint by itself, maybe GRUB doesn't show up because it sees only one distro then? (yeah; newbee forever )
Re: Changing boot order in BIOS from terminal?
It's F2 alright - the button has worn out from trying I guess I'll still have to wait for my friend to do it for me - I'm not touching anything inside, like cables or jumpers. Ah, patience is such a virtue - I will report when it's solved.bigj231 wrote:...please don't randomly start puling jumpers. ...Alternatively, you can just start pressing the F2 key (or whatever you BIOS setup key is) as fast as possible as soon as you push the power button. If you miss the BIOS menu, just shut it off and repeat. Keep trying until you get lucky and catch it.