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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC picture

Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC

$19.95



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



TeamGroup 16GB PC4 2666 PC4 21300 DDR4 2666MHz 1.2V CL19 Desktop RAM Memory picture

TeamGroup 16GB PC4 2666 PC4 21300 DDR4 2666MHz 1.2V CL19 Desktop RAM Memory

$27.95



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM

$87.96