I am trying to get linux installed on an older laptop. Some of the time it starts up and runs just fine. But most attempts of at starting the laptop gets through BIOS and starts linux. Then during the time when /dev is being populated the laptop abruptly powers off.
I do not have any information about what is going wrong on the failed startups. Is there a way to get some logging information out of one of these failed startup attempts? Is there some other troubleshooting technique I should be using?
asked 09 Jun '10, 15:34
You can look at the logs stored in /var/log
You can also dmesg item | less
Such as for example: dmesg eth0 | less
There are many different logs, ways of viewing them, etc. You can also try from the top panel menu in Gnome: System > Administration > Log File Viewer -- and look there.
The above suggestions are just the starting point, not all-inclusive.
This may also be of interest to you as well: http://www.linux-mag.com/id/7789
Ron gave you an excellent first-order answer. Every user should know to go to /var/log or dmesg as a first line of defense. All those messages that go by too fast when you boot a Linux machine can be seen by looking at dmesg.
Another diagnostic worth knowing about is lshw. Gives great detail on every component of your system if you think you might have some issue with some of your chipsets. (lshw is generally not installed by default, but is definitely in the Debian & Ubuntu repositories, and almost certainly is available for other major distros as well.)
Your problem is going to be difficult to solve given what you've said so far. Maybe you'll be lucky and find some helpful error messages in dmesg.
Frankly, it sounds like hardware ... possibly as simple as a battery approaching end of life. If your laptop is fully charged and you boot it -- does it go all the way? Does it matter if the adapter is plugged in too?
answered 15 Jun '10, 06:53