meo
Group: Members
Posts: 552
Joined: April 2004 |
|
Posted: May 11 2006,18:48 |
|
Hi again!
Finally I have figured out how to make a remaster suitable for programming and compiling purposes. The files mentioned in the remaster can be downloaded from The myDSL repository under the System menu. The link to the repository is found when you click on the download link at damnsmalllinux.org. So here it comes:
Apt-Get Ram-Remastering HOWTO for DSL Making a remaster suitable for programming
Download the following modules to home/dsl dsl-dpkg.dsl gnu-utils.dsl gcc1.dsl
Mount the partitions needed #mount –rw /dev/hda1 /mnt/hda1
Create the directories needed #mkdir source newcd newcd/KNOPPIX
Copy necessary files to the newcd directory #cp –Rp /cdrom/boot newcd #cp –Rp /cdrom/lost+found newcd #cp –Rp /cdrom/index.html newcd
Copy the sources to the proper 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
Copy dsl-dpkg to source/home/dsl and install #cp dsl-dpkg.dsl source/home/dsl #rm dsl-dpkg.dsl #chroot source #cd home/dsl #tar -zxvf dsl-dpkg.dsl –same-owner -C / #rm dsl-dpkg.dsl
(no need to edit source/etc/apt/sources.list; just go with oldstable ) #apt-get update #apt-get install emacs21 #apt-get clean #tar -zxvf gnu-utils.dsl –same-owner -C / #rm gnu-utils.dsl #tar -zxvf gcc1.dsl –same-owner -C / #rm gcc1.dsl #exit
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
I use this remaster now as I'm polishing my programming skills. The reason I want emacs as an editor is that it's very helpful when programming in C++. Naturally other modules can be added to a remaster the same way as described. Hope this is helpful for you guys!
As always "Have Fun", regards meo
-------------- "Live and let live" Treat others the way you want to be treated because that's what you should expect from them.
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
|