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,21:35 QUOTE

I found a type of "solution":

I used shareware Magic ISO Maker to add a folder to iso
with dos files, binaries and /etc files.

After booting DSL I can mount/copy this stuff in the proper places.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 24 2006,17:18 QUOTE

To modify the base iso, you will need to remaster the KNOPPIX file.

Search the forum for the keyword "Remastering" for more help on the subject.

Otherwise, you can turn your small binary file into a MyDSL extension and then add it to the base iso by using the mkmydsl script.

The simplest mydsl extension building for a binary file or others, some of which are stored in writable areas like /usr/bin or /bin is to:

1) Tar up the file or files into a tarball  myextension.tar.gz
MAKE SURE TO NOT INCLUDE DIRECTORIES AND SUBDIRECTORIES IN YOUR TARBALL

2) Rename the file to myextension.dsl

3) Save it somewhere.

4) Run the mymydsl script.  Add the new file to your mymydsl build directory when you are prompted to do so.

5) Burn your new iso.

6) Enjoy
Back to top
Profile PM 
Martin2 Offline





Group: Members
Posts: 22
Joined: Nov. 2003
Posted: Jan. 25 2006,02:33 QUOTE

Quote (cbagger01 @ Jan. 24 2006,12:18)
To modify the base iso, you will need to remaster the KNOPPIX file.

Search the forum for the keyword "Remastering" for more help on the subject.

Otherwise, you can turn your small binary file into a MyDSL extension and then add it to the base iso by using the mkmydsl script.

The simplest mydsl extension building for a binary file or others, some of which are stored in writable areas like /usr/bin or /bin is to:

1) Tar up the file or files into a tarball  myextension.tar.gz
MAKE SURE TO NOT INCLUDE DIRECTORIES AND SUBDIRECTORIES IN YOUR TARBALL

2) Rename the file to myextension.dsl

3) Save it somewhere.

4) Run the mymydsl script.  Add the new file to your mymydsl build directory when you are prompted to do so.

5) Burn your new iso.

6) Enjoy

> some of which are stored in writable areas
> like /usr/bin or /bin is to:

> 1) Tar up the file or files into a tarball  myextension.tar.gz
> MAKE SURE TO NOT INCLUDE DIRECTORIES AND
> SUBDIRECTORIES IN YOUR TARBALL

How can I control in which directory it will end up?
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 25 2006,18:16 QUOTE

You need to create a similar directory hierarchy for your tarball.  In other words:

./usr/bin/myfile

for example.
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