Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My 12.04 system hangs at "Checking battery state". At this stage, no commands work eg: Ctrl+Alt+f1, or Alt+f5.

I ran recovery mode, and ran the following commands:

sudo mount -o remount, rw /
sudo dpkg-reconfigure gdm

gdm was the only display manager installed, so I didn't get a GUI screen. I have an integrated graphics card "Intel Corporation Mobile 4 chipset Integrated Graphics Controller (rev 07)".

So I cannot install Nvidia drivers as everyone else suggests. I have gone through several similar questions but everyone suggests reconfiguring gdm or reinstalling graphic drivers.

I ran the following commands to get the latest x-swat drivers:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get upgrade

The system still hung at the same line.

The other option is to re-install Ubuntu, which is out of the question, since we have a very specific install for our project where the settings are very hard to duplicate.

Suggestions/Comments welcome.

share|improve this question
I could not answer the question myself, as I am a new user, so I added the comment. – crystalbass17 Oct 24 '12 at 12:50

3 Answers

Answer from the OP:

We installed lightdm and it showed similar behavior, i.e. it halted at a certain step.

However, then it was possible to press ctrlaltF1 and then login. The problem that there was the existence of /etc/init/lightdm.override. Inside the file was the word manual.

This was how it was present on install of lightdm, and then running 'sudo dpkg reconfigure lightdm'. Upon removing this file the system went to the login screen with no problems!

share|improve this answer

I have had this problem for more than 8 months now; it put me off using Ubuntu because the solutions never worked for all scenarios. I use a Lenovo x301.

The only solution I've found that seems to fix across all scenarios is the one below. It basically argues that the 'checking battery state' freeze is caused by broken dependencies:

After Upgrading to 12.04 I can't get to the login screen

The command below will fix the dependencies:

sudo apt-get -f install

This often does not succeed because of parsing errors in one of the files. The post below identifies the files that need editing.

I recommend using nano to edit the files

sudo nano filename

This link will show you how to use nano: How to edit files in a terminal with nano?

So from the top:

  1. Ctrl+Alt+F1 when stuck at cheking battery state
  2. Login
  3. sudo apt-get -f install
  4. If not successful use nano to edit where the parsing errors are (example below is most common):

    sudo nano /var/lib/dpkg/status

share|improve this answer

A solution is available here

http://ubuntuforums.org/showthread.php?t=1606130

Display manager was looking for gdm instead of lightdm.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.