Damn Small Linux (DSL) Forums

Damn Small Linux => Other Help Topics => Topic started by: Astrosynthesist on November 28, 2016, 12:42:49 AM



Title: Modifying KNOPPIX in the ISO
Post by: Astrosynthesist on November 28, 2016, 12:42:49 AM
I have a Dell Inspiron 8100 and one of its quirks is that in order to not hang on boot and use pcmcia you need to modify /etc/pcmcia/config.opts. This is fine; I just want to know how I can actually modify this file in the KNOPPIX filesystem in the ISO permanently. Otherwise most of what I want to do with DSL is moot.

Thanks!


Title: Re: Modifying KNOPPIX in the ISO
Post by: CNK on November 29, 2016, 09:12:09 PM
These remastering guides are a bit old, but might still work:
http://schooner.uwaterloo.ca/twiki/bin/view/Linux/RemasteringGuide
http://damnsmalllinux.org/static/act-ST/f-12/t-7177.html

However it seems you should be able to set DSL to restore your modified /etc/pcmcia/config.opts file  (http://damnsmalllinux.org/wiki/persistence.html) automatically on each boot. Then, if cardmgr is already started by the time the configuration file is replaced, put "killall -HUP cardmgr" in the /opt/bootlocal.sh file to restart it.

EDIT: I forgot about the fact the laptop actually hangs when the wrong PCMCIA command is sent. Perhaps try using the "nopcmcia" boot command and start cardmgr manually in /opt/bootlocal.sh after the right config files have loaded.


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines