Other Help Topics :: ReMastering HOWTO for DSL



Hi , as this thread is based on remastering, I need help with remastering the embedded system. The way I need to run this is either via Windows on an NTFS drive or on my 128mb thumb drive. I have copied the embedded files onto the thumb drive and the system runs fine.

As I have done (and now almost cracked this thanks to clacker) a remaster for a CD, I copied the KNOPPIX image into the folder on the thumb drive from the CD remaster. It booted most of the stuff up but didnt run the bootlocal.sh (in particular the links to ram via mkwriteable) . Also I wish not to format the thumb drive to extfs as I need it in vfat for other uses. Is this at all possible. Also how do I (I possible) set it toram in this set up.

Remastering without making a ramaster!

I just came to think of a way of getting what I want (some extra styles and backgrounds) without having to make a real ramster. I have just added my backgrounds to /home/dsl/.fluxbox/styles and my styles to /home/dsl/.fluxbox/styles then adding them to the filetool.lst and making a backup. Just remember to add filetool.lst to filetool.lst too before otherwise it will be gone upon reboot.

Have fun,
meo

Hi Y'all!

Just a thing I discovered about my last comment. If you have done a backup file according to this comment it will also work with a frugal install on the harddrive. And whoops you have all your favourite styles and backgrounds even if you make a fresh frugal install.

Have fun,
meo

Been looking about the forums and tinkering with DSL (2.1) lately, as I'd like to accomplish the following:

Remaster a DSL image that will serve as an "unattended" server located far, far away from me.  I want it so that someone can put one of my premade CDs in the drive and away it goes.  I'll have benefit of an available hard drive to store a "cache" copy to boot, but my goal is to make it so that this drive isn't at all necessary to boot and run.

Here's the fun part.

Due to interesting software requirements - python, asterisk, gcc and probably more - I would like to be able to get gcc on there (probably self-compiled) and then all the dependencies downwind of that so that I can compile this all, myself.  

Due to the fact that there's no compiler by default in DSL, I've thought up the following way to do this:

I'll remaster a DSL CD with all necessary sources and the myDSL extension that has GCC and make and so on.  I will then modify the startup scripts to compile everything, then configure everything.

Much easier said than done, and I'm kind of at a loss as to how I'll create this "cache" copy (and make it so that I don't need to recompile upon EVERY boot).

So, if anyone has any thoughts about this strategy and could fill in the blanks, I'd be much obliged.

Thanks,

Dave

I'm not sure what you are asking.  Are you asking how to compile gcc itself so that it's optimized for the processor on the machine it is running on?  Or is it that you want gcc and python in the remaster?  If it's just gcc and python in the remaster, that's easy:

After you create the source/KNOPPIX directory in meo's remastering procedure, you can use the chroot command to change the root directory to source/KNOPPIX.  Then you can install whatever dsl packages you want from the repository. If you run apt-get you can load whatever you want from Debian.  Python, gcc, g++, make, and all the rest.  As long as you are in the chroot, everything gets installed to your remaster.  End the choot with an exit command.  Then run the mkisofs commands and the rest to finish.

I find that it's easiest to copy my *.dsl/*.tar.gz packages to the source/KNOPPIX/home/dsl directory and do the following:

sudo su
chroot source/KNOPPIX
cd /home/dsl
su dsl
## because mydsl-load must not be run as root
mydsl-load dsl-dpkg.dsl
## add any others here, like mydsl-load gnu-utils.dsl
exit
apt-get update
apt-get install gcc gpp make python
apt-get clean
## to remove the *.deb files you don't need anymore
exit

Then remove the dsl packages in the source/KNOPPIX/home/dsl directory.

Next Page...
original here.