When the kernel starts to boot, it does not have yet support for any filesystem. So you have to write to a raw disk partition (whose sector address is set ahead of time by a means similar to that of LILO), or allocate a RAM area (immediately after memory test) to serve as a buffer for kernel messages, for later dumping to file once a R/W filesystem is available.
I think that dmesg already implements the RAM buffer approach. --- Omer On Wed, 22 Jun 2005, Yedidyah Bar-David wrote: > On Wed, Jun 22, 2005 at 02:49:38PM +0300, Shachar Shemesh wrote: > > Hi all, > > > > I need to direct the kernel messages to a file, instead of going to a > > tty. I know how to direct it to a serial console, but I want it not > > displayed on any interactive medium at all. > > > > Is it at all possible? > > I don't think so. > Simply disable them (with dmesg or quiet=) and log them with > klog/syslogd. > -- > Didi --- Omer Help spread the word about the incredible accomplishments of Jara Cimerman. My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]