Mkmydsl, rebuild DSL to include extra packages 

From http://www.damnsmalllinux.org/wiki/index.php/Mkmydsl excerpted, not full version.

Advantages 

  1. "Try before you burn" You can download extensions and try them out before you commit to makeing an iso and burning.
  2. "Construction Set" by downloading in parts, you truly have a construction set method. This makes it easier for a slow modem users to be able to take advantage by not having to download a large single mydsl.iso
  3. "No double down" You already have the base iso and have proved that it works on your system, so you don't have to download it again only this time MUCH bigger. Also, you already have your local "proven" collection of extensions

Getting it Started 

Lets say that you have downloaded and have a nice proven collection of extensions on your harddrive say hda3

  1. booting

    boot: dsl 2 toram
  2. mounting your extensions library

    mount /mnt/hda3
  3. Start the script

    mkmydsl
  4. You will be prompted to enter the location of your extension library

    Enter the directory to hold the image and modules: /mnt/hda3
  5. You will be prompted to enter the location to write the mydsl.iso

    Enter the directory to hold the new iso:
  6. You can enter additional boot time options

    Enter optional boot time options:
  7. Optional additional setup of extension library

    You will be prompted to copy any "last minute" extensions. This step is not needed if the extension library is already setup with "root" and "optional". This step is useful if you have large ram and are using ramdisk directories, then you will need to copy over the extension library into the ramdisk. But normally the step is not needed.

  8. Final approval

    When you are ready to begin creating the ISO enter OK (literally means capital OK). The script creates a mydsl.iso

  9. Optional buring step

    You will be prompted to once again enter capitals OK to begin the burn. If you don't have a burner then press enter and your mydsl.iso is made. After entering OK you will be prompted to enter the burn speed and device number for the burner. That's it.

Notes 

The myconf.tar.gz is for your configs that you will not be changing. Thus filetool list remains for backup.tar.gz. My myconf.tar.gz has firefox FLASH plugin, Sylpheed email settings, my network printer configs, and several PPP settings and providers. mkmydsl script also allows for the boot time options to be passed, so I use toram, but you could also set your keyboard, start various daemons, e.g., ssh, lpd, etc.

I made the script to work on the most minimal of systems, e.g., a machine that is capable of booting DSL toram and a working cdrom burner is optional. It does not need multi-session.

By answering a few simple questions you can have your mydsl.iso created and ready to burn. If you have a burner, you can continue the script to burn to cdrom.

When I write scripts for DSL, I try to write to maximize the amount of machine that will be able to use the script. The script does not require the latest "super blasto" computer. Although it will run from within X via xterms, I usually run it from runlevel 2. By simplying answering a couple questions. Your done!

This page was last modified 18 December 2006

documented on: 2007.01.21

mkmydsl remaster, working from iso 

http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=15231;hl=mkmydsl

changed several lines of mkmydsl that I lifted from the frugal lite script…

documented on: Sep. 08 2006, u2musicmike