zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Debian activate bootlogd

April 25, 2013 by Igor Drobot 1 Comment

log

At each system restart, userspace messages will be logged to “/var/log/boot”.

This will help to analyse problems on remote systems, like you have a monitor during a boot progress.

Was tested on Debin Wheezy:

1
apt-get install bootlogd

apt-get install bootlogd

After reboot the system will log into /var/log/boot.
There are some ascii sight so we have to make it more human readable:

1
2
3
4
cp /var/log/boot . && sed 
 
<a href="https://zeldor.biz/wp-content/uploads/2013/04/bootlog.png"><img src="https://zeldor.biz/wp-content/uploads/2013/04/bootlog-300x102.png" alt="bootlog" width="300" height="102" class="aligncenter size-medium wp-image-7234"></a>
s/\^\[/\E/g;s/\[1G\[/\[27G\[/' boot

cp /var/log/boot . &amp;&amp; sed <a href="https://zeldor.biz/wp-content/uploads/2013/04/bootlog.png"><img src="https://zeldor.biz/wp-content/uploads/2013/04/bootlog-300x102.png" alt="bootlog" width="300" height="102" class="aligncenter size-medium wp-image-7234"></a> s/\^\[/\E/g;s/\[1G\[/\[27G\[/' boot

bootlog

Filed Under: Linux Tagged With: Bootlogd, Debian, logging

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Comments

  1. Anonymmous says

    February 2, 2017 at 13:16

    bonjour,

    voici les retours que j’ai… est-ce normal:

    cp /var/log/boot . && sed $’s/\^\[/\E/g;s/\[1G\[/\[27G\[/’ boot
    cp: impossible d’ouvrir « /var/log/boot » en lecture: Permission non accordée

    sudo cp /var/log/boot . && sudo sed $’s/\^\[/\E/g;s/\[1G\[/\[27G\[/’ boot
    sed: -e expression n°1, caractère 22: commande `s’ inachevée

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok