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

3 Answers 3

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

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

If it's not installed by default:

apt-get install bootlogd

Then make sure /etc/default/bootlogd has BOOTLOGD_ENABLE=Yes.

share|improve this answer
    
Please do not kick old unsupported releases with an answer that is already provided. Besides that: is IS installed by default, it is not enabled by default. –  Rinzwind May 5 at 12:14
    
It was not installed by default on Ubuntu server 15.04 on 14.10 desktop. That's the reason I kicked this conversation. I meant to say "if it's not installed by default" - just saw my typo and edited my answer. –  VincentSC May 5 at 12:19
    
This is about 10.04.4 and 11.10. Back then things where different. –  Rinzwind May 5 at 12:21
    
@Rinzwind Not inistalled by default in 15.04. –  A.B. May 5 at 12:22
    
This is a question specific to an old release of Ubuntu, so please edit your answer and improve it, and leave me a note @Fabby so I'll come and remove the negative reputation points you've now accrued. Alternatively, [delete] the answer entirely and the negative points will reverse as well. (I do the same with answers that give me negative rep.) –  Fabby May 5 at 12:28

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.