-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shawn wrote:

| I'm planning on compiling a kernel tonight.  This is my second
| attempt at doing so, last time having completely botched it.  This
| is an older box, so if I mess it up, I'm not too worried.
|
| I'm curious as to how to get the current kernel parameters?  I
| tried to do a strings against vmlinuz, but the output is pretty
| crappy.  I'd like to have this information for comparisons.  I'm
| not puling a new kernel down, just want to modify options within
| this one to optimize it (CPU, network, SCSI, etc...) and see if I
| can recompile a kernel successfuly this time.
|
| I've got the steps to do it, but just now sure of how to get the
| current kernel info now.  If I do a lsmod, it only shows the
| modules loaded.
|
You can check your /boot filesystem for a config file of the current
kernel and just copy it to your top-level build directory as .config.
Newer kernels allow you to build this into the kernel itself as well.
You can get the info by reading /proc/config.gz (this only works if
the kernel was, in fact, built with this enabled).

- --
The Wandering Dru             GnuPG Key: 0x506A915F
http://www.druswanderings.net

Get nifty TCLUG merchandise at the TCLUG Store!
http://www.cafeshops.com/tclug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFANXxliwhv4FBqkV8RAjPEAKC0xBP+7OR7k/8L9kKk1pt0kglm7gCfU/4E
eShLSsULbk0MqN2JKqwrrMI=
=6IEq
-----END PGP SIGNATURE-----


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list