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: Adding file or a directory?, How to to add a directory or a file< Next Oldest | Next Newest >
Martin2 Offline





Group: Members
Posts: 22
Joined: Nov. 2003
Posted: Jan. 23 2006,04:53 QUOTE

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





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 23 2006,15:22 QUOTE

/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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Martin2 Offline





Group: Members
Posts: 22
Joined: Nov. 2003
Posted: Jan. 23 2006,15:31 QUOTE

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





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 23 2006,17:30 QUOTE

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





Group: Members
Posts: 22
Joined: Nov. 2003
Posted: Jan. 23 2006,18:02 QUOTE

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 ?
Back to top
Profile PM 
8 replies since Jan. 23 2006,04:53 < 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: Adding file or a directory?

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