Results 1 to 4 of 4

Thread: Passing arguments to knoppix.sh via boot options

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    3

    Passing arguments to knoppix.sh via boot options

    Hello,

    I would like to make a cluster of knoppix machines, and therefore I've added a client package on my Knoppix CD. An executable in this package is launched via the knoppix.sh script placed at the root of the cdrom, thus it's launched when knoppix starts.

    My problem is that I don't know how to pass arguments at boot time to this script, in order to configure my cluster client.

    Any idea ?

    Thanks !

    PS : sorry for my strange english

  2. #2
    Junior Member
    Join Date
    Jul 2004
    Posts
    3
    Maybe there is a way to initialize environment variables at boot time ?

  3. #3
    Member registered user
    Join Date
    Jun 2004
    Location
    Canada
    Posts
    67
    The linuxrc script gets at the boot command line by setting a shell variable like this:

    CMDLINE="$(cat /proc/cmdline)"

    and in my system at least, the file /proc/cmdline still contains the boot command after the boot is complete so you should be able to use this to do what you need.

    Best Wishes
    Pete

  4. #4
    Junior Member
    Join Date
    Jul 2004
    Posts
    3
    Thanks, I will test that.

Similar Threads

  1. Two Knoppix boot options?
    By kernco in forum Customising & Remastering
    Replies: 4
    Last Post: 04-05-2005, 08:35 AM
  2. How do I enter boot options for knoppix 3.3?
    By knopphead in forum Hardware & Booting
    Replies: 2
    Last Post: 04-25-2004, 08:05 AM
  3. Boot options
    By Tea_Fiend in forum General Support
    Replies: 2
    Last Post: 02-17-2004, 08:03 PM
  4. Knoppix Problems/Boot Options
    By Journey44 in forum General Support
    Replies: 3
    Last Post: 01-27-2004, 05:56 AM
  5. Customize default knoppix boot options(knoppix home=scan etc
    By ktheking in forum Customising & Remastering
    Replies: 3
    Last Post: 03-30-2003, 06:52 PM

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 IDE Removable Hard Drive Mobile Rack 5.25 Bay 50-Pin Tray + Maxtor 40GB picture

Vintage IDE Removable Hard Drive Mobile Rack 5.25 Bay 50-Pin Tray + Maxtor 40GB

$49.99



Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1 picture

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1

$250.00



Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New picture

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New

$75.00



🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP picture

🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP

$299.99



Vintage Apple Pro Keyboard USB Mac M7803 **Used in box picture

Vintage Apple Pro Keyboard USB Mac M7803 **Used in box

$75.00



Vintage IBM Model M Keyboard 1391401 Buckling Spring PS/2 Keyboard 1988 picture

Vintage IBM Model M Keyboard 1391401 Buckling Spring PS/2 Keyboard 1988

$200.00



Apple Macintosh Classic M1420 Vintage Desktop Computer Model Macintosh Classic picture

Apple Macintosh Classic M1420 Vintage Desktop Computer Model Macintosh Classic

$100.00



Vintage Apple Keyboard II Model M0487 & G5431 Mouse UNTESTED AS-IS picture

Vintage Apple Keyboard II Model M0487 & G5431 Mouse UNTESTED AS-IS

$59.99



Vintage Microsoft Visual Studio.NET Professional Software suite Version 2002 New picture

Vintage Microsoft Visual Studio.NET Professional Software suite Version 2002 New

$82.00



Vintage Hewlett Packard HP 13181-60074 Circuit Card Assembly / Interface Board. picture

Vintage Hewlett Packard HP 13181-60074 Circuit Card Assembly / Interface Board.

$135.37