Other Help Topics :: ReMastering HOWTO for DSL



Just thought I'd add my two penn'orth here.  I found that this:

Quote
#mkisofs –R source | create_compressed_fs - 65536 > newcd/KNOPPIX/KNOPPIX


didn't work for me.  After fiddling for some time I found an error message that told me that 65536 is not divisible by 512.  So after a quick calculation I tried 65560 and it worked.  Why?  I don't know.

Then I found this:

Quote
#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


didn't work either.  After some more fiddling I found that this:

Quote
#mkisofs –no-pad –l –r –J -o mydsl.iso -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat –no-emul-boot –boot-load-size 4 –boot-info-table –hide-rr-moved  newcd


does work.  Again, no idea why but it might help somebody.  If at first you don't succeed, keep fiddling.

Keith

Hello keithw!

Anything that can be of help for someone when it comes to remastering is welcome. I've never experienced that kind of problem but if you have probably others have or will come across i too. So, thanks for your input. Happy remastering!

Have fun guys,
meo

RAM-Remastering HOWTO for DSL
Making a remaster suitable for compiling sourcecode

Download the following modules to home/dsl
cvs.dsl
flex-bison-libtool.dsl
gnu-utils.dsl
gcc1-with-libs.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 the modules to source/home/dsl and install them
#cp cvs.dsl source/home/dsl
#rm cvs.dsl

Follow this procedure with all the modules so they all end up in source/home/dsl

#chroot source
#cd home/dsl

OBS! Make sure there are two hyphens "-" before --same in same-owner. I doesn't look so in the standard firefox browser.

#tar -zxvf cvs.dsl –same-owner -C /
#rm cvs.dsl
#tar -zxvf flex-bison-libtool.dsl –same-owner -C /
#rm flex-bison-libtool.dsl
#tar -zxvf gnu-utils.dsl –same-owner -C /
#rm gnu-utils.dsl
#tar -zxvf gcc1-with-libs.dsl –same-owner -C /
#rm gcc1-with-libs.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

This remaster works very well as far as I know compiling sourcecode.

Have fun everybody,
meo

I've been following this thread and what I want to do seems to go against the grain, but here goes.  

I have used the mkmydsl script to make three or four of my own distro (it was quite a learning expeirence).  I actually want isolinux to start and to be prompted for cheatcodes - this would override grub installed on other machines I might use.  In a ram remaster using /home/dsl/myremaster and /home/dsl for the final iso, how and where would I include isolinux?

Another question - with a ram remaster, I've been copying my extensions and such to the remaster directory before running the mkmydsl script.  I would like to make changes to fluxbox and have them included and want to verify my options: a) save them to filetool.lst, b) save them in a backup file (can that be done in ram and save in the myremaster directory?) c) make changes in /etc/skel?  Can this be done before I run the mkmydsl script or would I have to try and do this through an aterm?

Thanks for all your help!

MDG

Quote (keithw @ June 24 2006,11:24)
I found that this:

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

didn't work for me.  After fiddling for some time I found an error message that told me that 65536 is not divisible by 512.  So after a quick calculation I tried 65560 and it worked.  Why?  I don't know.

That line didn't work for me today, and before it had. I tried making your change and that didn't work either. Reasonably enough since 65536 is divisible by 512.

Then something changed and it worked. The difference came right after I switched from putting a sudo at the beginning of the line, to doing sudo su . I tend to doubt that made the difference, it was probably some change I didn't notice making. I won't be able to test it until it stops working again.

Next Page...
original here.