System :: Adding file or a directory?



I want to add some compiled binary to the /usr/bin directory
and some directories to the ~dsl (dosprog for dosbox)
and modify shadow in /etc

Is it possible to do it using mkmydsl? If not, how to do it?
How to create new iso file with the above? (I successfully
added dsl extensions to the iso file using mkmydsl)

Thanx
Martin

/etc is already writeable (although space is limited).
If you are already booted into dsl, use the command "sudo /etc/init.d/mkwriteable" to open up /usr, /bin, and /sbin for writing, or load a mydsl package with a "*.dsl" filename.
If you want to boot into a writeable system, use the boot option "dsl write", or auto-load a mydsl packages with a "*.dsl" filename.

> /etc is already writeable (although space is limited).

Is it possible to increase the space?

> If you want to boot into a writeable system,
> use the boot option "dsl write", or auto-load a mydsl
> packages with a "*.dsl" filename.

How do I create a new mydsl package? How do I put files
or directories into it?

How do I add the files/directories to the /home/dsl directory?

Thanx
Martin

You can manually increase the space for a livecd / usb / frugal install by doing the following:

Move the contents of /etc to a new directory called
/ramdisk/etc

Create a simlink where etc is repointed:

/etc ---->  /ramdisk/etc


You then have as much space available in /etc as there is in the entire ramdisk.

Quote (cbagger01 @ Jan. 23 2006,12:30)
You can manually increase the space for a livecd / usb / frugal install by doing the following:

Move the contents of /etc to a new directory called
/ramdisk/etc

Create a simlink where etc is repointed:

/etc ---->  /ramdisk/etc


You then have as much space available in /etc as there is in the entire ramdisk.

Thanx, but I want to do in the context of creating a new iso file. I did put small binary in /usr/bin (after booting with write option), run mkmydsl but this binary disapeared from iso.

Should I put it in /KNOPPIX file structure (which is read only, I guess I need to remount it with write permissions)?

What I put in /etc is gone too (modified shadow), /etc/skel is write only so I will look into /KNOPPIX to copy a dosprog directory, (should I put it into etc/skel or into etc/skel/dsl ?

Next Page...
original here.