CMOS battery is dead -- preventing me from installing
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CMOS battery is dead -- preventing me from installing
I'm trying to install a a cut down version of Linux (specifically DeLi or Vector) on a Pentium 166 with 48 megs of RAM. The problem is that the CMOS battery is dead, so every time the computer restarts, the BIOS reverts to default settings. Here's the problem. The default boot order is C, A. So the Harddrive boots before the floppy does. So I can't even use a boot disk. Currently the computer has Windows 98 on it. Is there any way I can get Linux on this computer without being able to boot either from a CD or a floppy? Is there an installer that launches from Windows that will allow me to repartion, install etc. and have only Linux left after?
Network installation might be possible, but can I repartition and format through a network connection? Anyone have any links regarding installation via network?
Well, I don't mean to sound like a smarta$$, but why don't you just replace the battery? They only cost about $2.78 at walmart. There will be a number on the back, maybe 2016, maybe 2032. Bring the battery with you and you should find a replacement.
Originally posted by linuXBOX Well, I don't mean to sound like a smarta$$, but why don't you just replace the battery? They only cost about $2.78 at walmart. There will be a number on the back, maybe 2016, maybe 2032. Bring the battery with you and you should find a replacement.
I didn't now they were the same ones as commonly available. That seems like an elegant solution. Change the dead battery!
Suppose I can't get my hands on it in a timely manner or that it's more than the battery being dead, do you have any input on alternate ways of partitioning, formatting and installing given that I can't boot from CD or floppy?
...well, why don't you restart windows to msdos. If you have a disk with fdisk on it, you should be able to do you're partioning there. I can't recall if the install disks have a program you can run to start the installation, or if they have to be booted.
Does bios require you to restart after changes are made? If not you can change the settings and simply exit. They will stay active until the computer loses power.
Enter the BIOS configuration when the computer first boots. Change the boot order and exit. The computer will now restart with the new settings.
Once linux is installed the default will be c: so your set as long as no other BIOS settings require modification. Of just don't shut the computer off.
Originally posted by michaelk Enter the BIOS configuration when the computer first boots. Change the boot order and exit. The computer will now restart with the new settings.
Actually it doesn't. It restarts with the default settings which are to boot from C and then A.
Originally posted by linuXBOX ...well, why don't you restart windows to msdos. If you have a disk with fdisk on it, you should be able to do you're partioning there. I can't recall if the install disks have a program you can run to start the installation, or if they have to be booted.
That I can do. But what I can't do is format them in the right file system nor start a linux based install program (afterall, it's MSDOS).
Quote:
Does bios require you to restart after changes are made? If not you can change the settings and simply exit. They will stay active until the computer loses power.
It does restart after every change. Annoying but true.
I suppose I could always just eliminate any and all booting information on the hard drive and hope it decides to look at the floppy after failing to boot from the HD. The worst case scenario would be if it just stopped.
The problem is that this computer can't really have a delay in functionality. I can't eliminate Windows 98 and have it sit there until I can get a new battery. People use it for making their resume and finding a job (it's in the computer room of a homeless shelter/drop in).
Because I have never heard of a computer that could not retain BIOS settings during a reboot, even without a battery. Since when you reboot, power isn't really lost to the motherboard.
It is possible that there is a jumper on the motherboard that is set to always load the defaults, or there may be a supervisor password in the BIOS, I have seen a few old systems that would not keep changes made to the BIOS unless you gave it a special password.
Originally posted by MS3FGX You are sure it is the battery, right?
The exact error message is eluding me (bad form for a Linux discussion board, I know) but I do distinctly remember it saying "no power from CMOS battery."
Quote:
Because I have never heard of a computer that could not retain BIOS settings during a reboot, even without a battery. Since when you reboot, power isn't really lost to the motherboard.
It is an older motherboard (it is a very early Pentium 166, Pre MMX) but when I opened the box and reboot, the motherboard light does go out briefly.
Quote:
It is possible that there is a jumper on the motherboard that is set to always load the defaults, or there may be a supervisor password in the BIOS, I have seen a few old systems that would not keep changes made to the BIOS unless you gave it a special password.
It's definitely not from a password (as I made sure there were none set). And the system gives a lovely beep, an error message and stops until you press F1 to ignore the error.
I'll double check things though. I just realised that I might have a battery that might work from another old motherboard that I don't have any other components with which to use it to make another system. If the model numbers of the battery line up, they're probably the same.
A lot of those early pentium mobos (and all 486 and earlier mobos) used 6V ni-cad batteries that were soldered on. They usually look like little blue barrels. Anyway, four AA batteries work fine as a replacement and you can still find holders with the proper mobo connector. Here's one I just found on eBay: http://cgi.ebay.com/ws/eBayISAPI.dll...485754638&rd=1
When those ni-cads die they usually start to leak though... because the mobo is continuously trying to charge it, which causes it to overheat and eventually burst open. Once that happens everything around the battery starts to corrode very badly and the mobo really should be junked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.