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
 

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

reply to topic new topic new poll
Topic: Remastering the CD, How to modify DSL< Next Oldest | Next Newest >
nicoli Offline





Group: Members
Posts: 4
Joined: Aug. 2005
Posted: Aug. 28 2005,22:06 QUOTE

I downloaded the .iso just half an hour ago and here I am, posting to this forum from Firefox within DSL!  Amazing minimalist linux distribution, just what I was looking for...

Now I'd like to remaster the CD, so as to be able to modify files such as /etc/securetty, /etc/hosts.allow, etc. within /KNOPPIX on the CD.

Do I need a full install of Knoppix (which I don't have) in order to do that, or can it be done from within DSL?  What are the hardware requirements?

I'm very excited about DSL.  My goal is to come up with the leanest operating system to support a web browser (Firefox) for secure internet surfing that can be done from any PC at hand.  For security purposes, I'd like to modify the system in such a way that a password be required in order to access superuser privileges (right now all you need is to sudo from the user account - no password is asked...). Also, I'd like to disable permanently everything else, directly on the CD, to make it a very secure web browsing system.  

Any pointers will be highly appreciated.

N.
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Aug. 29 2005,04:21 QUOTE

Hopefully this will help.
http://damnsmalllinux.org/cgi-bin....emaster
Back to top
Profile PM 
nicoli Offline





Group: Members
Posts: 4
Joined: Aug. 2005
Posted: Aug. 29 2005,21:49 QUOTE

Quote (adssse @ Aug. 29 2005,00:21)
Hopefully this will help.
http://damnsmalllinux.org/cgi-bin....emaster


I had looked at the Remastering HowTo you suggest before posting my inquiry.
It seems to me it's outdated and is not meant for the version 1.4 .iso I got from
the site.

For instance:

   Copy necessary files to directory /newcd
   #cp -Rp /cdrom/autorun.bat /mnt/hda3/newcd
   #cp -Rp /cdrom/autorun.inf /mnt/hda3/newcd
   #cp -Rp /cdrom/index.html /mnt/hda3/newcd

   Copy files to directory /newcd/KNOPPIX
   cp -Rp /cdrom/KNOPPIX/boot.cat /mnt/hda3/newcd/KNOPPIX
   #cp -Rp /cdrom/KNOPPIX/boot.img /mnt/hda3/newcd/KNOPPIX

There are no such files on the CD burned from current .iso, only a directory
KNOPPIX with a file KNOPPIX within it.

Also, by typing:

   #cp -Rp /KNOPPIX/* /mnt/hda3/source

I run immediately out of space (I have more than 200MB empty space available
in ramdisk, so my assumption is that this particular HowTo relates to an earlier
version of DSL.

N.
Back to top
Profile PM 
khurdp Offline





Group: Members
Posts: 43
Joined: Jan. 2005
Posted: Oct. 22 2005,20:42 QUOTE

/mnt/hda3/source or anything mounted on /mnt will give you out of space. Use /tmp/source instead.

I don't know why that happens; it happened to me and thats how I fixed it.

-Prasad
Back to top
Profile PM YIM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 23 2005,02:21 QUOTE

The autorun files exist only in embedded, as far as i know.

The remaster process can be done in two ways.  One method remasters only the ISO file, and the only changes that can be done are additions such as mydsl extensions and a backup/restore archive.  You can edit configs in /etc with this method by adding the files to a backup or mydsl package.
The other method requires mounting the KNOPPIX file and copying its contents to awriteable directory.  This will allow you to change whatever you want in the base system, then rebuild the KNOPPIX file and then rebuild the ISO.
You are apparently trying to remaster using the second method, but you haven't yet mounted and copied the KNOPPIX file.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
4 replies since Aug. 28 2005,22:06 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Remastering the CD

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