meo
Group: Members
Posts: 552
Joined: April 2004 |
|
Posted: April 22 2005,13:38 |
|
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
-------------- "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
|