User Feedback :: USB-Install and adding a module for X11



Hi,

I'm in the progress of building a html-driven frontend for a home-automation system.

I've selected DSL as it fits perfect into my requirement
for a small, yet extendable, USB bootable Linux. Respect, great work!

So far I booted from CD (0.9) and installed it on an USB stick.
Now I want to attach a touchscreen TFT and therefor I need
to add this file: /usr/X11R6/lib/modules/input/elographics_drv.o

At this point I get the error:
mkdir: Cannot create directory `modules': Read-only file system

Which is obvious, as

Quote

drwxrwxr-x   19 root     root         4096 Dec  1 06:38 KNOPPIX
[...]
lrwxrwxrwx    1 root     root           12 May 31  2004 usr -> /KNOPPIX/usr


Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 3067       687      2380  22% /
/dev/sda1               253668     50112    203556  20% /cdrom
/dev/cloop              118092    118092         0 100% /KNOPPIX
/ramdisk                374064       704    373360   0% /ramdisk

$ cat /proc/cmdline
ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce noapic quiet BOOT_IMAGE=knoppix frugal BOOT_IMAGE=linux24 toram ssh lang=de



Am I right that a modification of /usr is only possible with a remastered DSL? Or is there some other solution? TIA!

Ciao,
dev

hmmmmmmm, you would need to make the section of the fs writeable, that would take some doing but not be impossible.
welcome to the forums btw :)
Do this:

Install ANY myDSL extension file that ends with *.dsl

Grab it from the myDSL repository.

If you want a small one, try ace.dsl  card games extension.

When you install the extension and activate it, a script called "mkwritable" will run and create a new writable file system in the ramdisk and re-link /usr to this system.

From then on out you should be able to install programs into the /usr directory.

However, since it will be running from RAMDISK, you will need to save out your files or they will be lost at the next reboot.

Try searching the forum for help on creating your own *.dsl extension

It will help you do what you are looking for and if your program will be of help to other people you can donate the extension to be published in the library.

Good Luck.

Thanks a million!
Shame on me for not reading perhaps 50 lines further and
understand the different myDSL options!  :(

I made a dsl file which "injects" the Xfree touchscreen modul
and alters the XF86Config, so this part is working now.

The touchscreen itself is currently not working properly,
it is working fine with a Knoppix 3.6 though, but I will sort this out.

When I'm ready, I'll post a HowTo.

Ciao,
dev

Next Page...
original here.