nucpc
Group: Members
Posts: 89
Joined: Dec. 2003 |
|
Posted: Mar. 10 2004,13:42 |
|
Hi cbagger,
Basically I follow most elements of the How-To's but then remaster quickly and crudely in order to keep the size small (and still fit on business card disks)....to get your script in can be very fast...
In summary it's something like this;
Running from a liveCD (or liveCD toram) and having copied and pasted or downloaded your script; On my free ext2 partition, say /mnt/hda8, I follow existing How-To's and make two folders /source and /newcd. I copy autorun.bat, autorun.inf and index.html into /newcd and then mkdir a /KNOPPIX directory in /newcd. Into /newcd/KNOPPIX I copy boot.cat and boot.img. Then changing into /source I copy /KNOPPIX/* into here.....(all copying is done cp -Rp to preserve all symbolic links etc).
So precisely following many How-To's so far (except the above is for 0.6.+, for earlier versions there's no autorun.* files etc to copy into /newcd)....
Now though all I do is go through /mnt/hda8/source and copy in manually anything I want, like say your script. So no `chroot'ing, or mounting /proc or re-installing dpkg etc.
For your script I would `cd' to
/mnt/hda8/source/home/damnsmall/
and cp /home/damnsmall/.start_synaptic start_synaptic
i.e. copy and rename it without the `.' (if you hide it it'll just be ignored). When I'm later running live with my remastering I'll need to rename it prior to use but that I can live with.....
At this point I can also manually copy in anything else I want (but I'll have to know all the associated libraries and depencies).
Then its back to /mnt/hda8 and the two `usual' mkisofs strings....
So that's
mkisofs -R /mnt/hda8/source | create_compressed_fs - 65536 > /mnt/hda8/newcd/KNOPPIX/KNOPPIX
and
mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o myknoppix.iso newcd
So why so crudely?? Just a size issue... Proceeding this tedious way I can get, for example,
f2c, xmgr, ogle, an old copy of xv and all their libraries onto a new `50' Mb disk (the final .iso is 52Mb on ls -l but still writes to the disk.....winner). So that's ~ 10M more of uncompressed stuff going on.......
Little note; f2c and ogle will only work with DSL prior to 0.6 (f2c can be got going with 0.6.+ but needs a bit of hacking round in /usr/lib).
So that's how I do mine...........primarily its to get me some useful things when I'm running off network and some un`apt-get'able stuff on my live CD. Crude but effective.
As for disk capacity, don't be afraid to explore it, basically if xcdroast says the .iso is still less than 50Mb then my experience is that it'll write (and like I say you can squeeze in 10 MB more of stuff that compresses well).
Okay, hope that helps, cheers, nucpc.
|