LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2005, 04:56 PM   #1
ocgltd
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 56

Rep: Reputation: 15
KNOPPIX: knoppix.sh problems


I am succefully booting knoppix from a USB key. I have two strange 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
 
Old 10-12-2005, 11:19 AM   #2
free_ouyo
Member
 
Registered: Mar 2004
Location: Belgium
Distribution: Ubuntu
Posts: 133

Rep: Reputation: 15
KNOPPIX: knoppix.sh problems

Hello,

I'm not sure of the answer but I think :
when knoppix.sh is used, the full env is not loaded when knoppix.sh is running. This may leed to some problems to run some commands correctly.
--
free_ouyo
 
Old 10-12-2005, 01:19 PM   #3
mstahl
LQ Newbie
 
Registered: Jul 2005
Posts: 10

Rep: Reputation: 0
Solved both problems:

1. A typo in the ssh line prevented starting

2. It appears that a bug in syslinux/knoppix causes it to ignore the myconfig= parameter if at the START of the line, but ok at the end
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i got knoppix on cd and it rocks when booted! wut can i do to install knoppix on HD? kublador Linux - Distributions 4 12-12-2005 05:08 PM
KNOPPIX 3.8.1 Problem with knoppix-installer Wireless-G-DSL Debian 4 04-13-2005 06:03 PM
Knoppix Problems. rvijay Linux - Distributions 1 12-14-2004 07:30 AM
How does one remove the custom KNOPPIX graphics from a KNOPPIX HD Install? apache363 Linux - Distributions 2 03-29-2004 06:08 AM
2 problems I'm having with Knoppix 3.2... moistTowelette Linux - Software 3 09-30-2003 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration