Other Help Topics :: ReMastering HOWTO for DSL
Clacker!
Thanks for your post on remastering only in ram (and just 256 MB, just the same amount as i have in my laptop). I just had to try it out! And with some tweaks it worked just fine. Im posting this from this remaster actually. Here comes the complete HOWTO on how I did it:
Remastering HOWTO for Damn Small Linux
Change the keyboard-layout (unless you have a us keyboard)
$sudo loadkeys se-latin1 (I have a swedish keyboard-layout)
$startx
Mount the partition where you have stored the files you want to add
$sudo su
#mount -rw /dev/hda4 /mnt/hda4 (Here I have stored files I want to add)
Make the directories needed
#mkdir source
#mkdir newcd
#mkdir 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/hda4/backgrounds source/etc/skel/.fluxbox
#cp -Rp /mnt/hda4/styles/* source/usr/share/fluxbox/styles
#cp -Rp /mnt/hda4/Skins/* source/etc/skel/.xmms/Skins
Create the custom compressed image file:
#mkisofs -R source | create_compressed_fs - 65536 >
newcd/KNOPPIX/KNOPPIX
Then I had to 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)
In my case I had to delete the whole source-dir in order to make it work. Otherwise i got error messages about not enough space etc. I might mention also that i have a full GB of swap on my drive. And this was the first time I can remember that it was used ever (during the remaster-process). About 10 % was used at the most. OK thats all for now!
Have fun everybody,
meo
P.S. Albert_sr I'll come back to your script after checking it out. Thanks! D.S.
Well done Meo.
I haven't had any free time this w/e to play.
All printed out and ready to try when I get some time to myself.....
..............away from animals, children & work,
not forgetting a wife who requires quality time
Hello,
I am trying to build a CD of DSl with some additional applications - eg OpenOffice. I would like these to be available at boot, rather than download each time they are required.
Could someone please clarify if that is possible using the remastering guides posted here? I understand it will not fit on a 50Mb CD, but this is not a concern.
Many thanks,
Marty
Marty!
You can do just about everything when remastering according to the HOWTO's posted recently. If you take a peek at the first remaster-HOWTO on page 7 in this thread (directed to "stoneguy" I think) you will find a line copying from a directory called "Bootload" . If you follow the HOWTO, whatever modules found in this directory will load att boot time (that's why I named it "Bootload" in the first place). So just put the modules you want in this directory and be sure they will load at boot time. The "optional" directory is for modules you might want sometimes and they can be loaded whenever you want after booting. I hope this has made it a little clearer to you!
Have fun like always,
meo
I remaster all the time with 256 MB ram, but I do have plenty of swap from my Redhat 9 installation on another partition. Right now, my remaster of DSL 0.8.2 is running about 88 MB. I do use a dual-processor machine to do the work, however. See my signature for the Getting Started Guide that I put in the remaster.
Next Page...
original here.