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
  •  


Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$100.00



Samsung 1TB SSD BM91H 1TB (MZ-VMA1T00) Internal SSD M.2 picture

Samsung 1TB SSD BM91H 1TB (MZ-VMA1T00) Internal SSD M.2

$135.00



LOT OF 5 Samsung 870 EVO 500GB 2.5

LOT OF 5 Samsung 870 EVO 500GB 2.5" SATA SSD TLC DRAM 95% or Better

$250.00



Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$119.99



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -

$36.99



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Western Digital Blue 3D NAND 500GB Internal 2.5

Western Digital Blue 3D NAND 500GB Internal 2.5" SSD - WDS500G2B0A

$49.99



Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop picture

Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop

$221.00