Rapidweather
Group: Members
Posts: 375
Joined: Jan. 2004 |
|
Posted: Jan. 07 2005,00:48 |
|
One the things I like to do when I remaster is to put the command lines that I use in a document, then I can just copy and paste them into a rxvt. Saves having to key-in all that. Here is what I am currently including in my Knoppix 3.4 remaster:
Quote | ******************************************************
These are the command lines used for making Beta 34 Filesystem:
file name is /home/knoppix/download/remaster_command
These are commands used to remaster the Knoppix distribution, and are provided here for copy and paste use:
Assume that your master copy is in /mnt/hdb6:
1. Make the /mnt/hdb6 filesystem writable:
# mount -o rw /dev/hdb6 /mnt/hdb6
Make the changes you want, then:
2. Compress the filesystem (This takes a long time)
First, CD to /mnt/hdb6
# mkisofs -R -V "Rapidweather Remaster filesystem" -P "rapidweather.com" /mnt/hdb6/KNOPPIX | create_compressed_fs - 65536 > /mnt/hdb6/NewCD/KNOPPIX/KNOPPIX
|<-mark (Copy to one line above the mark)
3. Now do the md5sum:
First, CD to /mnt/hdb6/NewCD
# rm -f KNOPPIX/md5sums
# find -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; >> KNOPPIX/md5sums
4. Now, make the .iso: Here is the new procedure used with Beta 34:
After the md5sums has been made, in step 3, above:
# cd .. (This will move you up one directory, to /mnt/hdb6, the root of the partition.)
Here is your .iso command line:
# mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o RR_K34_Betax.iso NewCD/
| <-mark (Copy to one line above the mark) Scroll over first, and change the Betax number! (Or do that after) Your new .iso will be in the root of /mnt/hdb6
5. Now, you can reboot and test your .iso: (before burning it to cd)
# boot: knoppix bootfrom=/dev/hdb6/NewCD/RR_K34_Betax.iso
|
I am running that remaster now, and of course I put Firefox, Opera, Emelfm, Scite in there, and use the lighter window manager "icewm". Since it is a remaster of Knoppix 3.4, it runs about 680 MB. I have the same sort of thing in my Rapidweather Remaster of Damn Small Linux, now up to version 3.0, after nearly a year. It runs the fluxbox wm, and has both Opera and Firefox, too. Both of these remaster distros are used to make more of them, since all of the tools are there, even the "command lines" to use when the time comes to put it all together. Main problem I have is that apt-get only works in Knoppix, and I have used it in a chroot'ed rxvt to add and remove stuff from the filesystem in NewCD, which is the one that will next be made, not the one currently running. So, I can look at the Debian packages list in Firefox, using the currently running version, and work on the master copy with apt-get. I use Emelfm a lot, since the double pane setup gives me a way to test a lot of things in the currently running os, before copying over to the master. --- I use a separate partition for the smaller Damn Small remaster, which is based on DSL 0.6.2. I like using it, since it runs on everything. Then, another partition is used to make logo.16's. --- Also like using GIMP to fix up nice built-in wallpapers for these remasters. (Gimp, only in my Knoppix 3.4 remaster, not DSL) --- I don't use any add on's like .dsl's, but of course I have to have backup tarballs for both, for personal settings. (These are live-CD distro's).
-------------- Rapidweather Remaster of DSL: http://www.angelfire.com/ms/telegram/getting_started.html Rapidweather Remaster of Knoppix Linux: http://www.geocities.com/rapidweather/getting_started.html Screenshots: http://www.rapidweather.com/linuxcdsales.html
|