LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-04-2022, 12:26 PM   #1
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,375

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
BIOS resets to defaults on every power up


First I will state the problem:

I have a HP Envy computer running Debian 11 that I have been running in legacy boot mode for seven months. Yesterday evening I booted the computer and it booted in UEFI mode. After much fooling around I determined that I could intercept the boot, change the BIOS to my original legacy mode settings, and successfully boot into Debian.

However, every time I power up the computer the BIOS announces that it has reset to defaults and then boots in UEFI mode. So I intercept the BIOS and set everything to my usual BIOS configuration and it boots into Debian. I don't know whether it announced the reset to BIOS defaults the first time it happened because I wasn't paying attention.

Now for a lot of detail which may or may not be relevant to the problem since I don't know what is causing the BIOS to reset to default settings on power up:

In January I bought two almost identical used HP Envy computers, one for home and one for my office. They both had Windows 10. They both have a hard drive and a SSD. On the home computer I used Windows utilities to shrink Windows down to three small partitions. On the office computer I wiped out Windows.

I set both computers to legacy boot and installed Debian 11 on both. The operating systems are identical on the two computers and the user data is different. On the home computer I installed grub on the SSD, /dev/sdb1. I have the problem at my office that other people can access my computer after hours so I installed grub on an unlabeled USB thumb drive which I throw into a pile of thumb drives in a drawer after each boot. I have never had any BIOS problem with the office computer.

So I have two questions:

1. Why did my home computer automagically decide to reset the BIOS to the default settings?

2. What do I have to do to stop the BIOS from resetting to the default settings every time I power up?
 
Old 08-04-2022, 12:37 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,522

Rep: Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224
Do the HP Envoy computers UEFI use NVRAM or do they still have CMOS?

A bad battery would be my first guess.
 
1 members found this post helpful.
Old 08-04-2022, 12:38 PM   #3
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 371

Rep: Reputation: Disabled
BIOS resets to defaults on every power up

How old is the PC. I'm thinking it's the CMOS battery. If not I don't know.
 
1 members found this post helpful.
Old 08-04-2022, 12:41 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
I would suspect either (1) a CMOS battery failure or other hardware fault, (2) "corrective" action by Windows as 10+ seems quite taken with controlling the BIOS (3) an unlikely UEFI virus/worm whatever.

Change the battery, if that doesn't work, move windows to a better place
 
1 members found this post helpful.
Old 08-04-2022, 01:26 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,375

Original Poster
Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
OK, I'll buy a battery and see if that works.
 
Old 08-04-2022, 01:54 PM   #6
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
IME the only time bios gets reset with a power off is when the battery dies. How old is the machine? I think you will be happy with the battery replacement.
 
1 members found this post helpful.
Old 08-04-2022, 02:16 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,774

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
Does the system have an efi partition?
 
Old 08-04-2022, 03:19 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,375

Original Poster
Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Quote:
Originally Posted by colorpurple21859 View Post
Does the system have an efi partition?
Yes, it is one of the three small partitions used by Windows.
 
Old 08-04-2022, 03:44 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,280

Rep: Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658
Some HP systems have a way to force bios to remain the same.
 
Old 08-04-2022, 04:36 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,774

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
Does the firmware/bios have a "boot from file" option when selecting firmware/bios boot menu and is there a os-manager option under firmware/bios boot options in settings? If so it is possible to set debian up to boot in uefi mode without the need for a live iso.
 
Old 08-04-2022, 08:28 PM   #11
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,375

Original Poster
Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Quote:
Originally Posted by colorpurple21859 View Post
Does the firmware/bios have a "boot from file" option when selecting firmware/bios boot menu and is there a os-manager option under firmware/bios boot options in settings? If so it is possible to set debian up to boot in uefi mode without the need for a live iso.
Yes. But I want to keep the two computers in sync as much as possible and I don't want to install UEFI on the office computer.

I bought and installed a new battery and boot now works as before the battery died. I also bought a second battery to take to the office. Thanks to everyone for your help.
 
Old 08-05-2022, 05:44 AM   #12
rachelgomez
LQ Newbie
 
Registered: Jun 2022
Posts: 2

Rep: Reputation: 0
Steps to Reset the BIOS to Default Settings

Access the BIOS Setup utility.
See Accessing BIOS.

Press the F9 key to automatically load the factory default settings.
A message appears prompting you to continue this operation by selecting OK or to cancel the operation by selecting Cancel.

Confirm the changes by highlighting OK, then press Enter.
The BIOS Setup utility window appears with the cursor highlighting the first value on the window.

To save the changes and exit the BIOS Setup utility, press the F10 key.

Regards,
Rachel Gomez
 
Old 08-05-2022, 12:54 PM   #13
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Hi Rachel Gomez, and welcome to posting although you registered a couple months ago.

The OP is an 'LQ Guru', so likely already knows this, and posted their (battery) resolution above.

Could you please post the link to where you found that information?
(It may have other basics which would be useful to a N00b like me, and would make your post look less like a SpamBot)

Also, if you'd like to find some threads that really really need help, you might search for some of my postings.

You can use the member introduction form to introduce yourself and tell us a little bit about: your experience, PCs, Etc.

Looking forward to more complex solutions from you!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
safe to run pc after CMOS saves date and time but resets bios settings on chassis intrusion reboot andru126 Linux - Hardware 3 02-02-2018 01:48 PM
resolv.conf resets to default after every reboot mehetmet Linux - Networking 2 08-10-2012 05:38 AM
[SOLVED] ibus Chinese input resets to English every time Pedroski Linux - Software 5 08-24-2011 09:14 AM
"random" xorg resets ... quickly typing in the GUI a "2" resets X Tinkster Slackware 3 04-09-2010 05:25 AM
/etc/resolv.conf resets after every reboot in FC3 RAMMS+EIN Linux - Hardware 2 05-20-2005 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration