Other Help Topics :: ReMastering HOWTO for DSL



Is anybody coming back to help me?  It has been 3 days.  :(
dslremaster!

Finally I have come around to adress the issue brought up by you. If you make a remaster as outlined below there should be no problems:

Remastering HOWTO for Damn Small Linux

Mount the partition where you have stored the files you want to add

#mount -rw /dev/hda1 /mnt/hda1   (Here I have stored files I want to add)

Make the directories needed

#mkdir source newcd newcd/KNOPPIX

Copy necessary files to directory /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

Remove the source-dir to gain space and make it work

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    (Here I have my favourite cd-burning program)

It is true that the "backgrounds" directory doesn't exist at the start but doing like this it will be a part of the final compressed image. I followed this procedure last night and I am posting this from the result of that ramaster.

When it comes to using apt-get that is a totally different story. I wrote a HOWTO at the beginning of this thread. It can be found at the first page most probably. I hope that can help you out. Speaking about myself I only do smaller remasters, say up to 210 MB (including an optional directory), so needless to say I don't do my remasters using apt-get. Hope these words are of any use to you.

Have fun Y'all,
meo

Thank you for replying.

I gave it a try today.  And just to make sure I was following the howto correctly, I did it twice.  And failed twice.

When I boot the remastered.  It would stop at the screen where Tux is located on the top-left corner.  And I would get this message in red:

Code Sample
Can't find KNOPPIX filesystem, sorry.  Dropping you to a (very limited) shell.  Press reset button to quit.


Please help!  What did I do wrong?

Also, I noticed my remastered was about 10MB smaller.  I didn't remove anything.  I added a PNG wallpaper and Fluxbox style, which takes up about 1MB.

dslremaster!

I would think that you don't have any swap-partition on your harddrive or that it is too small (least probable). On my system I have 256 MB of RAM which is necessary. I also have 1 GB of swap. I don't think that you need that much but a swap-partition is needed. Hope this helps you out!

Have fun,
meo

I have 256 RAM and over 100 swap.  I didn't think DSL would require swap.

DSL was meant to be a portable distro that can boot on any box.  Window boxes don't have swap.  So how is it suppose to be a live-cd?

Next Page...
original here.