<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Remastering_Knoppix</id>
	<title>Remastering Knoppix - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Remastering_Knoppix"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Remastering_Knoppix&amp;action=history"/>
	<updated>2026-04-12T04:39:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Remastering_Knoppix&amp;diff=1323&amp;oldid=prev</id>
		<title>Adk44: Created page with &quot;Quick notes on how I made a remastered Knoppix for David Wales. Closely based on an article by Robert Bernier at linuxdevcenter.com but updated for a newer Knoppix.   This ass...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Remastering_Knoppix&amp;diff=1323&amp;oldid=prev"/>
		<updated>2019-05-13T12:31:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Quick notes on how I made a remastered Knoppix for David Wales. Closely based on an article by Robert Bernier at linuxdevcenter.com but updated for a newer Knoppix.   This ass...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Quick notes on how I made a remastered Knoppix for David Wales. Closely based on an article by Robert Bernier at linuxdevcenter.com but updated for a newer Knoppix. &lt;br /&gt;
&lt;br /&gt;
This assumes you&amp;#039;re using one of the Theory sector standard workstations.&lt;br /&gt;
&lt;br /&gt;
Get a Linux workstation, the most powerful you can get your hands on as this is CPU and memory intensive. 1Gb of RAM is good. &lt;br /&gt;
&lt;br /&gt;
Install KNOPPIX on the hard drive (you&amp;#039;ll need this for testing later). I did this in the root partition of my workstation which was /dev/hda6 . The method is to boot the original OS and mount the KNOPPIX CD. Copy the /KNOPPIX directory from the KNOPPIX CD into / . Copy the CD&amp;#039;s autorun.*, cdrom.ico, and index.html files into / . From the CD&amp;#039;s /boot/isolinux directory copy linux and minirt.gz into somewhere handy; I used /harddrive_boot . Then make lilo.conf boot the &amp;#039;linux&amp;#039; kernel with minirt.gz as initrd, /dev/hda6 as root filesystem. &lt;br /&gt;
&lt;br /&gt;
Reboot the workstation and select knoppix. Once it&amp;#039;s booted up you need a disk on which to work as /dev/hda6 is mounted read-only. I made a directory /working and mounted /dev/hda7 on it (this is /home on the standard image). On /working I made three directories: KNOPPIX_original, KNOPPIX_remastered, and masterISO. &lt;br /&gt;
&lt;br /&gt;
Copy the contents of /KNOPPIX into both KNOPPIX_ directories, preserving permissions and ownerships. Copy the following into masterISO from /cdrom:&lt;br /&gt;
&lt;br /&gt;
* autorun.{bat,inf}&lt;br /&gt;
* cdrom.ico&lt;br /&gt;
* index.html&lt;br /&gt;
* boot/ (and contents)&lt;br /&gt;
* KNOPPIX/ (and contents except for the KNOPPIX file)&lt;br /&gt;
&lt;br /&gt;
Copy /usr/bin/create_compressed_fs to /working. This probably isn&amp;#039;t compulsory, but I found it useful to have it available when I was running the workstation&amp;#039;s original SuSE as well as the Knoppix on the hard drive.&lt;br /&gt;
&lt;br /&gt;
Chroot into KNOPPIX_remastered; this is the system you&amp;#039;ll see when you boot off the CD. Make your changes. You will have to delete a lot of packages in order to be able to compress the system onto a CD. I added fvwm and edited /etc/X11/Xsession.d/45xsession to create a fvwm session. I then edited /etc/init.d/autoconfig-knoppix to make fvwm the default, and put David&amp;#039;s custom config into /etc/X11/fvwm . I added a few other packages to the distro too but they didn&amp;#039;t need configuration.&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t forget to clean up any temporary files before you exit. &lt;br /&gt;
&lt;br /&gt;
Then exit the chroot, change to /working, and build the compressed KNOPPIX file in the masterISO directory from the KNOPPIX_remastered directory. If you are short of RAM you may need to make a swap file before doing this, but I had 1Gb and 1Gb of swap already.&lt;br /&gt;
&lt;br /&gt;
 mkisofs -R -U -V &amp;quot;Custom Knoppix&amp;quot; -publisher &amp;quot;your name here&amp;quot; -hide-rr-moved \&lt;br /&gt;
 -cache-inodes -pad ./KNOPPIX_remastered | nice -5 ./create_compressed_fs - \&lt;br /&gt;
 65536 &amp;gt; masterISO/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Then boot up SuSE and copy the new compressed file over your old /KNOPPIX/KNOPPIX . I couldn&amp;#039;t figure out how to do without this step (please feel free to mail me if you know!). Boot the knoppix system to test the new KNOPPIX file.&lt;br /&gt;
&lt;br /&gt;
Keep going round and round like this until you&amp;#039;re happy with the new Knoppix. Then build the actual CD image from /working with&lt;br /&gt;
&lt;br /&gt;
 cd masterISO&lt;br /&gt;
 rm KNOPPIX/md5sums&lt;br /&gt;
 find -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; &amp;gt;&amp;gt; KNOPPIX/md5sums&lt;br /&gt;
 cd /working&lt;br /&gt;
 mkisofs -pad -f -l -r -J -v -V &amp;quot;Custom Knoppix&amp;quot; -b boot/isolinux/isolinux.bin -c  \&lt;br /&gt;
 boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -hide-rr-moved \ &lt;br /&gt;
 -o ./knoppix.iso masterISO&lt;br /&gt;
&lt;br /&gt;
Then burn it to a CD, assuming it&amp;#039;s come out small enough to fit. I had to remove a large number of packages to get it to fit, and even using the extremely slow -b option to create_compressed_fs didn&amp;#039;t help (in fact it took ten times as long, as promised, and didn&amp;#039;t compress any better on my system than without the option).&lt;/div&gt;</summary>
		<author><name>Adk44</name></author>
	</entry>
</feed>