Results 1 to 7 of 7

Thread: Is there any way to create a log of all boot-up messages?

  1. #1
    Member registered user
    Join Date
    Jun 2004
    Location
    U.P., MI, USA
    Posts
    35

    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

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    All logs are in /var/log/. Have a look at kern.log and syslog.

  3. #3
    Member registered user
    Join Date
    Jun 2004
    Location
    U.P., MI, USA
    Posts
    35

    (Newbie difficulties, here.)

    Quote 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

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    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:
    Code:
    dmesg | less
    shows them pagewise, with possibility to scroll back.

  6. #6
    Member registered user
    Join Date
    Jun 2004
    Location
    U.P., MI, USA
    Posts
    35
    Quote 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

  7. #7
    Member registered user
    Join Date
    Jun 2004
    Location
    U.P., MI, USA
    Posts
    35
    Quote 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:
    Code:
    dmesg | less
    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

  1. Logging boot messages
    By jodef in forum Hardware & Booting
    Replies: 0
    Last Post: 06-05-2005, 03:44 AM
  2. Help Knoppix boot messages
    By Avenger in forum General Support
    Replies: 1
    Last Post: 01-06-2005, 02:30 PM
  3. Custom F2/F3 boot messages
    By yoda54 in forum Customising & Remastering
    Replies: 1
    Last Post: 07-15-2004, 09:16 PM
  4. /var/log/messages nearly empty, missing INIT script messages
    By brian dorling in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-01-2004, 07:01 PM
  5. Boot Messages
    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
  •  


INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU

$11.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$350.48



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km picture

Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km

$15.99



Intel Xeon E5-2699 v3 18 Core 2.3 GHz 45MB SR1XD LGA 2011-3 B Grade picture

Intel Xeon E5-2699 v3 18 Core 2.3 GHz 45MB SR1XD LGA 2011-3 B Grade

$15.95



DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11 picture

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11

$149.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98