Results 1 to 4 of 4

Thread: knoppix.sh autoscan or something better!

  1. #1

    knoppix.sh autoscan or something better!

    I'm relatively new to Knoppix. Long-time linux user, though--primarily Mandrake/Mandriva and recently ubuntu.

    I've searched the forums and see that an obvious function must be missing! People have requested, for example, a way to remember boot options/cheatcodes. The advice is change the boot configuration (if starting from a floppy/pen drive, etc.) or remaster. It's not necessarily convenient to do the former because it may necessitate using a floppy+a CD instead of a CD alone. And it's like using a howitzer to kill a fly to remaster for that purpose alone.

    What seems to be missing is, just as Knoppix automagically scans and uses swap space, it should have a set path of places to look by default for configuration overrides, cheatcodes, and a post-configuration shell script, perhaps named knoppix.sh or perhaps something more esoteric.

    If there is reluctance to have the possibility of data on a questionable disk influence knoppix during boot, then there can be additional cheatcodes to suppress the search behavior, just as there is a noswap option to preserve the potential for forensic analysis of swap partitions.

  2. #2
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205
    You should check the "myconf=scan" boot-option. It will scan for knoppix.sh file, and if found will execute it during booting.
    This is just the "post-configuration shell script" you are asking for.

    You can use this with "KMenu->KNOPPIX->Configure->Save KNOPPIX configuration" to save & reload configuration files.

    You can't use this to save boot-options, as that's non-trivial to implement, if it's at all possible.
    If you want to use custom boot-options with only the CD, easiest way might be to reburn the CD with edited boot/isolinux/isolinux.cfg file. This way you don't need to do full remaster.

  3. #3
    Malaire, I suggest you withdraw your post. I made it clear that my complaint is the necessity to use a cheat code to achieve this behavior. Moreover, that still doesn't address the need to affect the boot process without entering stuff every time.

    Latest ubuntu will have "Live CD - persistence" to deal with that. The writer argues eloquently: "Keep in mind that not everybody we want to convert to Ubuntu is a power user. I can pretty much guarantee that anything that looks like typing Scary Strings is going to turn people off, not on, no matter how 'powerful' it is behind the scenes."

    Here's the wiki doc if you want to see the quote in context: https://wiki.ubuntu.com/LiveCDPersis...t=%28livecd%29

  4. #4
    Senior Member registered user
    Join Date
    Jan 2006
    Location
    California, USA
    Posts
    122
    will ubuntu achieve that functionality via multi-session capabilities like puppy linux does? Also, I don't really see why modifying the distro to automatically check for a path for saved cheat codes would really be all that hard, but I think mabe using grub or a modification there of would probably achieve that nicely, I notice that when I start kanotix via grub, there is a text box at the bottom of the screen with all the preconfigured boot options already read in from my hd. If the way grub operates on the live-cd could be modified to check for the values for that text box on a sequential list of possible drives then the user could have persistance on cheat codes at startup without having to enter them in manually, mabe something like this:

    How the Proposed Modified Grub Might Work
    • Now Checking for usb devices with bootoptions.lst file
      scanning for drives marked sd[a-z]*...........
      scanning for drives marked ub[a-z]*...........
      found bootoptions.lst file @ /mnt/uba1/bootoptions/bootoptions.lst
      executing code options

Similar Threads

  1. Replies: 0
    Last Post: 01-25-2006, 05:48 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
  •  


HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5

HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS

$52.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$79.99



881507-001 HPE 2.4TB SAS 12G 10K SC 512E DS G8-G10 Hard Drive 881457-B21 F/S  picture

881507-001 HPE 2.4TB SAS 12G 10K SC 512E DS G8-G10 Hard Drive 881457-B21 F/S

$274.95



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$24.15



HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5

HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5" Datacenter HDD - HUH721010ALE601

$79.99



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

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

$87.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$110.00



HGST HDD HUH721010AL5200 10TB 3.5

HGST HDD HUH721010AL5200 10TB 3.5" SAS 12Gb/s Server Hard Disk Drive *READ

$50.89



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5

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

$41.71