Jerry McBride wrote:

No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you put this in /etc/conf.d/local.start:

#!/bin/bash
# /etc/conf.d/local.start
/bin/dmesg > /var/log/dmesg

FYI, the bootmisc init script already does this for you, or at least it does with the ~x86 baselayout. Just "rc-update -a bootmisc boot" if it isn't already turned on.

Also, syslog-ng will dump the kernel log to /var/log/messages when it starts up. I don't know about other loggers, but they should do something similar.

Of course, none of that helps you if your root filesystem doesn't mount!

-Richard

--
gentoo-user@gentoo.org mailing list

Reply via email to