Gentoo Archives: gentoo-user

From: Jerry McBride <mcbrides9@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dmesg for Previous Boot?
Date: Tue, 18 Oct 2005 00:13:48
Message-Id: 200510180010.02514.mcbrides9@comcast.net
In Reply to: Re: [gentoo-user] Dmesg for Previous Boot? by Christoph Gysin
1 On Monday 17 October 2005 13:18, Christoph Gysin wrote:
2 > Jerry McBride wrote:
3 > > No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you
4 > > put this in /etc/conf.d/local.start:
5 > >
6 > > #!/bin/bash
7 > > # /etc/conf.d/local.start
8 > > /bin/dmesg > /var/log/dmesg
9 > >
10 > > Then you will at the least have a log of the current dmesg, which could
11 > > be rotated.
12 >
13 > Yes that would be possible. But since the OP's kernel doesn't even boot up,
14 > it's not an option.
15 >
16
17 He was asking how to see the previous dmesg output.... this would do it on
18 future boot ups...
19
20
21
22
23 > With baselayout 1.12.0 there will be an option in /etc/rc.conf called
24 > RC_BOOTLOG="yes" to enable saving kernel output to /var/log *after* a
25 > successful boot.
26 >
27 > Christoph
28 > --
29 > echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
30
31 --
32
33 ******************************************************************************
34 Registered Linux User Number 185956
35 FSF Associate Member number 2340 since 05/20/2004
36 Join me in chat at #linux-users on irc.freenode.net
37 Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
38 8:15pm up 29 days, 10:40, 1 user, load average: 0.05, 0.07, 0.08
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Dmesg for Previous Boot? Christoph Gysin <cgysin@×××.ch>