Welcome, Guest. Please login or register.
April 24, 2014, 00:41:11 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  General
| |-+  General topics
| | |-+  How do I copy console text and save it from console without GUI [solved]
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: How do I copy console text and save it from console without GUI [solved]  (Read 631 times)
Pardus Guru
Posts: 841

View Profile
« on: September 02, 2009, 19:40:18 PM »

Hi all,

I would like to help give more information (maybe I give too much  Grin ) concerning my problem with the latest kernel upgrade and nouveau xorg module problem so I can give dmesg output to debugging team.  Right now, when I boot into new kernel, when it gets to blank screen with blinking cursor I can hit Alt+F2 and get to a console to login.  I can enter "dmesg"  and it gives output, but I don't know how to copy and save it as a file to my home folder, such as my desktop.  

I did some searching, and it is said that you use  Ctrl + Insert to copy and Shift + Insert to paste, but no mention on where this is being pasted to, such as kwrite.   If you are wondering why I would want to save it to desktop, it is because I can later boot into the latest kernel  and it brings me to login screen.  I do this by booting into default kernel, kdesu kwrite to /boot/grub/menu.lst and edit it, adding "nouveau.modeset=1" to boot splash  line.  Graphics is distorted prior to log in screen, but I eventually get to the normal log in screen.   Then I can see my saved console output and go online and share it.  Does this make sense?  

Regards, Lisa Marie
« Last Edit: September 02, 2009, 20:41:51 PM by Lisa » Logged
Pardus Guru
Posts: 841

View Profile
« Reply #1 on: September 02, 2009, 20:47:23 PM »

Yes, I probably made no sense.   Cheesy  Doing things the hard way.  

I just messed around with shift + insert or whatever those commands are, and it didn't do anything.  Then the light turned on and I enetered "man dmesg" and it tells you how to do it:

"Instead of copying messages by hand the user need only
dmesg  > boot.messages
and mail the boot.messages file to whoever can debug their problem."

I also added -r
dmesg > boot.messages -r
to get all the output.  I logged out of the console from that kernel, logged back into my default kernel, and hurray, there is a boot.messages text file in my home folder to share.

Lisa Marie
« Last Edit: September 02, 2009, 21:05:56 PM by Michiel » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!