Remastering the CD


Forum: Other Help Topics
Topic: Remastering the CD
started by: nicoli

Posted by nicoli on Aug. 28 2005,22:06
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.

Posted by adssse on Aug. 29 2005,04:21
Hopefully this will help.
< http://damnsmalllinux.org/cgi-bin....emaster >

Posted by nicoli on Aug. 29 2005,21:49
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.

Posted by khurdp on Oct. 22 2005,20:42
/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

Posted by mikshaw on Oct. 23 2005,02:21
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.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.