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
  •  


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



HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD picture

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD

$41.00



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99



Seagate Exos 7E8 4TB SAS 12Gb ST4000NM0025 7200 512n 3.5 HDD picture

Seagate Exos 7E8 4TB SAS 12Gb ST4000NM0025 7200 512n 3.5 HDD

$48.99



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 Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive picture

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive

$23.99



Toshiba MG03ACA400 4TB 7200 RPM SATA 6.0Gb/s 3.5

Toshiba MG03ACA400 4TB 7200 RPM SATA 6.0Gb/s 3.5" Enterprise HDD (V6313)

$61.56



DELL 2TB Enterprise HDD (7200RPM, 3.5

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

$49.95



HUS726060ALA640 HGST Ultrastar  6TB SATA 6Gbps 7.2K 3.5

HUS726060ALA640 HGST Ultrastar 6TB SATA 6Gbps 7.2K 3.5" Hard Drive OF21860

$129.99