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
  •  


16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



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

$21.68



Samsung 16GB (2x8GB) DDR5 4800MHz PC5-4800B Laptop RAM SODIMM picture

Samsung 16GB (2x8GB) DDR5 4800MHz PC5-4800B Laptop RAM SODIMM

$250.00



Crucial 32GB(4 x 8GB) CT8G4DFS824A.C8FDD1 DDR4-2400 UDIMM Desktop RAM - CR352A picture

Crucial 32GB(4 x 8GB) CT8G4DFS824A.C8FDD1 DDR4-2400 UDIMM Desktop RAM - CR352A

$89.95



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



Lot 500 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Registered Server Memory RAM picture

Lot 500 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Registered Server Memory RAM

$47988.00



TeamGroup T-FORCE VULCAN Z 16GB (2 x 8GB) DDR4 3000Mz (PC4 24000) Desktop Memory picture

TeamGroup T-FORCE VULCAN Z 16GB (2 x 8GB) DDR4 3000Mz (PC4 24000) Desktop Memory

$188.00



Lot of 5 - Mixed Brands 40GB (5x8GB) DDR4-2666 PC4-21300 SO-DIMM 260-Pin Non-ECC picture

Lot of 5 - Mixed Brands 40GB (5x8GB) DDR4-2666 PC4-21300 SO-DIMM 260-Pin Non-ECC

$150.00