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
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$318.99



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%) picture

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)

$45.00



2TB Seagate Barracuda ST2000DM001 7200RPM SATA 6Gbps 64MB Cache 3.5

2TB Seagate Barracuda ST2000DM001 7200RPM SATA 6Gbps 64MB Cache 3.5" HDD

$39.95



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



Seagate Constellation ES.3 3.5 in Enterprise HDD | ST2000NM0033 picture

Seagate Constellation ES.3 3.5 in Enterprise HDD | ST2000NM0033

$40.00



Seagate ST8000DM004 8TB 3.5

Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested

$149.99