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 2901/K9-V06 Integrated Services Gigabit Voice Router picture

Cisco 2901/K9-V06 Integrated Services Gigabit Voice Router

$69.99



Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E picture

Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E

$55.99



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$83.00



Cisco Catalyst 3850 48 PoE+ 48-Port Gigabit Managed Switch WS-C3850-48F-E picture

Cisco Catalyst 3850 48 PoE+ 48-Port Gigabit Managed Switch WS-C3850-48F-E

$150.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$38.99



Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch picture

Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch

$34.00



Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS picture

Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS

$99.99



Cisco CBS350-24FP-4G 28 Port PoE Managed Ethernet Switch picture

Cisco CBS350-24FP-4G 28 Port PoE Managed Ethernet Switch

$319.99



Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested picture

Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested

$799.99



UNCLAIMED Cisco Meraki MS120-24P-HW - 24Ports Ethernet PoE Switch  Same Day Ship picture

UNCLAIMED Cisco Meraki MS120-24P-HW - 24Ports Ethernet PoE Switch Same Day Ship

$315.00