Uncategorized

Log your boot messages

You ever want to see what your server is doing on boot up, but it’s a remote server? You can log the boot messages to a file. I’m a little late to come across this, but it’s still a mighty cool tip. First you need to emerge showconsole.


emerge -v showconsole

Next, we need to edit /etc/conf.d/rc and change this value to ‘yes’.


RC_BOOTLOG="yes"

On your next boot up, it will write to /var/log/boot.msg. Basically everything seen on console (except boot splash) will be written to this file. Very handy if you’re having some boot issues.

You ever want to see what your server is doing on boot up, but it’s a remote server? You can log the boot messages to a file. I’m a little late to come across this, but it’s still a mighty cool tip. First you need to emerge showconsole.


emerge -v showconsole

Next, we need to edit /etc/conf.d/rc and change this value to ‘yes’.


RC_BOOTLOG="yes"

On your next boot up, it will write to /var/log/boot.msg. Basically everything seen on console (except boot splash) will be written to this file. Very handy if you’re having some boot issues.