Results 1 to 3 of 3

Thread: knoppix.sh problems

Hybrid View

  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
  •  


Vintage APPLE Computer Keyboard M0110 and Mouse LOT M0100 & Desktop Bus picture

Vintage APPLE Computer Keyboard M0110 and Mouse LOT M0100 & Desktop Bus

$129.00



Apple  Mac OS9 Cloth Banner Think Different 64 x 24 inches NEW ORIGINAL Vintage picture

Apple Mac OS9 Cloth Banner Think Different 64 x 24 inches NEW ORIGINAL Vintage

$99.99



Vintage Apple Macintosh IIsi Computer, Monitor, Keyboard & Mouse Complete Setup picture

Vintage Apple Macintosh IIsi Computer, Monitor, Keyboard & Mouse Complete Setup

$199.99



Apple II DOS Programmer's Manual 030-0536-A 1982 Factory Sealed Vintage picture

Apple II DOS Programmer's Manual 030-0536-A 1982 Factory Sealed Vintage

$64.99



Apple IIc Home Computer Vintage Model A2S4100 Retro Computer Untested picture

Apple IIc Home Computer Vintage Model A2S4100 Retro Computer Untested

$149.00



Apple II ProDOS User's Manual & IIe Supplement Factory Sealed Vintage picture

Apple II ProDOS User's Manual & IIe Supplement Factory Sealed Vintage

$79.99



VINTAGE Apple PowerBook G3 Lombard M5343 400MHz 192MB Working Mac OS X Bundle picture

VINTAGE Apple PowerBook G3 Lombard M5343 400MHz 192MB Working Mac OS X Bundle

$299.00



Vintage Apple I 6502A CPU:  Kim 1, Pet, = (Synertek MOS), Unused, gold Ceramic picture

Vintage Apple I 6502A CPU: Kim 1, Pet, = (Synertek MOS), Unused, gold Ceramic

$299.99



Vintage Apple Macintosh M0110 Keyboard with Coiled Cable & M0100 Mouse Bundle picture

Vintage Apple Macintosh M0110 Keyboard with Coiled Cable & M0100 Mouse Bundle

$180.00



Apple cloth fabric banner iBook tangerine orange New Old Stock Vintage picture

Apple cloth fabric banner iBook tangerine orange New Old Stock Vintage

$99.00