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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



HP Hard Drive Cage w/ Backplane 670078-001 picture

HP Hard Drive Cage w/ Backplane 670078-001

$233.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



Seagate Exos X20 16TB 7.2K 256MB 3.5

Seagate Exos X20 16TB 7.2K 256MB 3.5" SATA 6Gb/s Enterprise HDD - ST16000NM000D

$139.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.53



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$28.49