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
  •  


Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$836.80



Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX 🍁 picture

Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX 🍁

$182.65



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



Domino Lotus Server 5.0.7 for OS/2 WSeB, RH Linux 6, Solaris, AIX, HP-UX, Win NT picture

Domino Lotus Server 5.0.7 for OS/2 WSeB, RH Linux 6, Solaris, AIX, HP-UX, Win NT

$60.00



Red Hat Enterprise Linux 5 Server - New and Sealed picture

Red Hat Enterprise Linux 5 Server - New and Sealed

$16.99



IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$449.96



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$674.96



8x 240GB SSD 1U Rackmount Deduplication Compression Backup RAID Server X10DRW-iT picture

8x 240GB SSD 1U Rackmount Deduplication Compression Backup RAID Server X10DRW-iT

$499.00



SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License picture

SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License

$249.00