Results 1 to 3 of 3

Thread: knoppix.sh problems

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    4

    knoppix.sh problems

    I am succefully booting knoppix from a USB key. I have two stranger problems however:

    1. When I boot, if I type "knoppix myconfig=/mnt/uba1" then knoppix succesfully finds the knoppix.sh file on the root of my usb key. If instead I add "myconfig=/mnt/uba1" to the APPEND line of the appropriate syslinux.cfg section, knoppix does NOT see the knoppix.sh file. Why? (I confirmed this by adding the line 'echo "Test" >> /tmp/test.txt" to the knoppix.sh file.

    2. More importantly, even when knoppix.sh does run, it will not start ssh! I added the line '/etc/init.d/ssh start' to the top of the knoppix.sh file. Still, it doesn't seem to run or work. I CAN run this command from a bash shell, and then sshd works great. Why is knoppix.sh not running this line?

    Thanks,
    Mike

  2. #2
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674

    Re: knoppix.sh problems

    Quote Originally Posted by ocgltd
    I am succefully booting knoppix from a USB key. I have two stranger problems however:
    1. When I boot, if I type "knoppix myconfig=/mnt/uba1" then knoppix succesfully finds the knoppix.sh file on the root of my usb key. If instead I add "myconfig=/mnt/uba1" to the APPEND line of the appropriate syslinux.cfg section, knoppix does NOT see the knoppix.sh file. Why? (I confirmed this by adding the line 'echo "Test" >> /tmp/test.txt" to the knoppix.sh file.
    If I remember this right, I think that some (old) version of syslinux have a command line length limitation. Could you try to remove some other cheatcode to verify this ? Grub doesn't have such limitation and can also be used to boot knoppix from a USB dongle.
    Quote Originally Posted by ocgltd
    2. More importantly, even when knoppix.sh does run, it will not start ssh! I added the line '/etc/init.d/ssh start' to the top of the knoppix.sh file. Still, it doesn't seem to run or work. I CAN run this command from a bash shell, and then sshd works great. Why is knoppix.sh not running this line? Thanks, Mike
    The path may not be setup yet at boot time. Try to put the full path of the script in your knoopix.sh or even better cut and paste the whole thing and update the full path where required. You can use "whereis" to figure out the full path of program/scripts,...
    My 2cts, Gilles

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    4
    I'm using the latest syslinux, and I also added the myconfig= cheatcode to the front of the line (so I don't thinks its a line length limitation).

    I already use the full path. Here are the top 3 lines of my knoppix.sh:
    #!/bin/sh
    echo "Running knoppix.sh" >> /tmp/knoppix.sh.txt
    /etc/init.d.ssh start >> /tmp/sshstart.txt

    I didn't know knoppix could boot a usb key! I'll switch once I get this working....

Similar Threads

  1. Problems with apt-get in Knoppix 5.0.1
    By javiergp in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-22-2006, 12:39 PM
  2. Knoppix 4.0 Problems
    By wroseland in forum Hardware & Booting
    Replies: 0
    Last Post: 03-23-2006, 02:10 PM
  3. Knoppix Problems or Hardware Problems
    By mindmeddler2003 in forum General Support
    Replies: 1
    Last Post: 02-03-2004, 07:29 PM
  4. ideq 200s problems and more problems
    By lesshaste in forum General Support
    Replies: 2
    Last Post: 01-09-2004, 05:50 PM
  5. knoppix cd problems
    By pbearseven in forum General Support
    Replies: 3
    Last Post: 10-14-2003, 11:19 AM

Posting Permissions

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


Juniper EX2200-C-12T-2G 12 Port L3 EX2200-C Compact Fanless Switch 1YearWarranty picture

Juniper EX2200-C-12T-2G 12 Port L3 EX2200-C Compact Fanless Switch 1YearWarranty

$195.00



Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty picture

Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty

$195.00



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$40.18



Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch picture

Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch

$89.00



Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P picture

Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P

$299.99



Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture

Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord

$53.99



Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch picture

Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch

$130.00



Juniper QFX5100-48T-AFO   48 100M/1G/10G Base-T 6 QSFP AFO picture

Juniper QFX5100-48T-AFO 48 100M/1G/10G Base-T 6 QSFP AFO

$485.00



Juniper EX2300-48P  PoE+ Switch 48x 1GbE & 4 SFP+/SFP 10G uplinks, Tested picture

Juniper EX2300-48P PoE+ Switch 48x 1GbE & 4 SFP+/SFP 10G uplinks, Tested

$289.00