[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[debian-knoppix] Some thoughts&questions about knoppix...



Hi every1

I have been working on my BBC (bootable business card), which will be a
mini-CD (50mb) for rescue/forensic/analysis purposes. I doesn't have
neither a name nor a home on the web, but I may be releasing it on SF
(if they give me enough webspace, does anyone knows anything about it? I
would need 200mb. Anyway, I only have ISDN and so maybe I won't release
it at all...)

I modified the KNOPPIX linuxrc script for my purposes and I also used
parts from the knoppix.mkcompressed and knoppix-autoconfig scripts.

I've come across several things in KNOPPIX which I'd like to comment:

-------------
1. IMHO the miniroot.gz filesystem could be made smaller (or more SCSI
modules can be included):

a) Use the GCC options "-Os -s" in the kernel Makefile (line 20 & 91).
Gain: ~130kB (not compressed) for the modules, and some kBs for the
bzImage (I didn't count them...)

b) remove unused /dev/ nodes:  *random  loop*  ram[2-9]  ram??  psaux 
sndstat ,  maybe "ttyp*" and "ttyS*" as well.

c) Maybe: use busybox + uClibc and asmutils instead of ash-knoppix. I
don't know if this would really make it smaller as I don't have the same
binaries for my CD. That's what I have in /static:

total 168
lrwxrwxrwx    1 root            7  1. Mai 20:28 [ -> busybox
lrwxrwxrwx    1 root            7  1. Mai 20:28 ash -> busybox
-rwxr-xr-x    1 root       131584  5. Mai 11:29 busybox
-rwxr-xr-x    1 root          763 17. Apr 19:45 cp
-rwxr-xr-x    1 root          362 17. Apr 19:45 echo
lrwxrwxrwx    1 root            7  1. Mai 20:28 expr -> busybox
lrwxrwxrwx    1 root            7  1. Mai 20:29 insmod -> busybox
-rwxr-xr-x    1 root          142 17. Apr 19:45 ln
-rwxr-xr-x    1 root          284 17. Apr 19:45 lsmod
-rwxr-xr-x    1 root          255 17. Apr 19:45 mkdir
-rwxr-xr-x    1 root          403 17. Apr 19:45 mount
lrwxrwxrwx    1 root            5  4. Mai 20:07 rmmod -> lsmod
lrwxrwxrwx    1 root            7  1. Mai 20:29 test -> busybox
lrwxrwxrwx    1 root            5  4. Mai 20:09 umount -> mount

KNOPPIX has:

total 160
-r-xr-xr-x    1 root       150612  8. Apr 00:02 ash
lrwxrwxrwx    1 root            3 14. Mai 20:50 init -> ash
lrwxrwxrwx    1 root            3 14. Mai 20:50 sh -> ash


-------------
2. The floppy
I saw a TODO-list somewhere were it said: "use 2.88 el torito image and
boot/root floppies". Another possible way: use 2.88 el torito image and
only one 1722kb floppy. advantage: only one floppy is needed, disadv.:
cd-rom space wasted, maybe incompatible with some floppy drives


-------------
3. Timezone
It would be nice if some startup script would point /etc/localtime to
the right file in /usr/share/zoneinfo.
eg: "lang=ch" on the kernel cmdline -> /etc/localtime points to
/usr/share/zoneinfo/Europe/Zurich. The status quo is: /etc/localtime is
just the /usr/share/zoneinfo/UTC file.


-------------
4. mkisofs.sort
Where can I get this file? (it is needed by knoppix.mkcompressed) I
didn't find it on the CD. And are there other scripts/tools necessary or
recommended for building the KNOPPIX CD?

Regards,
Stephan


_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: