Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to find the cause of a boot problem I have tried ls -ltr /var/log from antony@antony which gives me login incorrect can someone tell me what command to use to see what has upset the boot thanks

NB when trying some commands from antony@antony then password I get login incorrect. Is that right?

share|improve this question

2 Answers 2

You can use two log files to view the boot problem.

/var/log/boot.log  ---  System boot log

/var/log/dmesg     ---  print or control the kernel ring buffer
share|improve this answer
    
Hi I keep getting login incorrect or permission denied???? Thanks –  Antony Dec 29 '11 at 15:09
    
can you proivde the log file. –  Mughil Dec 29 '11 at 16:39

To view boot messages...

dmesg

Or to page through the messages...

dmesg | less

And from the manual page:

The program helps users to print out their bootup messages. Instead of copying the messages by hand, the user need only: dmesg > boot.messages and mail the boot.messages file to whoever can debug their problem.

Is that what you are looking for?

share|improve this answer
    
Thanks but from antony@antony I get Login incorrect. –  Antony Dec 29 '11 at 14:20

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.