Original Page: http://bier.kicks-ass.net/tiki-index.php?page=KnoppixRemastered
Project Community Wiki
KnoppixRemastered
Table of contents
Knoppix Remastered
We compiled a new Knoppix 3.6 and Tikiwiki 1.9DR for you. Download mirrors at KnoppixTiki |
(Original Page
Ever wanted to add/remove some things in Knoppix? here
First you need some harddrive space. You'll need around 5GB. Create a build directory and go there. Copy a knoppix iso image somewhere near (or in the build dir).
We setup some directorys:

mkdir knoppix_cd mkdir knoppix_fs mkdir mountpoint
Mount the knoppix image (you could also mount a knoppix CD in a cdrom drive):

mount -o loop,ro knoppix.iso mountpoint
Copy the knoppix CD:

cp -a mountpoint knoppix_cd umount mountpoint
Make it writeable:
chmod -R u+w knoppix_cd
Now we need to uncompress the image. Therefore we need the cloop tools. Download them from developer.linuxtag.net/knoppix/sources
tar -xzf cloop_2.00-1.tar.gz
cd cloop-2.00
make create_compressed_fs
make extract_compressed_fs
mv create_compressed_fs ..
mv extract_compressed_fs ..
Uncompress the image:
./extract_compressed_fs knoppix_cd/mountpoint/KNOPPIX/KNOPPIX > cimage.iso
Copy image contents (the rsync seems to be necessary to avoid duplication of hardlinks):
mount -o loop,ro cimage.iso mountpoint
rsync -Hav mountpoint knoppix_fs
Change something in the knoppix filesystem:
chroot knoppix_fs/mountpoint
mount -t tmpfs none /tmp
mount -t proc none /proc
now you can use all debian packaging tools to add/remove packages, and whatever u want. Keep in mind that the knoppix image is at the limit of a 800MB CD and you have to remove things if you want to add new ones. Remove temporary files and .bash_history things and that. If finished, exit the chroot:
umount /proc ; umount /tmp
Press CTRL-D to exit chroot. Next we create a compressed image:
mkisofs -pad -l -R -U knoppix_fs/mountpoint | ./create_compressed_fs - 65536 > KNOPPIX.new
This step needs large amount of RAM! You can slit the pipe in two parts, but then you need another 2GB harddisk space.
Now we copy the compressed image back to the copy of the knoppix CD:
cp KNOPPIX.new knoppix_cd/mountpoint/KNOPPIX/KNOPPIX
Create a new Knoppix CD image:
mkisofs -l -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat knoppix_cd/mountpoint > knoppix_remastered.iso
Burn it:
cdrecord -v -pad knoppix_remastered.iso
What do i have to do to get Tikiwiki running at startup of a Knoppix CD:
Install Tiki somewhere. Create the database, fill it, configure your tiki. Go to admin->system and precompile the templates for the languages you want to use. Then
cp -a tiki knoppix_fs/mountpoint/var/www
Copy the mysql database (example: /var/lib/mysql/tiki) to your knoppix filesystem
cp -a /var/lib/mysql/tiki knoppix_fs/mountpoint/var/lib/mysql/tikilive
Make a symlink in yout knoppix fs
cd knoppix_fs/mountpoint/var/lib/mysql
ln -s /tmp/tiki tiki
Make a tiki startscript in knoppix_fs/mountpoint/etc/init.d/tiki
#!/bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin
case "${1}" in
("start")
echo -n "Starting Tikiwiki LiveCD Environment: "
cp -pr /KNOPPIX/var/lib/mysql/tikilive /tmp
mv /tmp/tikilive /tmp/tiki
;;
("stop")
exit 0
;;
("restart" | "force-reload")
"${0}" stop
"${0}" start
;;
(*)
echo "Usage: /etc/init.d/tiki {start|stop|restart}" >&2
exit 3
;;
esac
Automatic startup:

cd knoppix_fs/mountpoint/etc/rc5.d ln -s ../init.d/apache S90apache ln -s ../init.d/tiki S91tiki ln -s ../init.d/mysql S92mysql
Download a ready made tiki-enabled Knoppix-Tiki CD =-
Yeah, just start a gnutella client like BearShare?, Limewire or mutella and search for "knoppix-tiki.iso". The sha1 hash should be "MCLBECC3L7TDXF4LEPOYMSOSMXDAGXS6" and the image is about 692 MB. Share the image in your gnutella client to increase bandwidth!
More download possibilities will follow.
related
http://lamppix.tinowagner.com/
Contributors to this page: redflo
and
DennisDaniels
.
Page last modified on Sunday 14 November 2004 21:39:41 CET by redflo
.
Sidebar
Search by Page Name
IRC chat
Shoutbox
redsoul
, 15:58 CET, Thu 28 May 2009:
Hi, everybody! I am a chinese,.I was bulding up my owe website whit tikiwiki, and it seems too complicated for me to master it in short time. See my website www.zbzcr.com,
redsoul
, 15:40 CET, Thu 28 May 2009:
hi~~
xavi
, 09:29 CET, Tue 03 Mar. 2009:
oups, plugin version only works for registered users here in tw.o. E.g.: [Link]
chibaguy
, 20:27 CET, Sat 28 Feb. 2009:
orionrobots, I'm updating Planetfall for Tiki 3 so would be interested in what you're doing. :-)
orionrobots
, 17:04 CET, Sat 28 Feb. 2009:
Hooray! Orionrobots upgrade and rebrand complete. When there is some time, I need to bubble back changes I had to make to planetfall to make it work - it is not quite complete.
