Other Help Topics :: ReMastering HOWTO for DSL
Hi meo!
When using your steps to remaster and you wanted to inject some mydsl UCI files into the remaster, would you just put them into $source/opt and would the new cd load them automatically or are there additional boot time steps needed?
Hi charliez!
As I use an usb pendrive I just keep uci- and unc-files that I want loaded right away in a directory called mydsl. Dsl files however are easy to put in a remaster as previously mentioned.
Have fun,
meo
hi meo,
you have any latest HOWTO for remaster DSL that was installed on HDD?
thanx
Hello jimihieu!
Well I have never made a remaster from an harddrive installation. I make remasters directly from the live cd and then usually in RAM instead of using the harddrive at all. But now I have been doing remasters from the live cd copying the contents do directories on the harddrive. That makes it easy to make small changes on a following up remaster since you already have it all copied to the harddrive. This is the latest HOWTO using this method:
Programmers Remastering HOWTO for DSL
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
#mount -rw /dev/hda3 /mnt/hda3
Create the directories needed
#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX
Copy necessary files to the newcd directory
#cp –Rp /cdrom/boot /mnt/hda3/newcd
#cp –Rp /cdrom/lost+found /mnt/hda3/newcd
#cp –Rp /cdrom/index.html /mnt/hda3/newcd
Copy the sources to the proper directory
#cp –Rp /KNOPPIX/* /mnt/hda3/source
#cp –Rp /KNOPPIX/.bash_profile /mnt/hda3/source
Go through and copy wanted things to source
#cp –Rp /mnt/hda1/backgrounds /mnt/hda3/source/etc/skel/.fluxbox
#cp –Rp /mnt/hda1/styles/* /mnt/hda3/source/usr/share/fluxbox/styles
Copy the modules to source/home/dsl and install them
#cp cvs.dsl /mnt/hda3/source/home/dsl
#rm cvs.dsl
Follow this procedure with all the modules so they all end up in source/home/dsl
#chroot /mnt/hda3/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 /mnt/hda3/source | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX
Create the iso-file as follows
#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
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
Hello, Y'all!
Just want to mention a cool thing that's possible when making a remaster like the one mentioned in my last post. It's possible to compile program source-code directly into the remaster after adding "gcc1-with-libs.dsl" to the remaster. Just add the source-code to the same place as the dsl-packages added and compile them from there. But check for dependencies before to make it work. I've done it with bcrypt (witch needs zlib to work so I compiled in that one first). I haven't tried any larger programs yet as I don't feel the need but it might work.
Have fun out there in cyberspace,
meo
Next Page...
original here.