Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: USB-Install and adding a module for X11< Next Oldest | Next Newest >
dev Offline





Group: Members
Posts: 3
Joined: Dec. 2004
Posted: Dec. 04 2004,21:16 QUOTE

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
Back to top
Profile PM 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Dec. 04 2004,23:29 QUOTE

hmmmmmmm, you would need to make the section of the fs writeable, that would take some doing but not be impossible.

--------------
ico2
Back to top
Profile PM MSN 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Dec. 04 2004,23:30 QUOTE

welcome to the forums btw :)

--------------
ico2
Back to top
Profile PM MSN 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 05 2004,00:26 QUOTE

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.
Back to top
Profile PM 
dev Offline





Group: Members
Posts: 3
Joined: Dec. 2004
Posted: Dec. 06 2004,19:29 QUOTE

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
Back to top
Profile PM 
6 replies since Dec. 04 2004,21:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: USB-Install and adding a module for X11

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code