1 |
On Mon, Jul 05, 2010 at 09:16:14AM -0700, Mark Knecht wrote: |
2 |
> I'm trying to capture the full boot log when booting from the Gentoo |
3 |
> install CD but it seems the buffer isn't deep enough to get the whole |
4 |
> thing. Is there by chance a command line option that will increase the |
5 |
> depth of what's captured by dmesg so that I can get all the way back |
6 |
> to the beginning? |
7 |
|
8 |
pass the following parameter to the kernel on GRUB/LILO: |
9 |
|
10 |
log_buf_len=n |
11 |
|
12 |
where n is a power of two. By default it is 16384. You can change it |
13 |
to 131072 (= 2^17) to get a much larger kernel log ring buffer. If you |
14 |
put in something that is not a power of two, the kernel will ignore |
15 |
the option. |
16 |
|
17 |
You may also have to pass an additional parameter to dmesg to read the |
18 |
early messages: look at 'man dmesg' and the -s flag. |
19 |
|
20 |
Cheers, |
21 |
|
22 |
W |
23 |
-- |
24 |
Willie W. Wong wwong@××××××××××××××.edu |
25 |
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire |
26 |
et vice versa ~~~ I. Newton |