hi:) When kernel booting,there are a serial log printed on the screen, like this: Initial network ... can I redirect these logs into a logfile?How can I do ? Thanks!
1. Look in /var/log for dmesg, kernel.log or kmsg. These files cn be created by syslog and one of them might contain this information. 2. Use dmesg command and grep it like this: dmesg | grep "Initial Network"
myfile.txt 4 lut 2013 09:25, "horseriver" <horserivers@gmail.com> napisał(a):
hi:)
When kernel booting,there are a serial log printed on the screen, like this: Initial network ... can I redirect these logs into a logfile?How can I do ?
Thanks!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Mon, Feb 04, 2013 at 09:41:51AM +0100, Grzegorz Dwornicki wrote:
1. Look in /var/log for dmesg, kernel.log or kmsg. These files cn be created by syslog and one of them might contain this information.
2. Use dmesg command and grep it like this: dmesg | grep "Initial Network"
myfile.txt
Thanks! If I booting from bochs ,can I redirect these logs to the host OS?
4 lut 2013 09:25, "horseriver" <horserivers@gmail.com> napisał(a):
hi:)
When kernel booting,there are a serial log printed on the screen, like this: Initial network ... can I redirect these logs into a logfile?How can I do ?
Thanks!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I have seen articles about using console port to redirect kernel messages from VM to host. You may want to look for details in google. I don't remeber the ugly details... 4 lut 2013 11:38, "horseriver" <horserivers@gmail.com> napisał(a):
On Mon, Feb 04, 2013 at 09:41:51AM +0100, Grzegorz Dwornicki wrote:
1. Look in /var/log for dmesg, kernel.log or kmsg. These files cn be created by syslog and one of them might contain this information.
2. Use dmesg command and grep it like this: dmesg | grep "Initial Network"
myfile.txt
Thanks! If I booting from bochs ,can I redirect these logs to the host OS?
4 lut 2013 09:25, "horseriver" <horserivers@gmail.com> napisał(a):
hi:)
When kernel booting,there are a serial log printed on the screen, like this: Initial network ... can I redirect these logs into a logfile?How can I do ?
Thanks!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
Grzegorz Dwornicki -
horseriver