-
Is there any way to create a log of all boot-up messages?
When I boot my system, the messages being output from the booting process go past too quickly for really latching onto. It there any way to set up an automatic logging of the messages being printed to screen into a text file for later review? This would be a BIG help for trouble-shooting the installation.
Thanks in advance, for any help with this.
Scruffy
http://scruffyeagle.com
-
All logs are in /var/log/. Have a look at kern.log and syslog.
-
(Newbie difficulties, here.)

Originally Posted by
Markus
All logs are in /var/log/. Have a look at kern.log and syslog.
Thank you for your quick response! I'll check those out as soon as I can.
However, unfortunately, I've developed a bit of an obstacle between me & normal operations,... I ran "kxconfig", and immediately (very next boot) found that I don't get the desktop any more when I boot Linux. Both kernels from the Debian SID bitmap menu, same problem. I suspect that the changes I made in "kxconfig" created a settings conflict.
I changed the video chipset to be the chipset that's actually on the motherboard. (SIS 5597/5598 VGA, for the SIS 5598 chipset.) I changed the monitor type from the generic to become specific as per what I have connected. (ACER 34T). Next time I use my little experimental (learning) installation, I'll try running kxconfig again, and changing things back to the generic - and, see if that fixes it.
In the meantime, the only editor I know of in Linux is the emacs editor. And, I have a bit of a problem with that, too. I can get it to start up & load a file for inspection, and change the contents of the file - even, get it to tell me that it saved the file, but I can't get emacs to do a normal exit back to the command prompt. Use of Ctrl key and/or Alt key in combination with letters doesn't seem to do the trick. If there's a function key that'll do it, I haven't found it yet. Using the mouse for accessing the menu items across the top of the screen isn't an option, because nothing happens when I move (or click) the mouse. I've tried using emacs twice now, and both times I ended up turning off power to the machine as my only remaining means of exiting the program. (That I could come up with, anyway.)
To proceed with inspecting &/or editing, sans access to the GUI's utilities & programs, I need 2 questions answered:
1) Is there any other text editor available to me from the command prompt?
and,
2) How does one exit emacs?
Thanks for your help!
Scruffy
http://scruffyeagle.com
-
First have a look in /etc/X11 if you have a backup of XF86Config-4 which could be named XF86Config-4~. Just look at the dates, if you find if do:
mv /etc/X11/XF86Config-4 /etc/X11/XF86Config-4_TEST
mv /etc/X11/XF86Config-4~ /etc/X11/XF86Config-4
Another solution would be to boot Knoppix CD with the right screen etc.. cheatcodes and copy over the file to your hd-install with:
mv /mnt/hd??/etc/X11/XF86Config-4 /mnt/hd??/etc/X11/XF86Config-4_TEST
mv /etc/X11/XF86Config-4 /mnt/hd??/etc/X11/XF86Config-4
?? means your hd installs device/partition.
To exit emacs: Ctrl-x Ctrl-c http://rgrjr.dyndns.org/emacs/emacs_cheat.html
Another editor would be vi but it's not that much easier, you could also use mc or do apt-get install nano
-
Senior Member
registered user
A very easy to learn editor is the embedded editor in 'mc' - the midnight-commander (F4 to edit a file). It might be run from commandline with 'mcedit'.
bootmessages might be easily viewed with dmesg:
shows them pagewise, with possibility to scroll back.
-

Originally Posted by
Markus
First have a look in /etc/X11 if you have a backup of XF86Config-4 which could be named XF86Config-4~. Just look at the dates, if you find if do:
mv /etc/X11/XF86Config-4 /etc/X11/XF86Config-4_TEST
mv /etc/X11/XF86Config-4~ /etc/X11/XF86Config-4
Another solution would be to boot Knoppix CD with the right screen etc.. cheatcodes and copy over the file to your hd-install with:
mv /mnt/hd??/etc/X11/XF86Config-4 /mnt/hd??/etc/X11/XF86Config-4_TEST
mv /etc/X11/XF86Config-4 /mnt/hd??/etc/X11/XF86Config-4
?? means your hd installs device/partition.
To exit emacs:
Ctrl-x Ctrl-c http://rgrjr.dyndns.org/emacs/emacs_cheat.html
Another editor would be vi but it's not that much easier, you could also use mc or do
apt-get install nano
Thank you for your response! It's possible I've entirely lost the original config file, because I tried resetting the video stuff back to generic - and, if it doesn't make multiple backup copies as per date, then the previous backup copy has been overwritten. Regardless, I'll be attempting what you're advising, during my next session!
Thanks!
Scruffy
http://scruffyeagle.com
-

Originally Posted by
user unknown
A very easy to learn editor is the embedded editor in 'mc' - the midnight-commander (F4 to edit a file). It might be run from commandline with 'mcedit'.
bootmessages might be easily viewed with dmesg:
shows them pagewise, with possibility to scroll back.
Thanks for the advice! I've saved this info, and will try what you recommend during my next session at the machine!
Scruffy
http://scruffyeagle.com
Similar Threads
-
By jodef in forum Hardware & Booting
Replies: 0
Last Post: 06-05-2005, 03:44 AM
-
By Avenger in forum General Support
Replies: 1
Last Post: 01-06-2005, 02:30 PM
-
By yoda54 in forum Customising & Remastering
Replies: 1
Last Post: 07-15-2004, 09:16 PM
-
By brian dorling in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-01-2004, 07:01 PM
-
By schnarff in forum General Support
Replies: 1
Last Post: 05-09-2003, 08:20 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working
$99.99

Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On)
$300.00

Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ
$350.00

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D
$49.29

Atari 400/800 Programming Language Pilot W/ Turtle Graphics COMPLETE
$49.95

Atari XE 130XE Computer NTSC with Power Supply Powers On Untested
$159.95

Atari 520ST Vintage Home Computer Keyboard Unit
$199.97

Gotek USB Floppy Emulator v3.44 OLED (no speaker) Amiga Atari IBM Roland AKAI
$44.00

ATARI HDD Drive ACSI Emulator 520-1040ST/STF/STFM, STE, Mega STE, TT030 acsi2stm
$48.95

VTG Atari 1200XL Home Computer System 1200 XL ** Tested ** Parts or Repair
$323.75