Other Help Topics :: ReMastering HOWTO for DSL



Great! Yeah, once you get it down, you start thinking of all kinds of things to do!  :D

Chris

Well just thought I wold drop a line!

The ram-remastering of the 0.9.3 works like a charm and I only have 256 MB of RAM. Since I can't get hold of any 50 mb cd-r's I now remaster DSL and use it on a USB-drive. DSL is truly a versatile and nice distro.

Have fun Y'all,
meo

Quote (meo @ Jan. 06 2005,16:01)
Hi again everybody!
Just a quick post telling that it works fine to remaster the 0.9.2 version of DSL just in RAM. Here it comes:

DSL RAM-Remaster HOWTO

Change the keyboard-layout (unless you have a us keyboard)
$sudo loadkeys se-latin1  (I have a swedish keyboard)
$startx

Mount the partition needed
$sudo su
#mount -rw /dev/hda1 /mnt/hda1  (here I store needed files)

Make the directories needed
#mkdir source newcd newcd/KNOPPIX

Copy necessary files to /newcd
#cp -Rp /cdrom/boot newcd
#cp -Rp /cdrom/lost+found newcd
#cp -Rp /cdrom/index.html newcd

Copy the sources to the right directory
#cp -Rp /KNOPPIX/* source
#cp -Rp /KNOPPIX/.bash_profile source

Go through and copy wanted things to /source
#cp -Rp /mnt/hda1/backgrounds source/etc/skel/.fluxbox
#cp -Rp /mnt/hda1/styles/* source/usr/share/fluxbox/styles

Create the custom compressed image file
#mkisofs -R source | create_compressed_fs – 65536 >
newcd/KNOPPIX/KNOPPIX

Then REMOVE the source directory if you have just 256 MB of RAM

Create the iso-file as follows
#mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b
boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o mydsl.iso newcd

Copy the iso-file to the partition where you have your favourite cd-burning program
#cp mydsl.iso /mnt/hda1

One thing that I discovered when thinking of remastering the embedded DSL, is that it's possible just to delete the original knoppix-file from the usb-drive (where you unzipped the DSL-embedded file) and replace it with your own remastered one (for example done the way described above) and it works just fine. Then you have a remastered embedded usb instantly. Not to bad, or what?

Keep having fun with remastering this wonderfully versatile distro,
meo

Meo,

What about doing an apt-get of programs and then making an iso? Is this possible too? Maybe too much to do just in RAM?

Anything you put in source/ is going to go into the KNOPPIX image..

Anything you put into newcd/ is going to go into the ISO image...

So...you can theoretically put whatever you want, wherever you want...I'm not sure what kind of question you're asking meo about using apt-get...

In remastering Knoppix, we used to mount the iso and then apt-get the programs we wanted, remove those we do not and then remake the new ISO.
This is why I asked.
I have been struggling to create a postgresql dsl and failed to get a working version so far :-(
Therfore I was thinking of a remastering solution!!

Next Page...
original here.