Other Help Topics :: ReMastering HOWTO for DSL



Hi SCOEIT!

Before I answer your question I'd like to know how you did the remaster and with what version of DSL. If you give me that info I'll try to help you.

Have fun remastering DSL,
meo

Meo:

Thanks.  Here goes (sorry for the length of the post, but wanted to give you all the details):

I used the dsl-3.1-syslinux.iso download to boot

I downloaded the app I need to use (ICAClient for Linux 8.6) and installed it.  To get it to run I had to do this:

Select MyDSL
Select System
Select gnu-utils.dsl.info
Downloaded gnu-utils.dsl
Load Local selecting gnu-utils
Right Click Desktop, Apps, Tools, Select “Enable Apt”
Then open a command window as Super User and run:
apt-get update
apt-get install cpio libxaw6

ICAClient would then load and make a connection once I set up a connection.

I then used this procedure that I found on the forum to remaster:

Quote
Remastering HOWTO for Damn Small Linux (Copying manually)

Start by running from the live DSL-cdrom

Become root and mount the right partition

$sudo su
#mount -rw /dev/hda3 /mnt/hda3

Make the directories needed

#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX

Copy necessary files to directory /newcd

#cp -Rp /cdrom/autorun.bat /mnt/hda3/newcd  (MY NOTE – no such file on my cd)
#cp -Rp /cdrom/autorun.inf /mnt/hda3/newcd (MY NOTE – no such file on my cd)
#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

Copy the sources to the right directory

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

Go through and copy wanted things to /mnt/hda3/source

I usually keep scripts, studyprojects  and whatever I want  to have handy in a directory on a usb-drive. That makes it easy to copy it to what will be the home directory on the live cd. In that way all I have to take along is the live cd, knowing it's all right there (and perhaps some favorite mp3's on the usb-drive):

(Don't forget to mount your usb-drive first with mount.app if you try this)

#cp -Rp /mnt/sda1/Docs/* /mnt/hda3/source/home/damnsmall

Create the custom compressed image file:

#mkisofs -R /mnt/hda3/source | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX

Create the iso-file as follows:

#cd /mnt/hda3
#mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o myknoppix.iso newcd

Copying your new iso-file to another partition to be able to burn it
First be sure that you have mounted the target partition (You can use the mount.app)

#cp /mnt/hda3/myknoppix.iso /mnt/hda1

Now just burn the iso with whatever software you have installed in the target partition.

It can surely be done in many ways, but this is the way I do it


The remaster worked and the CD would boot.  The ICAClient application (/usr/lib/ICAClient/wfcmgr) was present, but I got the libx6.so not found error –

I reran the gnu-utils load on the remastered CD, and the ICAClient would work.

Next I followed this procedure, which also came from this thread before I remastered again:

Quote
Follow this procedure with all the modules so they all end up in /mnt/hda3/source/home/dsl

#chroot source
#cd home/dsl

OBS! Make sure there are two hyphens "-" before --same in same-owner. I doesn't look so in the standard firefox browser.

#tar -zxvf gnu-utils.dsl –same-owner -C /
#rm gnu-utils.dsl
#exit


To load the gnu-utils prior to remaster.  On this try Citrix Client would actually start, I would not get the libx6.so error.  However, the client would never try and make a connection until I redid the gu-util thing again.

My next step is to use this second remaster and work backwards, trying the “apt-get update” and apt install cpio libxaw6” to see if that helps, and if not then try the “Enable apt” then the two commands I tried first to see what is missing.

My goal is a CD that starts a classroom computer into our Citrix client.  DSL seems like it will work.  My problem is that when I started this process I knew nothing about Linux.  I still know next to nothing, but I’m learning.  It seems to me that the whole gnu-utils loading process could be done from the command line.  Linux is, after all, a file based OS designed to run from a command line.  

Having said that, seems to me the brute force method would seem to be to come up with what us PC types call a batch file that does the whole gnu-util loading thing on start up – I think you linux types call that a script.  My problem is figuring out the right commands, command syntax, and figuring out how to include that in the remaster.

Thanks.

If you are just missing gnu-utils, you can load the .unc version before remastering,

or extract the .dsl to /mnt/hda3/source

Hi again SCOEIT!

First just out of curiosity; is there any particular reason that you are using the syslinux variant of DSL? Otherwise I'd go for the DSL-3.1.iso to do a remaster (the syslinux variant I think is for very old computers that can't boot from the usual DSL-xx.iso. I'm kind of puzzled that it doesn't work as you want because gnu-utils.dsl should be there in the remaster according to your description. But if it has to be reloaded in order to work there is a very easy way to do that. If you want to reload it directly from the cd just put a directory called mydsl containing gnu-utils.dsl (or gnu-utils.unc witch is a low-ram variant of gnu-utils) on the cd. Just copy it to the newcd directory before making the iso file and it will end up in the root of the cd and load at boot. Another way of doing it is to copy the mydsl directory with gnu-utils.dsl in it onto an usb pendrive because DSL will look for a mydsl directory on at least any removable media. So give it a try and tell me how it works out!

Have fun remastering DSL,
meo

Meo:

That does sound easy, and I will try it either today or tomorrow and let you know.

As for the version - I downloaded it because it was there and I did not know any better.  I'm hesitant to change because it is the first linux build I've found that seems to start any computer I run it on, and just in a basic manner.  It allows full control of the video hardware, sound cards, and of course NIC's.  Every other version I tried would start some and not others and often would leave the video at 8 bit/ 640x480.

Next Page...
original here.