Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: How to read the Log file of booting sequence when Knoppix can't boot?

  1. #1
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    How to read the Log file of booting sequence when Knoppix can't boot?

    I have a longstanding problem with Knoppix, which does not boot in my HCL laptop. I have tried versions from 5.0.1 to 7.0.4, but none can boot, either from CD/DVD or from hard drive using grub&cheatcode.
    I don't know where it gets stuck.
    Sure, a log file can tell.
    But how to read that log file when the system can't boot? Can these operations be performed in a virtual machine, and is it then possible to read the log file?
    This, I hope, is an interesting question, and I hope, will interest many.
    Last edited by rajibando; 02-08-2013 at 09:36 AM. Reason: minor edit

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    You can try "boot: knoppix vga=0 debug -b 3" from Cannot boot

  3. #3
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Quote Originally Posted by Werner P. Schulz View Post
    You can try "boot: knoppix vga=0 debug -b 3" from Cannot boot
    I will try this and get back ASAP! Thank you for your prompt suggestion, as always.

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Note: Each time the message output stops, you can scroll some lines with "Shift PgUp/PgDown"

  5. #5
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    How to read the Log file of booting sequence when Knoppix can't boot?

    Quote Originally Posted by Werner P. Schulz
    boot: knoppix vga=0 debug -b 3
    ...Each time the message output stops, you can scroll some lines with "Shift PgUp/PgDown"
    I should have written exactly where the script stops. Then the time wasted in above messages would have been saved. I am sorry. The script stops at init 5, just after displaying the Tux in Vitruvian pose. init 6 works, and shuts down the system.

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Read "Cannot boot" first!

    Ok, try "boot: knoppix vga=0 debug -b 3" once more. You'll see messages

    mounting /mnt-system
    /KNOPPIX
    /KNOPPIX-DATA
    /UNIONFS
    symlinks to UNIONFS
    Final DEBUG Shell before starting init
    At this point type
    Code:
    mv /etc/syslog-knoppix.conf /etc/syslog-knoppix.orig
    to enable logging in '/var/log/'. (Caution: us-keyboard!) Proceed with

    exit => Control D => init 5

    Your Knoppix doesn't go on; therefore change with "Strg Alt F2" to the terminal and examine the logs at '/var/log/'. Perhaps you can find what is wrong with starting the GUI.

    In case of HD Install: Don't forget to rename '/etc/syslog-knoppix.orig' to ' /etc/syslog-knoppix.conf'; otherwise your persistent memory has no more free space soon afterwards.
    Last edited by Werner P. Schulz; 03-27-2013 at 05:28 PM.

  7. #7
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    Which of the log files?

    examine the logs at '/var/log/'.
    Which of the log files? there are two, xorg.0.log and pm-powersave.log!
    It should not be xorg.0.log, since graphics is displayed alright! The console kit folder has one file that is readable.
    The cups folder has 3 files that are readable.
    The rest folders are empty.
    I will nevertheless read them and get back. Please bear with me. Thanks/
    Last edited by rajibando; 02-13-2013 at 04:16 PM.

  8. #8
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Greetings, rajibando.

    In Werner's post #6, the mv operation must be done as root to be effective.
    Likewise, later you must restore the file as root.
    If you issue the mv as knoppix and not as root, nothing happens.

    The purpose of the original /etc/syslog-knoppix.conf is to disable most of
    /var/log/ including syslog. Werner's post #6 tells us how to re-enable full
    /var/log/ capability temporarily.

    I expect /var/log/syslog may be what you want.

  9. #9
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    The log file Xorg

    Dear Mr.Schulz,
    I have attached the zipped file for Xorg.0.log.
    http://knoppix.net/forum/attachment....1&d=1360772976
    I hope you could find something there that would be of some help.
    Maybe Nouveau driver is creating some problem?!
    And greetings, Mr.Utu,
    There is no file named /var/log/syslog
    Thank you.
    Attached Files Attached Files
    Last edited by rajibando; 02-13-2013 at 05:38 PM.

  10. #10
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Are there not "messages" and "syslog"? Besides I have daemon.log and kern.log.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco GLC-FE-100FX-RGD 100BASE-FX SFP Transceiver Module picture

Cisco GLC-FE-100FX-RGD 100BASE-FX SFP Transceiver Module

$17.99



Cisco Meraki MA-SFP-1GB-SX 1000BASE-SX SFP Transceiver Module picture

Cisco Meraki MA-SFP-1GB-SX 1000BASE-SX SFP Transceiver Module

$24.99



Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 100m LC MMF picture

Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 100m LC MMF

$68.99



Cisco GLC-FE-100LX 100BASE-LX SFP Transceiver Module picture

Cisco GLC-FE-100LX 100BASE-LX SFP Transceiver Module

$15.59



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02 picture

SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02

$5.00



Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture

Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC

$13.89



Genuine Cisco GLC-TE 30-1475-01 V01 1000BASE-T SFP COPPER RJ-45 100M TRANSCEIVER picture

Genuine Cisco GLC-TE 30-1475-01 V01 1000BASE-T SFP COPPER RJ-45 100M TRANSCEIVER

$11.90



New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module picture

New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module

$49.99



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00