Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Installing Ubuntu on Laptop without Batteries fails

  1. #1
    Join Date
    Jul 2010
    Beans
    14

    Installing Ubuntu on Laptop without Batteries fails

    I recently received an old laptop from a friend which I want to use for my kids. The battery was thrown away because it did not work anymore. However, I plan to use it connected to power all the times.

    Problem: When installing Precise (FYI it is a 64bit alternate CD I am using), at some point during software installation, the laptop switches itself off. Needless to say the installation is not runnable afterwards.

    My theory is that at some point the installer is doing a battery test or something similar. Without a battery being there, the laptop just turns off. This happens as well in expert mode, I couldn't find an option to change that behavior.

    So here my questions:
    - Is there really a battery test happening and causes my problem?
    - If Yes, it there a way to avoid that test e.g. by telling the installer this is kind of a PC and not a laptop?

    Thanks for your help

  2. #2
    Join Date
    Jul 2010
    Beans
    14

    Re: Installing Ubuntu on Laptop without Batteries fails

    No ideas?

  3. #3
    Join Date
    Oct 2011
    Beans
    16

    Re: Installing Ubuntu on Laptop without Batteries fails

    You say that it is an old laptop. Are you sure it is 64 bit?

  4. #4
    Join Date
    Jul 2010
    Beans
    14

    Unhappy Re: Installing Ubuntu on Laptop without Batteries fails

    Quote Originally Posted by spideryada View Post
    You say that it is an old laptop. Are you sure it is 64 bit?
    A valid point - although it is not that old, its a Lenovo N500 bought in 2008.

    Anyway I just tested again with Ubuntu 12.04.1 i386 Live CD. The Live System starts without problem, then installation prompts for all the details, but later on, during "installing the system", like with the alternate installer, it switches itself off.

    Really annoying, as the hardware seems great to run Ubuntu on it.

    How can I tell the installer there is no battery?
    Last edited by mupi_foerster; November 5th, 2012 at 04:26 PM. Reason: inserted quote

  5. #5
    Join Date
    Jan 2010
    Location
    Hyperborea
    Beans
    2,045
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Installing Ubuntu on Laptop without Batteries fails

    You will probably save a lot of time if you just buy a battery for it. I've just checked on ebay, you can get one for £15, deduct it from the kid's pocket money

  6. #6
    Join Date
    Nov 2009
    Beans
    257

    Re: Installing Ubuntu on Laptop without Batteries fails

    How secure is the power cable? As the laptop has no battery it is relying on an AC supply being present all the time, should the power cable become loose there will be no power and the laptop will switch off.

    Also just because the laptop was made in 2008 does not mean that it uses 64 bit architecture. It is possible to install software compiled for 64 bit pc's on a 32 bit pc but you will probably get issues sometime.

    But it could also be the type of hardware installed that is causing the problem. I have a Dell Inspiron 6400 that I have never had a problem installing any of the *buntu's on but others have had issues installing on other makes of laptop. Not all laptops are created equal.

    First of all I would check that the power cable is seated securely and also buy another (cheaper model) battery for that laptop.

  7. #7
    Join Date
    Jul 2010
    Beans
    14

    Re: Installing Ubuntu on Laptop without Batteries fails

    Quote Originally Posted by Linux_junkie View Post
    How secure is the power cable? As the laptop has no battery it is relying on an AC supply being present all the time, should the power cable become loose there will be no power and the laptop will switch off.

    Also just because the laptop was made in 2008 does not mean that it uses 64 bit architecture. It is possible to install software compiled for 64 bit pc's on a 32 bit pc but you will probably get issues sometime.

    But it could also be the type of hardware installed that is causing the problem. I have a Dell Inspiron 6400 that I have never had a problem installing any of the *buntu's on but others have had issues installing on other makes of laptop. Not all laptops are created equal.

    First of all I would check that the power cable is seated securely and also buy another (cheaper model) battery for that laptop.
    Thanks for the input. As I have mentioned above, prompted by spideryada, I tried now as well with an i386 Precise CD - same result.
    Naturally, the laptop is dependent on (uninterrupted) AC Power - just like a Desktop PC is as well. The cable is well, and I'm sure it is not a problem with the power supply - the installation reproducibly powers off the system at the same point.
    As to the hardware, the live system is running without any problems.
    I tried to find a BIOS setting regarding the battery (something must tell the installer that this is a system with a battery, after all), but failed to find one.

    Buying a new battery seems a sensible idea, but I won't be able to do that for months as I am sitting in a developing country, sending parcels overseas is difficult and I'm not sure i can find one locally...and anyway, I would only use it for installation.

    I hoped I could find some switch to tell the installer to ignore all battery-related installation steps.

  8. #8
    Join Date
    Jan 2010
    Location
    Hyperborea
    Beans
    2,045
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Installing Ubuntu on Laptop without Batteries fails

    I am sitting in a developing country,
    Could it be spikes or fluctuations in the AC power that causes this?
    Without the battery even a brief loss of power will switch off the laptop.
    Can you try doing the install somewhere where there is a UPS?

  9. #9
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Installing Ubuntu on Laptop without Batteries fails

    Since Ubuntu (and Linux in general) can adapt itself to hardware change, you may try clonezilla to restore a preinstalled system image on a pre-allocated partition of the laptop. No hardware probing (beyond running clonezilla live) = no problems ! (at least not during 'restoration').

    You may create this image on a different system or on a virtual machine. Just make sure the source partition, which you are creating the image of, is either equal or smaller than the target partition on the laptop, else the restoration will fail (limitation of clonezilla).

    A bit lengthy, but easy and more promising way to go, especially when we are not sure if the problem is indeed the battery or something else.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  10. #10
    Join Date
    Jul 2010
    Beans
    14

    Re: Installing Ubuntu on Laptop without Batteries fails

    Quote Originally Posted by varunendra View Post
    Since Ubuntu (and Linux in general) can adapt itself to hardware change, you may try clonezilla to restore a preinstalled system image on a pre-allocated partition of the laptop. No hardware probing (beyond running clonezilla live) = no problems ! (at least not during 'restoration').

    You may create this image on a different system or on a virtual machine. Just make sure the source partition, which you are creating the image of, is either equal or smaller than the target partition on the laptop, else the restoration will fail (limitation of clonezilla).

    A bit lengthy, but easy and more promising way to go, especially when we are not sure if the problem is indeed the battery or something else.
    Thanks, a great idea! will test that soon and write about the result.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •