Other Help Topics :: ReMastering HOWTO for DSL



Hi,

I'm trying to remaster DSL-N RC4 as per the instructions scattered throughout this topic.

I have to replace the lines:-

#cp -Rp /cdrom/KNOPPIX/boot.cat /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/KNOPPIX/boot.img /mnt/hda3/newcd/KNOPPIX

as these files do not appear on the DSL-N live CD that i'm using.  There is an isolinux directory on the live CD that contains what i believe to be the appropriate files.

I instead use:-

#cp -Rp /cdrom/isolinux/isolinux.bin /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/isolinux/boot.cat /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/isolinux/* /mnt/hda3/newcd/isolinux

and then:-

#mkisofs -R /mnt/hda3/source | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX

followed by:-

#cd /mnt/hda3/newcd
#mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat -o newdsl.iso .

I then burn the created 'newdsl.iso' image file to CD and it seems to work fine as a live CD.  However...

Before i create the compressed custom image file i want to copy some files over so that they appear in /home/dsl when you boot from the live CD.  I copy these files :-

#cp /mnt/hdb1/home/file01.txt /mnt/hda3/source/home/dsl
#cp /mnt/hdb1/home/file02.txt /mnt/hda3/source/home/dsl

When i boot to the custom live CD that i created, these files do not appear in the /home/dsl directory but in the /KNOPPIX/home/dsl directory instead.

How do i ensure they appear in /home/dsl...?

Apologies if i've done something obviously wrong, i'm a LINUX/DSL newbie..

Cheers.
[/B][B][/B][B][B][/B][B]

/home/dsl is populated from /etc/skel
Thankyou..!  That did the trick, and i eventually found a reference to it on the DSL wiki..

Now my last problem..

I want to use the 'jwm' desktop manager rather than 'fluxbox'.  However no matter what i do, it keeps using 'fluxbox'.

I've added "desktop=jwm" to the kernel line in /boot/grub/menu.lst located in the source directory.
I've edited /home/dsl/.desktop to "wm: jwm" in the source/etc/skel directory before creating the compressed image..

I've added files and modified existing files (such as .xinitrc) in the source/etc/skel directory that are reflected in the remastered image.  Yet the .desktop file that resides in /home/dsl on the remastered image still says "wm: fluxbox".  

If i enter "dsl desktop=jwm" at the boot: prompt during startup, then it will use jwm and the /home/dsl/.desktop file (i know it resides in memory) correctly shows "wm: jwm".

How can i ensure that the modified (ie "wm: jwm") .desktop file makes it into the remastered image file, rather than the default (ie "wm: fluxbox") .desktop file as i don't want to have to type anything at the boot: prompt during startup.

Thanks for any help you can provide, and for your quick reply on my previous post..!

The default desktop is specified in /etc/init.d/dsl-config.

Around line 240 depending on your version of DSL

case "$DESKTOP" in fluxbox|jwm) ;; *) DESKTOP="fluxbox"; ;; esac

change to:

case "$DESKTOP" in fluxbox|jwm) ;; *) DESKTOP="jwm"; ;; esac

Hi All,

I've just joined the ranks of DSL remasterers, on a mission like SCOEIT's back around Xmas. I want to remaster a version that starts rdesktop and only runs that. I've spent all day reading through this topic, and I think I roughly understand it. But when it comes to actually remastering, I've hit a silly problem, so I hope someone can advise. I've got through mkisofs successfully (I think) and now need to copy the files with

cp -Rp /KNOPPIX/* source

But the copy insists on confirming every file. And there are far too many to confirm every one with Y and return! I've tried adding the -f switch, but it makes no difference.

Ideas very welcome!

TIA
Stuart

Next Page...
original here.