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.

Why does Ubuntu 10.04.4 and 11.10 create the file /var/log/boot and does not fill it except with the text: "(Nothing has been logged yet.)"?

share|improve this question
    
Thank you very much for your comprehensive and convincing answer. –  user43816 May 22 '12 at 6:07
    
If an answer solves your question, please mark it as accepted. –  Lekensteyn Jun 11 '12 at 17:53
add comment

2 Answers 2

You need to enable boot logging by opening a terminal and typing the following:

$ sudo gedit /etc/default/bootlogd

The text editor will open, and the following will be show:

BOOTLOGD_ENABLE=No

Change BOOTLOGD_ENABLE to yes

Now, everytime you restart, /var/log/boot will be created, and it will contain a log of all your boot messages. You need to be root to open it, so you can easily open it up again with sudo.

source: http://ubuntuforums.org/showthread.php?t=49925

share|improve this answer
    
Could you expand your answer to include some of the tips found in that forum post? That would make this answer more useful. –  James Henstridge Apr 17 '12 at 1:56
add comment

The reason it is empty is that bootlogd is disabled by default.

If you wish to see boot messages in the log you need to enable it.

Do Alt+F2 to open Run Dialogue

enter image description here

Then Change

BOOTLOGD_ENABLE=No

to

BOOTLOGD_ENABLE=Yes

Save and exit gedit.

This is what it looks like here - decide if the information is important to you and enable if you wish.

enter image description here

share|improve this answer
add comment

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.