Enter your email address:

Delivered by FeedBurner

Checking the boot messages on Debian


StumbleUpon Toolbar

Console logo

Sometimes when a machine is booting up with Linux Operating System, some errors appears on the console while booting up, but they just pass too fast for one to read them. Therefore you need look at those messages somewhere else.

If you are using Debian, you can enable boot logging so all the messages send to console while booting will also be sent to a file that you can later examine.

Note for Ubuntu: Since Feisty, it seems that do not include bootlogd anymore, and the boot messages are now copied to: //var/log/dmesg from kernel's ring buffer, the script that does this is: /etc/init.d/bootmisc.sh

To enable this behavior which is off by default edit the file:

/etc/default/bootlogd

The default content of this file is:

# Run bootlogd at startup ?
BOOTLOGD_ENABLE=No

just change the No to Yes and the bootlogd command will start sending all messages to a file, which by default is: /var/log/boot.

You can also check /var/log/dmesg on Debian, or use the dmesg command, when using this command use also grep, to filter the output.

Trackback URL for this post:

http://www.go2linux.org/trackback/372
StumbleUpon Toolbar

 If you like this article, subscribe to our full rss

If this article was somehow useful for you, you can leave something in the tip's jar

Please post your question in our forum and use comments only to leave your comments about the article, thanks.

Thanks! I've been looking

Thanks! I've been looking for this. I didn't understand why my /var/log/boot was empty.

You are

You are welcome!
greetings,

Guillermo Garron

Thanks a million, was

Thanks a million, was needing to see the /var/log/boot urgently but it wasn't there.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

This site is proudly hosted at Bluefur Hosting