Other Help Topics :: ReMastering HOWTO for DSL



Hi there!

If someone knows how to do an "apt-get" remaster I would highly appreciate some help on that subject. Thank's in advance!

Have fun,
meo

meo, I'm not really sure what your asking for, but I think it's how to use apt-get during the remastering process to stuff new apps into the remaster instead of the base system.

This used to be easier.  For some reason when I started using dsl, I could do a chroot and then run mydsl-load fine.  Then things changed and I needed to be user dsl so I had to su dsl before I ran mydsl-load.  Now even that doesn't work but here's how I got apt-get loaded into the remaster:

First I create my directories the same way you showed us so many moons ago.  Create the source and newcd directories wherever you want to.  Copy the dsl-dpkg.dsl package into the source/KNOPPIX/home/dsl directory. Change what you shell believes is the root using the chroot command.  Use tar to extract the contents of the dsl-dpkg.dsl package into the new root directory (your remaster's root).  Run apt-get update, then install using apt-get install whatever.  Then exit the chroot using the exit command (or hitting control-d).

Code Sample
## make and populate the directories source and newcd as before
## stop your old procedure just before the first mkisofs step
# copy dsl-dpkg.dsl into the home/dsl directory of your remaster
cp dsl-dpkg.dsl source/KNOPPIX/home/dsl
# change the root directory to the one your remaster will use
sudo chroot source/KNOPPIX
# The source/KNOPPIX  directory now apears as
# the root of the shell you're in
cd /home/dsl
# install your dpkg and apt-get package using tar
tar -xzvf dsl-dpkg.dsl --same-owner -C /
rm dsl-dpkg.dsl  # you no longer need it
# update the package list
# edit /etc/apt/sources.list to change from stable
# if you need to (I don't anymore)
apt-get update
# now install whatever you want
apt-get install gcc g++ make g77 nasm patch libncurses5-dev libreadline4-dev
# then clean away the deb files since they're not needed anymore
apt-get clean
exit


Now continue to remaster with the

mkisofs -R source | create_compressed_fs - 65536 > newcd/KNOPPIX/KNOPPIX

step.

After a year of trying, I've finally remastered DSL (three or four times, but I had some other troubles) and burned it (twice I managed to get this far) and both versions I've booted have given me an error message saying that the knoppix filesystem isn't found. What am I doing wrong?
Hello guys!

Thank You very much clacker for the info about using apt-get to make a remaster! I'll dig in to it ASAP. I'm trying out the new 2.4RC1 unremastered(for now) as I'm posting this. To shui I have to say, that at least when it comes to me, I have to know how you did the remaster before I can comment on what went wrong.

Have fun out there,
meo

$sudo su
#mke2fs /dev/hda3
#mount -rw /dev/hda1 /mnt/hda1
#mount -rw /dev/hda3 /mnt/hda3
#mount -rw /dev/hda5 /mnt/hda5

hda1 is a 10 gig or so windows 2000 NTFS partition where my source files are.
hda3 is about the same size as hda1.
hda5 is a 730 MB or so FAT32 partition where the ISO will be copied at the end.

#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/boot /mnt/hda3/newcd
#cp -Rp /cdrom/lost+found /mnt/hda3/newcd
#cp -Rp /cdrom/index.html /mnt/hda3/newcd
#cp -Rp /mnt/hda1/files /mnt/hda3/newcd
#cp -Rp /mnt/hda1/optional /mnt/hda3/newcd
#cp -Rp /mnt/hda1/x.dsl /mnt/hda3/newcd (all the .dsl files)
#cp -Rp /KNOPPIX/* /mnt/hda3/source
#cp -Rp /KNOPPIX/.bash_profile /mnt/hda3/source
#mkisofs -R /mnt/hda3/source | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX
#cd /mnt/hda3
#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
#cp /mnt/hda3/mydsl.iso /mnt/hda5
Reboot and burn.

Next Page...
original here.