<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://mail.knoppix.net/wiki3/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jacksonon</id>
		<title>Knoppix Documentation Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jacksonon"/>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Special:Contributions/Jacksonon"/>
		<updated>2026-09-18T04:34:16Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://mail.knoppix.net/wiki/Bugs/5.01CD</id>
		<title>Bugs/5.01CD</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Bugs/5.01CD"/>
				<updated>2006-12-03T06:42:10Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; 1) The ext2 persistent home bug (ext2 partitions not recognized properly)&lt;br /&gt;
 is still not fixed in 5.01, because of a a typo in the knoppix-autoconfig file:&lt;br /&gt;
 wrong:   ext3|ext3|reiserfs|xfs) MOUNTOPTS=&amp;quot;$MOUNTOPTS,noatime&amp;quot; ;;&lt;br /&gt;
 correct: ext2|ext3|reiserfs|xfs) MOUNTOPTS=&amp;quot;$MOUNTOPTS,noatime&amp;quot; ;;&lt;br /&gt;
 Please find a diff in here:&lt;br /&gt;
 http://s94002264.onlinehome.us/grub/knoppix-autoconfig.diff&lt;br /&gt;
 BTW, I found a work around fix, cf:&lt;br /&gt;
 http://www.knoppix.net/forum/viewtopic.php?p=103883#103883&lt;br /&gt;
 Gilles van Ruymbeke&lt;br /&gt;
&lt;br /&gt;
 2)knoppix splash cheatcode doesn't work, it worked with 4.0.2 version.&lt;br /&gt;
&lt;br /&gt;
 3)difficulty to boot on some (recent) laptop: needs to use noudev and sometimes &lt;br /&gt;
   nompcmcia to start, but Konsole failed start, complain that no tty are available.&lt;br /&gt;
WORKAROUND: On a PB laptop, I manage to start without passing noudev, progress bar of autoconfiguring devices don't stop but by key pressing [CTRL c] twice, boot process continue.&lt;br /&gt;
After an HD install, need to put rt2500usb in blacklist&lt;br /&gt;
&lt;br /&gt;
 4)boot process is horribly slow if a pci card with rt2500 WLAN chipset is plugged &lt;br /&gt;
   and failed on DHCP request, no problem on Cebit 5.0: card is well recognise.&lt;br /&gt;
&lt;br /&gt;
 5)printing impossible (report from forums.knoppix-fr.org)&lt;br /&gt;
&lt;br /&gt;
 6)module compilation is not possible (out of the box), have to have a look deeply &lt;br /&gt;
  (maybe problem with header or some links to them)&lt;br /&gt;
   Some more info: This is probably related with the Debian [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368544 bug #368544] as the parts missing &lt;br /&gt;
 in the headers are those supposed to be in a newcomer linux-kbuild package&lt;br /&gt;
&lt;br /&gt;
 7)[INSTALL] mount with removable media, &lt;br /&gt;
 &amp;quot;Please change the -u knoppix and -g knoppix in&lt;br /&gt;
 /etc/udev/knoppix.rules, either to match the &amp;quot;primary user&amp;quot;, or just&lt;br /&gt;
 remove them.&amp;quot; &lt;br /&gt;
 [http://lists.debian.org/debian-knoppix/2006/06/msg00039.html Klaus KNOPPER on debian-knoppix] ML&lt;br /&gt;
 -In: http://www.knoppix.net/wiki/Bugs/5.0DVD is solved&lt;br /&gt;
 -Number 10 ;)&lt;br /&gt;
 Jaime Ortega (jortega)&lt;br /&gt;
&lt;br /&gt;
 8) CD-Burning with an external USB device is broken.&lt;br /&gt;
 as i posted in the forum  http://www.knoppix.net/forum/viewtopic.php?t=24784&lt;br /&gt;
 there are some messages from cdrecord in the k3b failure report &lt;br /&gt;
 about missing entrys in /dev one of them about /dev/sg0 ... &lt;br /&gt;
 i looked for what was there in 4.0.2CD and found this:&lt;br /&gt;
 &amp;lt;code&amp;gt;&lt;br /&gt;
 ll /dev/sg*&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  0 2001-08-24 01:32 /dev/sg0&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  1 2001-08-24 01:32 /dev/sg1&lt;br /&gt;
 crw-rw-rw-  1 root root 21, 10 2001-08-24 01:32 /dev/sg10&lt;br /&gt;
 crw-rw-rw-  1 root root 21, 11 2001-08-24 01:32 /dev/sg11&lt;br /&gt;
 crw-rw-rw-  1 root root 21, 12 2001-08-24 01:32 /dev/sg12&lt;br /&gt;
 crw-rw-rw-  1 root root 21, 13 2001-08-24 01:32 /dev/sg13&lt;br /&gt;
 crw-rw-rw-  1 root root 21, 14 2001-08-24 01:32 /dev/sg14&lt;br /&gt;
 crw-rw-rw-  1 root root 21, 15 2001-08-24 01:32 /dev/sg15&lt;br /&gt;
 crw-rw-rw-  1 root root 21, 16 2001-08-24 01:32 /dev/sg16&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  2 2001-08-24 01:32 /dev/sg2&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  3 2001-08-24 01:32 /dev/sg3&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  4 2001-08-24 01:32 /dev/sg4&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  5 2001-08-24 01:32 /dev/sg5&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  6 2001-08-24 01:32 /dev/sg6&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  7 2001-08-24 01:32 /dev/sg7&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  8 2001-08-24 01:32 /dev/sg8&lt;br /&gt;
 crw-rw-rw-  1 root root 21,  9 2001-08-24 01:32 /dev/sg9&lt;br /&gt;
 &amp;lt;/code&amp;gt;&lt;br /&gt;
 after creating /dev/sg0 with mknod ( using mknod without beeing absolutely sure &lt;br /&gt;
 what you are doing can lead to deleting all your data on harddisk or even worse )&lt;br /&gt;
 at least k3b simulation started working ... &lt;br /&gt;
 i will do a real burning test later ...&lt;br /&gt;
 :[[User:Ralph.Bremer|Ralph.Bremer]] 20:34, 5 Jul 2006 (GMT)&lt;br /&gt;
&lt;br /&gt;
 9) ipw2200 v1.1.1 (the one in kernel 2.6.17) relies on firmware 3.0 while &lt;br /&gt;
 the Knoppix package ipw2200-nonfree only contain older firmwares. &lt;br /&gt;
 Please update ipw2200-nonfree, cf &lt;br /&gt;
 http://ipw2200.sourceforge.net/firmware.php&lt;br /&gt;
&lt;br /&gt;
 10) Setting the timezone does not work. KDE's time applet requires the root&lt;br /&gt;
 password (should probably use ksudo instead). &lt;br /&gt;
Workaround: sudo vi /etc/timezone, &lt;br /&gt;
sudo cp /usr/share/zoneinfo/Continent/City /etc/zoneinfo.&lt;br /&gt;
&lt;br /&gt;
 11) Mounting of a PCMCIA flash drive works only once. After remove/insert of the card, &lt;br /&gt;
 the following error message appears: &amp;quot;mount:Gerätedatei /dev/hde1 existiert nicht&amp;quot; (rol).&lt;br /&gt;
&lt;br /&gt;
 12) Improvement: the CD and DVD editions miss the p7zip package.&lt;br /&gt;
 If you compress a tar archive of the Knoppix root filesystem, the result&lt;br /&gt;
 is 20% smaller than the one produced by bzip2. Definitely useful!&lt;br /&gt;
&lt;br /&gt;
 13) Improvement: the CD and DVD editions miss the ccache package&lt;br /&gt;
 (102 KB install size). This compiler cache is the best way to recompile&lt;br /&gt;
 big projects (like the Linux kernel) in a much faster way.&lt;br /&gt;
&lt;br /&gt;
 14) To use SD cards it currently is necessary to manually ''modprobe mmc_block''.&lt;br /&gt;
&lt;br /&gt;
 15) Improvement: If possible include new ''ipw3945'' WLAN module.&lt;br /&gt;
&lt;br /&gt;
 16) I use a working CD (tested on other computers). On my computer, Knoppix stops &lt;br /&gt;
 with the message &amp;quot;can't find KNOPPIX filesystem, sorry, dropping you to a (very &lt;br /&gt;
 limited) shell..&amp;quot;, just as the bug 15 of Knoppix 5.0DVD. Anyway the boot option&lt;br /&gt;
 nodma does not make things work. I have found no workaround. I have got a SATA&lt;br /&gt;
 CDROM/DVD drive (Plextor 712SA).&lt;br /&gt;
 16b?) Can't burn, and DVD-reader access are very slow on laptop with ICH6 SATA controler&lt;br /&gt;
Workaround (after HD install):&lt;br /&gt;
&lt;br /&gt;
''echo &amp;quot;options libata atapi_enabled=1&amp;quot; &amp;gt; /etc/modprobe.d/libata''&lt;br /&gt;
&lt;br /&gt;
''mkinitramfs -o /boot/initrd.img-2.6.17-test''&lt;br /&gt;
&lt;br /&gt;
Then modify your boot config (/boot/grub/menu.lst for grub) to adapt your initrd like:&lt;br /&gt;
''initrd /boot/initrd.img-2.6.17-test''&lt;br /&gt;
&lt;br /&gt;
And add to your kernel options (append):&lt;br /&gt;
&lt;br /&gt;
''ide1=noprobe''&lt;br /&gt;
&lt;br /&gt;
 17) X won't work on some systems when using Knoppix CD 5 or Knoppix CD 4.&lt;br /&gt;
 Tried on five different systems, three notebooks, two desktop systems,&lt;br /&gt;
 but xorg's X failed to start and complained about missing files. Integrity&lt;br /&gt;
 of CD tested and okay.&lt;br /&gt;
&lt;br /&gt;
 18) In KNOPPIX_V5.0.1CD-2006-06-01-DE.iso (MD5 checked OK) *boot/isolinux/isolinux.bin&lt;br /&gt;
 is corrupt or hash is wrong in md5sums file. &lt;br /&gt;
&lt;br /&gt;
 19) Apache2 returns &amp;quot;Partial Content&amp;quot; when accessing a local (127.0.0.1) page.&lt;br /&gt;
 Small files works, larger files (&amp;gt; Mtu ??) not. &lt;br /&gt;
 See http://www.knoppix.net/forum/viewtopic.php?t=25639&lt;br /&gt;
&lt;br /&gt;
 20)(may be the same as 1): Knoppix 5.0.1, English CD download, failed to mount the hard drives on a Dell Dimension 5100, which has a second  SATA hard drive installed for backup. It worked fine if I disabled the second hard drive from the BIOS setup.&lt;br /&gt;
James Wimberley 9/10/2006&lt;br /&gt;
&lt;br /&gt;
 21) (same as 3): Knoppix 5.0.1, English CD download, failed to boot on an HP Pavilion zv5120us laptop, unmodified except for extra memory. The hangup was on the fourth line, &amp;quot;looking for CD in /dev/hdc&amp;quot;. Knoppix 4.0 boots fine on the same machine. The copy of 5.0.1 should be OK as it boots on the Dell, see 20.&lt;br /&gt;
James Wimberley 9/10/2006&lt;br /&gt;
&lt;br /&gt;
 22) The !cal command does not work in a continuous manner. In fact it works about&lt;br /&gt;
 40% - 60% of the time when done consecutively. !ls and !top work without issue, but&lt;br /&gt;
 there seems to be a glitch in the !cal command when using the Knoppix 5.0.1 CD.&lt;br /&gt;
&lt;br /&gt;
 23) Notebook IBM Thinkpad T40: ipw2200 does not work due wlan-card firmware upload failure.&lt;br /&gt;
&lt;br /&gt;
 24) The persistent home bug: i have hdd with 2 partitions (hda1 - ntfs, hda5 - fat32). if on both partitions file knoppix.img exists, but on hda1 this file is broken(all zero) - then i can't use /dev/hda5/knoppix.img too due knoppix-autoconfig error: wenn one file was found, but broken, script will skip all other knoppix.img.&lt;br /&gt;
&lt;br /&gt;
 25) in autoconfig-script es is not enough fehler messages (knoppix-image: no message by broken(zero) file knoppix.img)&lt;br /&gt;
&lt;br /&gt;
 26) the KDE internet modem dialer, 'kppp',  appears to be broken, &lt;br /&gt;
 and can't find my serial modem, even when running as root. &lt;br /&gt;
A partial solution is to use the ?debian? 'pon' , 'pof' and 'pppconfig' scripts &lt;br /&gt;
from the shell. --[[User:gh78|gh78]] &lt;br /&gt;
&lt;br /&gt;
 26) The touchpad bugs are still there.&lt;br /&gt;
 Double clicks and 'dragging' don't register on my dell latitude touchpad.&lt;br /&gt;
The solution is to pass 'psmouse.proto=imps'   to the kernel.&lt;br /&gt;
This can be done at the CD cheatcode prompt.&lt;br /&gt;
It would be nice if it was programmed in by default. --[[User:gh78|gh78]] &lt;br /&gt;
&lt;br /&gt;
27) Running '/etc/init.d/ssh stop' doesn't seem to actually stop sshd. I have to kill the process manually to stop the ssh server.&lt;br /&gt;
&lt;br /&gt;
[[Category:Bug Pages]]&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Rescue_FAQ</id>
		<title>Rescue FAQ</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Rescue_FAQ"/>
				<updated>2006-08-01T11:32:31Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Q: I forgot my password for an installed Windows/Linux!? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-German Version: [[Rescue FAQ Deutsch]]&lt;br /&gt;
&lt;br /&gt;
-Versión en español : [[Rescate FAQ]]&lt;br /&gt;
----&lt;br /&gt;
Return to [[Knoppix FAQ]]&lt;br /&gt;
----&lt;br /&gt;
Knoppix is a great rescue disc too. You can repair Linux or that other OS, backup data, recover passwords, etc. The following solutions assume that you have booted&lt;br /&gt;
Knoppix on the machine that needs to be repaired.&lt;br /&gt;
&lt;br /&gt;
==== Q: I need to get into my Debian system to update some packages as my system is unable to boot! How do I do that? ====&lt;br /&gt;
A: Boot with the Knoppix CD and mount that partition using the Knoppix root shell. For example:&lt;br /&gt;
*'''mount /dev/hda1 /mnt/hda1&lt;br /&gt;
*'''chroot /mnt/hda1&lt;br /&gt;
Gives you a root shell back in your old system! Now get the resolved and updated packages [http://www.debian.org/distrib/packages] and dpkg -install them to fix the previous show stopping packages.&lt;br /&gt;
&lt;br /&gt;
==== Q: My other Linux install is broken and I want to reinstall LILO. ====&lt;br /&gt;
A: Mount that partition and run LILO as root:&lt;br /&gt;
*e.g. '''mount -o dev /mnt/hda1''', if its already mounted, you'll have to clear the &amp;quot;nodev&amp;quot; flag: '''sudo mount -o remount,dev /mnt/hda1'''.&lt;br /&gt;
*Enter that directory as root and run lilo: '''chroot /mnt/hda1 lilo'''.&lt;br /&gt;
&lt;br /&gt;
==== Q: Ok, I've booted Knoppix, now how do I rescue the data? ====&lt;br /&gt;
A1: See [http://www.shockfamily.net/cedric/knoppix/ Computer First Aid Using Knoppix], &lt;br /&gt;
[http://www-128.ibm.com/developerworks/linux/library/l-knopx.html?ca=dgr-lnxw01-obg-SysRecover System Recovery] and &lt;br /&gt;
[http://www.greenfly.org/talks/knoppix/rescue-oscon05.html OSCON 2005-08-04 System Rescue with Knoppix].&lt;br /&gt;
&lt;br /&gt;
A2: One of the best ways to recover your files is to plug in a USB drive of some sort.&lt;br /&gt;
* When the desktop loads, you will see at least two hard drive icons on the desktop (one for your hard drive and one for the USB drive).&lt;br /&gt;
* Click on the hard drive icons to open them up and figure out which drive is which.&lt;br /&gt;
* Right-click the USB drive icon and choose &amp;quot;Actions &amp;gt; Change read/write mode&amp;quot; so you can write to the drive (it's read-only by default for security reasons).&lt;br /&gt;
* Now find the files you want to back up and drag and drop them to the USB drive. When you are finished, shut down the system and remove the USB drive.&lt;br /&gt;
&lt;br /&gt;
A3: If you have a CD burner installed (in addition to the drive that you booted Knoppix from), use one of the various tools on Knoppix to create a CD. If you have 1 gig of memory you can use the toram &amp;quot;cheat code&amp;quot; so that you will not need to keep the CD in the drive if you only have one CD drive. See the wiki section on [[Cheat Codes]] for more details on how to use toram and other cheat codes.&lt;br /&gt;
&lt;br /&gt;
A4: If you want to backup over the network, you can use NFS, Samba (windows share), scp (ssh copy), FTP, email or more.&lt;br /&gt;
One method, using two networked machines on knoppix is as follows:&lt;br /&gt;
boot knoppix on both machines (the &amp;quot;broken&amp;quot; machine and the target machine), start ssh server on the target machine, &amp;quot;kmenu-&amp;gt;KNOPPIX-&amp;gt;Servers-&amp;gt;SSH Server&amp;quot;, mount a device with sufficient space in read/write mode (note: NTFS does not currently support read/write). Then you can use scp to move the data from the broken machine to the target machine (in this example, the target machine has an IP address of 192.168.1.1).  On the &amp;quot;broken&amp;quot; box (get a root shell) issue a command  '''scp -r /mnt/hda1/importantdata/ knoppix@192.168.1.1:/mnt/hda1/backup/''' this will copy an entire directory (recursively) to the target machine.&lt;br /&gt;
&lt;br /&gt;
A5: If you don't have a USB device that you can use or another local system to transfer files to, you can send the files to an Internet site (although your Internet connection will be slower than a local transfer). You may be able to e-mail them to yourself. You may be able to save them on FTP  or web space that your ISP provides. Or you can use any of a number of Internet sites that offer Free temporary storage of large files. One such site it yousendit.com, although there are others. Also, Google allows over 2 gigs of storage for Gmail users (although the size of a single file is somewhat limited).&lt;br /&gt;
&lt;br /&gt;
A6: For some users the most simple solution is to stick another disk drive in the case and format it with a FAT32 partition. Or add a second CD or DVD drive.&lt;br /&gt;
&lt;br /&gt;
==== Q: I'd like to backup/restore the MBR. ====&lt;br /&gt;
A:&lt;br /&gt;
*To backup use:&lt;br /&gt;
**'''sudo dd if=/dev/hda of=mbr.backup bs=512 count=1'''&lt;br /&gt;
*To restore use:&lt;br /&gt;
**'''sudo dd of=/dev/hda if=mbr.backup bs=512 count=1'''&lt;br /&gt;
&lt;br /&gt;
'''Caution''' the MBR contains the partition table (the first four primary entries) it will break things if you changed the partition since the backup.&lt;br /&gt;
&lt;br /&gt;
If you do not want to restore the partition table you should use '''sudo dd of=/dev/hda if=mbr.backup bs=1 count=448''' instead. This will write only the first 448 bytes of the MBR leaving the last 64 bytes intact (4 partition table entries * 16 bytes/entry).&lt;br /&gt;
&lt;br /&gt;
Be warned that you '''may''' not be able to boot from this disk if you changed the partition table after the backup of the MBR, depending on the actual boot loader .&lt;br /&gt;
&lt;br /&gt;
==== Q: I forgot my password for an installed Windows/Linux!? ====&lt;br /&gt;
Linux A1: You can change password by chrooting into installed linux and running passwd. You may need to mount your linux read-write:&lt;br /&gt;
*'''mount -o remount,rw /dev/hd.. /mnt/hd..&lt;br /&gt;
*'''chroot /mnt/hd..&lt;br /&gt;
*'''passwd root&lt;br /&gt;
&lt;br /&gt;
Linux A2: Delete the password hash from shadow:&lt;br /&gt;
*edit the '''/etc/shadow''' file on your drive with any text editor (e.g. '''vi /mnt/hd../etc/shadow''')&lt;br /&gt;
*remove the password hash (contents of the second field) for root; e.g.&lt;br /&gt;
:root:dsfDSDF!s:12581:0:99999:7:::&lt;br /&gt;
:to&lt;br /&gt;
:root::12581:0:99999:7:::&lt;br /&gt;
*your root password should now be blank&lt;br /&gt;
*See [http://linuxgazette.net/107/tomar.html How to reset forgotten root passwords] for more information.&lt;br /&gt;
&lt;br /&gt;
Windows: use the [http://home.eunet.no/~pnordahl/ntpasswd/ Offline NT Password &amp;amp; Registry Editor] instead to reset it.&lt;br /&gt;
&lt;br /&gt;
==== Q: The other Linux/*nix box does not work correctly, but im sure the network is functional. ====&lt;br /&gt;
A: try &amp;quot;ssh&amp;quot; and/or &amp;quot;telnet&amp;quot; to log in on that remote box. you'll need to know a password, but after that you can use the shell to repair the box.&lt;br /&gt;
&lt;br /&gt;
==== Q: Rescuing knoppix with knoppix :-)  &amp;quot;I am a new user to linux and i just installed KNOPPIX on one partition, but then i installed windows 98 on another partition and now i can't get lilo to come back.... how do i make it so lilo will come back&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
A:&lt;br /&gt;
*boot from floppy&lt;br /&gt;
**You can boot the system with the boot floppy you got when you installed Knoppix on HDD.&lt;br /&gt;
**Then edit the file /etc/lilo.conf . After that start &amp;quot;lilo&amp;quot; as root.&lt;br /&gt;
*boot from CD&lt;br /&gt;
**Boot the CD and type &amp;quot;knoppix 2&amp;quot; (see [[Cheat Codes]]). This will start knoppix into the shell/commandline.&lt;br /&gt;
**Mount your root partition '''mount  /dev/hda1 /mnt''', edit /mnt/etc/lilo.conf (insert your windows partition),&lt;br /&gt;
**Change root to your hd install: ''' chroot /mnt/hda1''' (substitute hda1 for your hd install partition)&lt;br /&gt;
*and execute lilo: '''lilo -v'''&lt;br /&gt;
&lt;br /&gt;
==== Q: How do I load Windows (aka Samba) shares from Knoppix? ====&lt;br /&gt;
A: There are several ways but the easiest is probably:&lt;br /&gt;
*Go into Konqueror, Go up to the Location bar and Type the host information in the format: ''[smb://HOST/SHARE'']&lt;br /&gt;
*Three handy utilities to scan the network if you forget the HOST, are [[Lin Neighborhood]] (for versions released on or later than 2003-04-18), xSMBrowser (for 3.2 versions released before 2003-04-18) or Komba2 (for earlier versions) which is listed in the menus.&lt;br /&gt;
&lt;br /&gt;
==== Q: Are there any utilities on the knoppix disk to conveniently manage partitions, e.g. Disk Drake? ====&lt;br /&gt;
A: Tried '''parted''' ? [http://www.gnu.org/software/parted/] [http://www.knoppix.net/search?q=parted&amp;amp;submit=Go]&lt;br /&gt;
&lt;br /&gt;
A2: For resizing Windows XP/W2K/W2K3/NT4/Longhorn NTFS, Solution 2 in the&lt;br /&gt;
ntfsresize FAQ (Frequently Asked Questions) at&lt;br /&gt;
[http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html#example]&lt;br /&gt;
works well. Ntfsresize version 1.9.0 can even cope with fragmented partitions successfully.&lt;br /&gt;
For backup of a partition, Partition Image and ntfsclone are great!&lt;br /&gt;
[http://www.partimage.org/doc/index-3.html]&lt;br /&gt;
&lt;br /&gt;
A3: Knoppix also includes a graphical partition utility, QTParted, which is compatible with ntfsresize.&lt;br /&gt;
&lt;br /&gt;
==== Q: How do I setup swap? ====&lt;br /&gt;
A: On machines with small RAM you would want to have a swap file when running knoppix from CD. You can create a swap file on your partition, register it in /etc/fstab and turn swap on. Choose a mounted partition which has enough free space, for the purpose of this example let it be /mnt/hda1&lt;br /&gt;
*Create a linear file: '''dd if=/dev/zero of=/mnt/hda1/swapfile bs=1024 count=65536''' for a 64Mb swap file&lt;br /&gt;
*Add the swap partition tables: '''mkswap /mnt/hda1/swapfile'''&lt;br /&gt;
*Register the file in /etc/fstab: as root add a line '''/mnt/hda1/swapfile swap swap defaults 0 0'''&lt;br /&gt;
*Turn swapping on: run '''swapon -a''' as root&lt;br /&gt;
*Check that the swap file appears in /proc/swaps&lt;br /&gt;
----&lt;br /&gt;
Return to [[Knoppix FAQ]] .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category : FAQ Page]]&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Rescue_FAQ</id>
		<title>Rescue FAQ</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Rescue_FAQ"/>
				<updated>2006-07-29T08:05:41Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Q: I forgot my password for an installed Windows/Linux!? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-German Version: [[Rescue FAQ Deutsch]]&lt;br /&gt;
&lt;br /&gt;
-Versión en español : [[Rescate FAQ]]&lt;br /&gt;
----&lt;br /&gt;
Return to [[Knoppix FAQ]]&lt;br /&gt;
----&lt;br /&gt;
Knoppix is a great rescue disc too. You can repair Linux or that other OS, backup data, recover passwords, etc. The following solutions assume that you have booted&lt;br /&gt;
Knoppix on the machine that needs to be repaired.&lt;br /&gt;
&lt;br /&gt;
==== Q: I need to get into my Debian system to update some packages as my system is unable to boot! How do I do that? ====&lt;br /&gt;
A: Boot with the Knoppix CD and mount that partition using the Knoppix root shell. For example:&lt;br /&gt;
*'''mount /dev/hda1 /mnt/hda1&lt;br /&gt;
*'''chroot /mnt/hda1&lt;br /&gt;
Gives you a root shell back in your old system! Now get the resolved and updated packages [http://www.debian.org/distrib/packages] and dpkg -install them to fix the previous show stopping packages.&lt;br /&gt;
&lt;br /&gt;
==== Q: My other Linux install is broken and I want to reinstall LILO. ====&lt;br /&gt;
A: Mount that partition and run LILO as root:&lt;br /&gt;
*e.g. '''mount -o dev /mnt/hda1''', if its already mounted, you'll have to clear the &amp;quot;nodev&amp;quot; flag: '''sudo mount -o remount,dev /mnt/hda1'''.&lt;br /&gt;
*Enter that directory as root and run lilo: '''chroot /mnt/hda1 lilo'''.&lt;br /&gt;
&lt;br /&gt;
==== Q: Ok, I've booted Knoppix, now how do I rescue the data? ====&lt;br /&gt;
A1: See [http://www.shockfamily.net/cedric/knoppix/ Computer First Aid Using Knoppix], &lt;br /&gt;
[http://www-128.ibm.com/developerworks/linux/library/l-knopx.html?ca=dgr-lnxw01-obg-SysRecover System Recovery] and &lt;br /&gt;
[http://www.greenfly.org/talks/knoppix/rescue-oscon05.html OSCON 2005-08-04 System Rescue with Knoppix].&lt;br /&gt;
&lt;br /&gt;
A2: One of the best ways to recover your files is to plug in a USB drive of some sort.&lt;br /&gt;
* When the desktop loads, you will see at least two hard drive icons on the desktop (one for your hard drive and one for the USB drive).&lt;br /&gt;
* Click on the hard drive icons to open them up and figure out which drive is which.&lt;br /&gt;
* Right-click the USB drive icon and choose &amp;quot;Actions &amp;gt; Change read/write mode&amp;quot; so you can write to the drive (it's read-only by default for security reasons).&lt;br /&gt;
* Now find the files you want to back up and drag and drop them to the USB drive. When you are finished, shut down the system and remove the USB drive.&lt;br /&gt;
&lt;br /&gt;
A3: If you have a CD burner installed (in addition to the drive that you booted Knoppix from), use one of the various tools on Knoppix to create a CD. If you have 1 gig of memory you can use the toram &amp;quot;cheat code&amp;quot; so that you will not need to keep the CD in the drive if you only have one CD drive. See the wiki section on [[Cheat Codes]] for more details on how to use toram and other cheat codes.&lt;br /&gt;
&lt;br /&gt;
A4: If you want to backup over the network, you can use NFS, Samba (windows share), scp (ssh copy), FTP, email or more.&lt;br /&gt;
One method, using two networked machines on knoppix is as follows:&lt;br /&gt;
boot knoppix on both machines (the &amp;quot;broken&amp;quot; machine and the target machine), start ssh server on the target machine, &amp;quot;kmenu-&amp;gt;KNOPPIX-&amp;gt;Servers-&amp;gt;SSH Server&amp;quot;, mount a device with sufficient space in read/write mode (note: NTFS does not currently support read/write). Then you can use scp to move the data from the broken machine to the target machine (in this example, the target machine has an IP address of 192.168.1.1).  On the &amp;quot;broken&amp;quot; box (get a root shell) issue a command  '''scp -r /mnt/hda1/importantdata/ knoppix@192.168.1.1:/mnt/hda1/backup/''' this will copy an entire directory (recursively) to the target machine.&lt;br /&gt;
&lt;br /&gt;
A5: If you don't have a USB device that you can use or another local system to transfer files to, you can send the files to an Internet site (although your Internet connection will be slower than a local transfer). You may be able to e-mail them to yourself. You may be able to save them on FTP  or web space that your ISP provides. Or you can use any of a number of Internet sites that offer Free temporary storage of large files. One such site it yousendit.com, although there are others. Also, Google allows over 2 gigs of storage for Gmail users (although the size of a single file is somewhat limited).&lt;br /&gt;
&lt;br /&gt;
A6: For some users the most simple solution is to stick another disk drive in the case and format it with a FAT32 partition. Or add a second CD or DVD drive.&lt;br /&gt;
&lt;br /&gt;
==== Q: I'd like to backup/restore the MBR. ====&lt;br /&gt;
A:&lt;br /&gt;
*To backup use:&lt;br /&gt;
**'''sudo dd if=/dev/hda of=mbr.backup bs=512 count=1'''&lt;br /&gt;
*To restore use:&lt;br /&gt;
**'''sudo dd of=/dev/hda if=mbr.backup bs=512 count=1'''&lt;br /&gt;
&lt;br /&gt;
'''Caution''' the MBR contains the partition table (the first four primary entries) it will break things if you changed the partition since the backup.&lt;br /&gt;
&lt;br /&gt;
If you do not want to restore the partition table you should use '''sudo dd of=/dev/hda if=mbr.backup bs=1 count=448''' instead. This will write only the first 448 bytes of the MBR leaving the last 64 bytes intact (4 partition table entries * 16 bytes/entry).&lt;br /&gt;
&lt;br /&gt;
Be warned that you '''may''' not be able to boot from this disk if you changed the partition table after the backup of the MBR, depending on the actual boot loader .&lt;br /&gt;
&lt;br /&gt;
==== Q: I forgot my password for an installed Windows/Linux!? ====&lt;br /&gt;
Linux: You can change password by chrooting into installed linux and running passwd. You may need to mount your linux read-write:&lt;br /&gt;
*'''mount -o remount,rw /dev/hd.. /mnt/hd..&lt;br /&gt;
*'''chroot /mnt/hd..&lt;br /&gt;
*'''passwd root&lt;br /&gt;
&lt;br /&gt;
Windows: use the [http://home.eunet.no/~pnordahl/ntpasswd/ Offline NT Password &amp;amp; Registry Editor] instead to reset it.&lt;br /&gt;
&lt;br /&gt;
==== Q: The other Linux/*nix box does not work correctly, but im sure the network is functional. ====&lt;br /&gt;
A: try &amp;quot;ssh&amp;quot; and/or &amp;quot;telnet&amp;quot; to log in on that remote box. you'll need to know a password, but after that you can use the shell to repair the box.&lt;br /&gt;
&lt;br /&gt;
==== Q: Rescuing knoppix with knoppix :-)  &amp;quot;I am a new user to linux and i just installed KNOPPIX on one partition, but then i installed windows 98 on another partition and now i can't get lilo to come back.... how do i make it so lilo will come back&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
A:&lt;br /&gt;
*boot from floppy&lt;br /&gt;
**You can boot the system with the boot floppy you got when you installed Knoppix on HDD.&lt;br /&gt;
**Then edit the file /etc/lilo.conf . After that start &amp;quot;lilo&amp;quot; as root.&lt;br /&gt;
*boot from CD&lt;br /&gt;
**Boot the CD and type &amp;quot;knoppix 2&amp;quot; (see [[Cheat Codes]]). This will start knoppix into the shell/commandline.&lt;br /&gt;
**Mount your root partition '''mount  /dev/hda1 /mnt''', edit /mnt/etc/lilo.conf (insert your windows partition),&lt;br /&gt;
**Change root to your hd install: ''' chroot /mnt/hda1''' (substitute hda1 for your hd install partition)&lt;br /&gt;
*and execute lilo: '''lilo -v'''&lt;br /&gt;
&lt;br /&gt;
==== Q: How do I load Windows (aka Samba) shares from Knoppix? ====&lt;br /&gt;
A: There are several ways but the easiest is probably:&lt;br /&gt;
*Go into Konqueror, Go up to the Location bar and Type the host information in the format: ''[smb://HOST/SHARE'']&lt;br /&gt;
*Three handy utilities to scan the network if you forget the HOST, are [[Lin Neighborhood]] (for versions released on or later than 2003-04-18), xSMBrowser (for 3.2 versions released before 2003-04-18) or Komba2 (for earlier versions) which is listed in the menus.&lt;br /&gt;
&lt;br /&gt;
==== Q: Are there any utilities on the knoppix disk to conveniently manage partitions, e.g. Disk Drake? ====&lt;br /&gt;
A: Tried '''parted''' ? [http://www.gnu.org/software/parted/] [http://www.knoppix.net/search?q=parted&amp;amp;submit=Go]&lt;br /&gt;
&lt;br /&gt;
A2: For resizing Windows XP/W2K/W2K3/NT4/Longhorn NTFS, Solution 2 in the&lt;br /&gt;
ntfsresize FAQ (Frequently Asked Questions) at&lt;br /&gt;
[http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html#example]&lt;br /&gt;
works well. Ntfsresize version 1.9.0 can even cope with fragmented partitions successfully.&lt;br /&gt;
For backup of a partition, Partition Image and ntfsclone are great!&lt;br /&gt;
[http://www.partimage.org/doc/index-3.html]&lt;br /&gt;
&lt;br /&gt;
A3: Knoppix also includes a graphical partition utility, QTParted, which is compatible with ntfsresize.&lt;br /&gt;
&lt;br /&gt;
==== Q: How do I setup swap? ====&lt;br /&gt;
A: On machines with small RAM you would want to have a swap file when running knoppix from CD. You can create a swap file on your partition, register it in /etc/fstab and turn swap on. Choose a mounted partition which has enough free space, for the purpose of this example let it be /mnt/hda1&lt;br /&gt;
*Create a linear file: '''dd if=/dev/zero of=/mnt/hda1/swapfile bs=1024 count=65536''' for a 64Mb swap file&lt;br /&gt;
*Add the swap partition tables: '''mkswap /mnt/hda1/swapfile'''&lt;br /&gt;
*Register the file in /etc/fstab: as root add a line '''/mnt/hda1/swapfile swap swap defaults 0 0'''&lt;br /&gt;
*Turn swapping on: run '''swapon -a''' as root&lt;br /&gt;
*Check that the swap file appears in /proc/swaps&lt;br /&gt;
----&lt;br /&gt;
Return to [[Knoppix FAQ]] .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category : FAQ Page]]&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Installation_Ueber_Netz</id>
		<title>Installation Ueber Netz</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Installation_Ueber_Netz"/>
				<updated>2006-07-07T08:08:45Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Klonen einer bestehenden Festplatteninstallation (egal, welches Betriebssystem) �ber Netz: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Klonen einer bestehenden Festplatteninstallation (egal, welches Betriebssystem) �ber Netz: ===&lt;br /&gt;
&lt;br /&gt;
Ich benutze Knoppix taeglich, um mittels der netboot-Option Rechner zu klonen. Das ist einfach und erspart es uns, fuer jedes System eine Norton-Ghost Lizenz zu kaufen.&lt;br /&gt;
&lt;br /&gt;
Wir haben mehrere identisch zu konfigurierende Rechner f�r das Produkt, das wir verkaufen. Um welche davon neu einzurichten, benutze ich einen, der bereits eingerichtet ist (Master), als Knoppix Boot-Server. Die neuen Rechner, ohne Betriebssystem und Software, werden per Netzwerkkabel mit dem Master verbunden und booten vom dort laufenden Knoppix Server.&lt;br /&gt;
&lt;br /&gt;
Dann f�hre ich folgende Befehle f�r jedes Gruppenmitglied durch:&lt;br /&gt;
&lt;br /&gt;
*Auf dem Master-Rechner:&lt;br /&gt;
**2 root-Konsolen �ffnen&lt;br /&gt;
**xload in einem starten&lt;br /&gt;
**gzip -c -9 /dev/hda | nc -l -p 5030&lt;br /&gt;
&lt;br /&gt;
*Auf dem Zielrechner:&lt;br /&gt;
**nc 192.168.0.1 5030 | gunzip &amp;gt; /dev/hda (192.168.0.1 ist die IP des Masters)&lt;br /&gt;
&lt;br /&gt;
Wenn xload auf 0 geht, wei� ich, dass der Vorgang fertig ist. Typischerweise kann ich 2 oder 3 Clients gleichzeitig klonen.&lt;br /&gt;
&lt;br /&gt;
F�r Windows-9x-Systeme f�hre ich &amp;quot;format c: /s&amp;quot; unter DOS aus und entpacke ein tar-Archiv, das ich mit Knoppix erstellt habe.&lt;br /&gt;
&lt;br /&gt;
Da Knoppix die Hardware selber konfiguriert, habe ich kein Problem mit dem Erstellen von Boot-Floppies oder dem Aufbewahren solcher Floppies.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Optimierung: ====&lt;br /&gt;
&lt;br /&gt;
Ich mache solche Sachen auch �fter. Das oben beschriebene funktioniert.&lt;br /&gt;
Schneller geht es mit folgenden Modifikationen:&lt;br /&gt;
&lt;br /&gt;
*Auf dem Zielrechner erst einmal, um die IP-Nummer herauszufinden:&lt;br /&gt;
**ifconfig -a&lt;br /&gt;
*Dann&lt;br /&gt;
**echo Daten�bertragung l�uft | nc -v -v -l -p 5030 | gunzip ~|&lt;br /&gt;
**buffer -m 1m &amp;gt; /dev/hda&lt;br /&gt;
*Wenn das wartet, '''anschlie�end''' auf dem Server:&lt;br /&gt;
**buffer -m 1m &amp;lt; /dev/hda | gzip -2 | nc -v -v -w 10 192.168.0.17 5030&lt;br /&gt;
&lt;br /&gt;
(Wobei f�r 192.168.0.17 die IP-Nummer des Zielrechners einzusetzen ist.)&lt;br /&gt;
&lt;br /&gt;
Dieses Verfahren hat folgende Vorteile gegen�ber dem oben beschriebenen:&lt;br /&gt;
&lt;br /&gt;
*Durch den Einsatz von &amp;quot;buffer&amp;quot; h�herer Durchsatz. (Man kann auch damit experimentieren, den &amp;quot;buffer&amp;quot; zwischen gzip und nc einzusetzen, oder beides.)&lt;br /&gt;
*Normalerweise wird &amp;quot;gzip -9&amp;quot; zum Engpass.  Diese hohe Komprimierung ist �bertrieben.&lt;br /&gt;
*Durch das &amp;quot;-w 10&amp;quot; auf dem Server baut sich die Sache auf beiden Seiten ab, wenn alle Daten �bertragen sind.  Es ist nicht n�tig, hier mit xload oder �hnlichem zu beobachten.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*H�tte ich drei Zielrechner 192.168.0.18 bis 192.168.0.20, so w�rde ich auf jedem Zielrechner dasselbe machen wie oben, danach aber auf dem  Server folgendes tun:&lt;br /&gt;
**cd /tmp&lt;br /&gt;
**mknod pipe1 p; nc -v -v -w 10 192.168.0.18 5030 &amp;lt; pipe1 ~&amp;amp;&lt;br /&gt;
**mknod pipe2 p; nc -v -v -w 10 192.168.0.19 5030 &amp;lt; pipe2 ~&amp;amp;&lt;br /&gt;
**buffer -m 1m &amp;lt; /dev/hda | gzip -2 | buffer -m 1m ~|&lt;br /&gt;
**tee pipe1 | tee pipe2 | nc -v -v -w 10 192.168.0.20 5030&lt;br /&gt;
&lt;br /&gt;
Der Trick hier ist, dass durch die &amp;quot;named pipes&amp;quot; die Festplatte auf dem Server nur ein mal gelesen werden muss.  Dieses Verfahren st��t nicht schon bei drei Zielrechnern an seine Grenzen.&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Remaster_From_Hd_Install_HowTo</id>
		<title>Remaster From Hd Install HowTo</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Remaster_From_Hd_Install_HowTo"/>
				<updated>2006-07-07T08:03:45Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Tip:  Removing applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(posted by [[Crashed Again]] (sorry no web address); comments &amp;amp; additions welcome)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
How to remaster Knoppix directly from an operating 'Knoppix type&amp;quot; HD install instead of from a special system accessed by chrooting into it. This allows a much easier setup and you can boot directly into the remaster and operate from it, checking and improving the system as the customization progresses. It is also less confusing, you don't have to keep track of whether or not you are in the chrooted environment.&lt;br /&gt;
&lt;br /&gt;
This method also includes a second installation of a 'toHD' or 'poor mans install' as there are some operations which must be done from outside the system being remastered. This second installation provides this capability, serves as a backup system and also serves as a test bed for the final remastered compressed file system.&lt;br /&gt;
&lt;br /&gt;
The toHD installation is not absolutely necessary as the Knoppix CD could be used instead but operating from the HD is faster and much more convenient. When combined with a 'persistent home' and configuration setup saved to HD, the toHD install makes a very efficient &amp;amp; compact operating system.&lt;br /&gt;
&lt;br /&gt;
The persistent home is another knoppix feature which can be very useful in remastering. Since remastering often becomes an ongoing process, persistent home can be used to maintain consistency and retain system configuration settings throughout the process. You can even use the same persistent home for the HDinstall remaster source and the backup toHD system.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== System Requirements &amp;amp; Setup ====&lt;br /&gt;
&lt;br /&gt;
This method is applicable to Knoppix versions later than 3.3. Earlier versions do not have the provision for the required 'Knoppix style' HD installation.&lt;br /&gt;
&lt;br /&gt;
Any computer capable of running Knoppix can be used for remastering provided it has enough free space on the hard drive. Approximately 6 Gig of free space is required:&lt;br /&gt;
&lt;br /&gt;
*HD installed Knoppix......................................................min 2.3 Gig&amp;lt;br&amp;gt;&lt;br /&gt;
*assembled compressed file system...............................700 Meg&amp;lt;br&amp;gt;&lt;br /&gt;
*final iso file system ready to burn to CD........................700 Meg&amp;lt;br&amp;gt;&lt;br /&gt;
*combined RAM &amp;amp; swap space totalling 1 Gig..................500-700Meg&amp;lt;br&amp;gt;&lt;br /&gt;
*toHD Knoppix operating system.....................................700 Meg&amp;lt;br&amp;gt;&lt;br /&gt;
*Total...............................................................................6.1 Gig&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this example we are going to assume we are starting from a HD with some form of Windows on it which will be set up for dual boot as this is probably more typical than a Linux only system. Functionally, the only difference having the Windows system actually makes is to change the partition numbers.&lt;br /&gt;
&lt;br /&gt;
The recommended HD partition is as follows:&lt;br /&gt;
&lt;br /&gt;
*hda1...Windows O/S....................................size as appropriate&lt;br /&gt;
*hda5...Knoppix HD install.............................min 2.3 Gig, 3-3.5 preferred&lt;br /&gt;
*hda6...new remastered isos........................min 1.5 Gig&lt;br /&gt;
*hda7...shared Windows/Linux data, VFAT format, all remaining space&lt;br /&gt;
*hda8...Linux swap......................................approx 500-700 Meg&lt;br /&gt;
*      (swap size as needed to total 1Gig RAM + swap)&lt;br /&gt;
&lt;br /&gt;
NOTE: Some Linux users add a separate partition for /home to keep their data on a separate partition from the O/S; instead of using a separate partition, put your data on hda7 &amp;amp; add symlinks in your /home directory to access the directories on hda7. The command for making symlinks is&lt;br /&gt;
&lt;br /&gt;
 '''ln -s /mnt/hda7/your''directory /home/knoppix/directory''name'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The HD install being remastered must be on a separate partition by itself (hda5) as the whole partition will be used as the source for creating the compressed file system.&lt;br /&gt;
&lt;br /&gt;
The create compressed file system command must be run from a different operating system than the source for the compressed file system. We are going to use the toHD install for this operation.&lt;br /&gt;
&lt;br /&gt;
The toHD system should preferably be installed on hda1 with a persistent home and configuration files on hda7. The reason is that Knoppix will not give write access to the partition on which the toHD system is installed. Since we must have write access to hda6 to create the compressed file system and should also have write access to the hda7 as it is our main data drive, the toHD install should go on hda1. Not having write access to hda1 is of no consequence as it contains only the Windows operating system.&lt;br /&gt;
&lt;br /&gt;
If it is not possible to put the toHD system on hda1, it should go on hda7 either with no persistent home or with persistent home on its own separate partition.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Partition the HD and install Knoppix ====&lt;br /&gt;
&lt;br /&gt;
Partition the HD as above and install Knoppix as a 'Knoppix style' HD install. With Knoppix 3.3 &amp;amp; 3.4 the install command is:&lt;br /&gt;
 '''sudo knoppix-installer'''&lt;br /&gt;
This may change for later versions of Knoppix. Put the bootloader lilo on the MBR, it will be used to boot the toHD install as well.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Install the toHD system &amp;amp; set up to boot from lilo ====&lt;br /&gt;
&lt;br /&gt;
To install, just boot Knoppix with the boot code 'knoppix tohd=/dev/hda1' at the boot prompt.&lt;br /&gt;
&lt;br /&gt;
In order to boot the toHD install without requiring a boot disk, a directory /boot containing at least the minimum required files to boot Knoppix must be installed on hda1. Using the HD install on hda5, first create the directory then as root do the following:&lt;br /&gt;
&lt;br /&gt;
'''For Knoppix 3.3:&lt;br /&gt;
&lt;br /&gt;
The minimum files are vmlinuz and miniroot.gz which can not be directly copied from the CD, they are buried in /boot.img. To extract the files, the boot.img must first be mounted on a loop device then on an intermediate mount point (use the existing directory /mnt/floppy) from which they can be copied to hda1. For simplicity we are just going to copy all the files in the boot.img.&lt;br /&gt;
&lt;br /&gt;
 '''/sbin/losetup /dev/loop0 /mnt/cdrom/KNOPPIX/boot.img'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''mount /dev/loop0 /mnt/floppy/'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''cp /mnt/floppy/* /mnt/hda1/boot'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then edit /etc/lilo.conf adding the following&lt;br /&gt;
&lt;br /&gt;
 '''image=/mnt/hda1/boot/vmlinuz'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''label=&amp;quot;toHDKnoppix&amp;quot;'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''append=&amp;quot;lang=us fromhd=/dev/hda1 home=scan myconfig=scan apm=power-off&amp;quot;'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''initrd=/mnt/hda1/boot/miniroot.gz'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''read-only'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Change &amp;quot;lang=&amp;quot; as appropriate, only include the home=scan &amp;amp; myconfig=scan if you are using 'persistent home')&lt;br /&gt;
&lt;br /&gt;
'''For Knoppix 3.4:&lt;br /&gt;
&lt;br /&gt;
The required files are linux24, linux26, minirt24.gz &amp;amp; minirt26.gz. These are located in the directory /boot/isolinux on the CD and can be directly copied to hda1 from there. The easiest way is to just use konqueror and drag-drop the entire directory '/mnt/cdrom/isolinux' to /mnt/hda1/boot/.&lt;br /&gt;
&lt;br /&gt;
Then add the following to lilo.conf:&lt;br /&gt;
 '''image=/mnt/hda1/boot/isolinux/linux24'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''label=&amp;quot;Knoppix3.4-24&amp;quot;'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''append=&amp;quot;lang=us fromhd=/dev/hda1 home=scan myconfig=scan apm=power-off&amp;quot;'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''initrd=/mnt/hda1/boot/isolinux/minirt24.gz'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''read-only'''&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 '''image=/mnt/hda1/boot/isolinux/linux26'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''label=&amp;quot;Knoppix3.4-26&amp;quot;'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''append=&amp;quot;lang=us fromhd=/dev/hda1 home=scan myconfig=scan apm=power-off&amp;quot;'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''initrd=/mnt/hda1/boot/isolinux/minirt26.gz'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''read-only'''&lt;br /&gt;
&lt;br /&gt;
Don't forget to run lilo to update the settings before exiting.&lt;br /&gt;
&lt;br /&gt;
Now you can reboot into the toHD install, change the settings to your preferences, set up your persistent home and save your configuration settings to hda7. Persistent home doesn't have to be very large as the main data will be on hda7, /home contains primarily setup files &amp;amp; symlinks to hda7.&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Prepare hda6 to receive the remaster: ====&lt;br /&gt;
&lt;br /&gt;
; First, check your file /etc/fstab. There should be a line like this : '''/dev/hda6 /mnt/hda6 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0'''&lt;br /&gt;
&lt;br /&gt;
; as root, change it to add 'shortname=mixed' : '''/dev/hda6 /mnt/hda6 vfat shortname=mixed,auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0'''&lt;br /&gt;
&lt;br /&gt;
This is to insure that the file KNOPPIX will be named KNOPPIX, not knoppix. Since linux is case sensitive, lower case 'knoppix' will cause a 'cannot find filesystem' error on the remaster.&lt;br /&gt;
&lt;br /&gt;
Make a directory which will contain the assembled remastered file system prior to creating the final iso.&lt;br /&gt;
&lt;br /&gt;
 '''mkdir /mnt/hda6/knx-remaster'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy everything from the CD except the big KNOPPIX filesystem to this directory&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Remastering Tips: ====&lt;br /&gt;
&lt;br /&gt;
You are now ready to tweak the remaster into your own personal system. There is lots of information on customizing and remastering available, I am not going to go into any detail except to add the following tips.&lt;br /&gt;
&lt;br /&gt;
==== Tip:  Updating sources ====&lt;br /&gt;
&lt;br /&gt;
 '''Use 'dselect update' instead of 'apt-get update''''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;:dselect update' will keep the apt &amp;amp; deselect package lists in sync.&lt;br /&gt;
&lt;br /&gt;
==== Tip:  Removing applications ====&lt;br /&gt;
&lt;br /&gt;
 '''dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;:will list packages sorted by size.&lt;br /&gt;
&lt;br /&gt;
 '''deborphan | xargs apt-get -y remove'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;:will remove orphaned files not used by any package.&lt;br /&gt;
&lt;br /&gt;
 '''apt-get clean'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;:will remove archived .deb packages. These are no longer needed once the package has been installed.&lt;br /&gt;
&lt;br /&gt;
 '''Use a purgelist to remove multiple packages at once'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;:make up a 'purgelist' of the applications to remove then apt-get remove them all at once.&lt;br /&gt;
&lt;br /&gt;
;:example purgelist :&lt;br /&gt;
&lt;br /&gt;
;:3270 ace-of amanda anacron artwiz-cursor atitvout bonobo brltty chromium emacs enigma euro falconseye fetchmail fluxbox fortunes freeciv&lt;br /&gt;
&lt;br /&gt;
;:Note that this is a space-separated list, all on one line and that wildcards are permitted. If you use a CR separated list and apt-get comes to an item it cannot find, it will not continue. If you use dpkg instead of apt-get you cannot use wildcards. [[Open Office]] can generate a space separated list from a CR separated by saving as filetype .csv&lt;br /&gt;
&lt;br /&gt;
;:The command for using the purgelist is&lt;br /&gt;
&lt;br /&gt;
 '''apt-get remove `&amp;lt; purgelist `'''&amp;lt;br&amp;gt;&lt;br /&gt;
;:(The ` is the character under the tilde (~) key.)&lt;br /&gt;
&lt;br /&gt;
;:When making up your purgelist , TEST BEFORE USING. Interwoven dependencies can create some unexpected results...for instance removing aalib* will remove the Gimp and removing libarts1 will nuke all of KDE. For all but the simplest operations, apt-get will ask for confirmation before it does anything but be safe &amp;amp; use 'apt-get -s remove...' first. Read through the lists and make sure of what is going to happen before actually doing it.&lt;br /&gt;
&lt;br /&gt;
'''Clean up configuration files'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apt-get remove &amp;lt;package&amp;gt; will remove the package but does not remove the configuration files. You can clean up the configuration files with&lt;br /&gt;
&lt;br /&gt;
 '''COLUMNS=200 dpkg -l |grep ^rc |awk '{print $2} ' | xargs dpkg -P'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can do it all at once with&lt;br /&gt;
&lt;br /&gt;
 '''apt-get --purge remove &amp;lt;package&amp;gt;'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Tip: Changing the default background ====&lt;br /&gt;
&lt;br /&gt;
 '''cp your-favorite-image.jpg /usr/local/lib/knoppix.jpg'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it the same as your WM background and you have a nice transition from text mode to desktop.&lt;br /&gt;
&lt;br /&gt;
==== Tip: Language support ====&lt;br /&gt;
&lt;br /&gt;
Internationalization takes up over 5% of the Knoppix filesystem; removing uneeded language support will free up considerable filespace. Install the package 'localepurge' to remove all the language support you don't need.&lt;br /&gt;
&lt;br /&gt;
 '''apt-get remove kde-i18n*&lt;br /&gt;
&lt;br /&gt;
will clear over 100 Meg by removing all alternate kde language support files except english. Of course if you need support for another language you will only be able to remove the ones you don't need.&lt;br /&gt;
&lt;br /&gt;
==== Tip: Accidentally removing knoppix-installer ====&lt;br /&gt;
&lt;br /&gt;
;:The hard drive installer package needs the lib file kdelibs4. Removing KDE by the common method of 'apt-get remove libarts1' (which will remove all of KDE) will also remove the knx-installer, so you must either reinstall it after nuking KDE or use a different method of removing KDE packages. Personally I am a KDE user so don't nuke KDE but it may still become an issue when upgrading KDE.&lt;br /&gt;
&lt;br /&gt;
The package knx-installer is available from: http://debian.tu-bs.de/knoppix/installer/&lt;br /&gt;
&lt;br /&gt;
==== Tip: Removing Window managers: ====&lt;br /&gt;
&lt;br /&gt;
;:Boot 'Knoppix 2' if you are planning to remove your window manager; the system gets pretty confused if you remove KDE while running KDE.&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Cleaning Up ====&lt;br /&gt;
&lt;br /&gt;
Remove the file /etc/X11/XF86Config-4. The /etc/X11/xsession.d/45xsession script will generate the correct configuration for the hardware found only if there is no existing XF86Config-4 file.&lt;br /&gt;
&lt;br /&gt;
Remove any unneeded configuration files for applications you have removed from /home/knoppix. These are hidden files in your /home/knoppix directory. Check with your favorite file manager with 'show hidden files' enabled and remove any you don't need.&lt;br /&gt;
&lt;br /&gt;
Transfer your /home/knoppix directory to /etc/skel if you wish to save your setup. Knoppix CD loads default settings from /etc/skel unless a persistent home is used.&lt;br /&gt;
&lt;br /&gt;
 '''(as root)'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''cp /home/knoppix/* /etc/skel'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''cp /home/knoppix/.* /etc/skel'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''cp /home/knoppix/Desktop/* /etc/Desktop'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should not be necessary to remove your existing /home/knoppix prior to making your compressed file system except to save space; Knoppix will automatically overwrite /home/knoppix with /etc/skel during boot. If you do remove /home/knoppix, save it somewhere first so you can restore it if need be. Your HDinstall will resort to default settings unless your existing /home/knoppix is restored.&lt;br /&gt;
&lt;br /&gt;
Update your system databases&lt;br /&gt;
&lt;br /&gt;
 '''updatedb'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''ldconfig'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''update-modules'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should also run apt-get clean, purge old configuration files and remove deborphans as above before making the compressed file system.&lt;br /&gt;
&lt;br /&gt;
; You should also create default /etc/resolv.conf &amp;amp; /etc/dhcpc/resolv.conf files : '''cat &amp;gt;/etc/dhcpc/resolv.conf &amp;lt;&amp;lt;EOT'''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''' # insert nameservers here'''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''' # nameserver 127.0.0.1'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''EOT'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''chmod 644 /etc/dhcpc/resolv.conf'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''ln -s /etc/dhcpc/resolv.conf /etc/'''&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 '''cat &amp;gt;/etc/resolv.conf &amp;lt;&amp;lt;EOT'''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''' # insert nameservers here'''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''' # nameserver 127.0.0.1'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''EOT'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''chmod 644 /etc/resolv.conf'''&lt;br /&gt;
&lt;br /&gt;
You can remove other system config files such as /etc/sysconfig/''' and /etc/sysconfig/network-scripts/'''. This will result in your remaster starting up with all default Knoppix settings including language settings.&lt;br /&gt;
&lt;br /&gt;
You may not want to do this. Since you are making a custom remaster rather than a general purpose universal operating system like the Knoppix original, you may wish to retain your personal settings instead.&lt;br /&gt;
&lt;br /&gt;
==== Cleanup Script ====&lt;br /&gt;
&lt;br /&gt;
A 'clean-up' script called 'remaster-clean' will be included with this how-to. It is based on the original script by Klaus Knopper but modifications by several users have been incorporated as well as comments to help the neophyte understand what it is doing. It does not restore all config files to default values nor does it remove /home/knoppix. I have set it up this way because it leaves the HD install which I am using as a source intact after making the remaster.&lt;br /&gt;
&lt;br /&gt;
WARNING: This script has been successfully tested but as usual there are no guarantees it will work on your system. It should give slightly smaller file size than the basic cleanup outlined above since it removed expanded manpage files, etc. but be prepared for possible problems.&lt;br /&gt;
&lt;br /&gt;
It must be run as root. Copy the script to the /user/sbin directory then 'sudo remaster.clean' to run.&lt;br /&gt;
&lt;br /&gt;
Copy by using cut &amp;amp; paste but check the script before using with a text editor such as KDE's Kate; the most likely source of copy problems is unwanted spaces at the beginning of the line. This may cause problems, in particular with the line&lt;br /&gt;
&lt;br /&gt;
'''EOT'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is found in two places in the script. This 'EOT' must be at the beginning of the line&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;space&amp;gt;EOT will not work.'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 5: Making the compressed file system ====&lt;br /&gt;
&lt;br /&gt;
; This must be run from our 'alternate' operating system (the toHD install) : '''mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -P &amp;quot;KNOPPIX www.knoppix.net&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad /mnt/hda5 | nice -5 /usr/bin/create''compressed''fs - 65536 &amp;gt; /mnt/hda6/knx-remaster/KNOPPIX/KNOPPIX'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(this should be all on one line)&lt;br /&gt;
&lt;br /&gt;
Using the -b option for maximum compression will result in slightly better compression but will take much longer, sometimes as much as 12 hours.&lt;br /&gt;
&lt;br /&gt;
 '''mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -P &amp;quot;KNOPPIX www.knoppix.net&amp;quot; -hide-rr-moved \ &lt;br /&gt;
 '''-cache-inodes -no-bak -pad /mnt/hda5 | /usr/bin/create''compressed''fs -b - 65536 &amp;gt; \&lt;br /&gt;
 '''/mnt/hda6/knx-remaster/KNOPPIX/KNOPPIX'''&lt;br /&gt;
&lt;br /&gt;
FYI: What this means&lt;br /&gt;
&lt;br /&gt;
 ''mkisofs:''           the application to make the iso fs&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-R:''                generate SUSP &amp;amp; RR records&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-U: ''		allow untranslated filenames&amp;lt;br&amp;gt;&lt;br /&gt;
 (this is not iso9660 compliant &amp;amp; generates an error message which is of no consequence)&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-V &amp;quot;KNOPPIX.net filesystem&amp;quot;:	''Volume ID is &amp;quot;Knoppix.net filesystem&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 (change this to whatever name you wish)&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-P &amp;quot;KNOPPIX www.knoppix.net&amp;quot;: ''	Publisher ID is &amp;quot;KNOPPIX www.knoppix.net&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 (change this to whatever name you wish)&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-hide-rr-moved: ''renames the directory RR_MOVED to .rr-moved making it a hidden file&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-cache-inodes: ''this is a default setting&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-no-bak: ''do not include backup files&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-pad: ''pad the whole image by 300 sectors&amp;lt;br&amp;gt;&lt;br /&gt;
 ''/mnt/hda5: ''location of the source directory to be compressed&amp;lt;br&amp;gt;&lt;br /&gt;
 ''nice -5: ''sets an operating system priority of -5 on the compression job&amp;lt;br&amp;gt;&lt;br /&gt;
 ''| /usr/bin/create''compressed''fs: ''pipe output through the create''compressed''fs application&amp;lt;br&amp;gt;&lt;br /&gt;
 ''-b: ''use maximum compression (very slow output)&amp;lt;br&amp;gt;&lt;br /&gt;
 ''- : ''use std input (ie accept input from the pipe)&amp;lt;br&amp;gt;&lt;br /&gt;
 ''65536 : ''block size&amp;lt;br&amp;gt;&lt;br /&gt;
 ''&amp;gt; /mnt/hda6/knx-remaster/KNOPPIX/KNOPPIX: ''direct output to the file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
==== Step 6: Testing the compressed filesystem ====&lt;br /&gt;
&lt;br /&gt;
Simply replace the compressed file system 'KNOPPIX' on our toHD install with the remaster.&lt;br /&gt;
&lt;br /&gt;
 '''cp  /mnt/hda6/knx-remaster/KNOPPIX/KNOPPIX /mnt/hda1/KNOPPIX/KNOPPIX'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the original first if you want to but it is almost as easy to just reinstall from the CD if you need to restore it.&lt;br /&gt;
&lt;br /&gt;
After copying, boot into your toHD install. You should now see the results of your remastering efforts.&lt;br /&gt;
&lt;br /&gt;
I also use this method instead a CD to transfer the remaster to my laptop which is currently running a toHD system due to lack of HD space. Since I can transfer directly from the desktop to the laptop using the 'fish' protocol, I am not limited to the 700 Mb size limit imposed by the CD for my remaster.&lt;br /&gt;
&lt;br /&gt;
==== Step 7: Make the final iso ready for burning to CD ====&lt;br /&gt;
&lt;br /&gt;
Update the md5 sums&amp;lt;br&amp;gt;&lt;br /&gt;
You will have to use md5sum -b to set binary mode under linux (standard under windows)...&lt;br /&gt;
 '''cd /mnt/hda6/knx-remaster/'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''rm -f KNOPPIX/md5sums'''&amp;lt;br&amp;gt;&lt;br /&gt;
 '''find -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; &amp;gt;&amp;gt;   KNOPPIX/md5sums'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make the iso file to put on CD&lt;br /&gt;
&lt;br /&gt;
'''For knoppix 3.3:&lt;br /&gt;
&lt;br /&gt;
 '''mkisofs -pad -l -r -J -v -V &amp;quot;KNOPPIX&amp;quot; -b KNOPPIX/boot.img   -c KNOPPIX/boot.cat -hide-rr-moved -o /mnt/hda6/knx-remaster/knoppix.iso /mnt/hda6/knx-remaster/'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''For knoppix 3.4:&lt;br /&gt;
&lt;br /&gt;
 '''mkisofs -pad -l -r -J -v -V &amp;quot;KNOPPIX&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o /mnt/hda6/knx-remaster/knoppix.iso /mnt/hda6/knx-remaster/'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 8: Burn your iso CD: ====&lt;br /&gt;
&lt;br /&gt;
I just use k3b to do this.&lt;br /&gt;
&lt;br /&gt;
Or you can use Qemu ( see [http://fabrice.bellard.free.fr/qemu/] ) with the ISO image like this: qemu -m 128 -cdrom /temp/knoppix-custom.iso -boot d -user-net&lt;br /&gt;
&lt;br /&gt;
==== Other: ====&lt;br /&gt;
&lt;br /&gt;
There are other tweaks which can be done to improve performance such as sorting the files prior to burning the CD to optomize CD access time but the above covers the basics. There are also many other howtos &amp;amp; references available, in particular check out&lt;br /&gt;
&lt;br /&gt;
:[[Knoppix Remastering Howto]]&lt;br /&gt;
:[[Remastering Hacks]]&lt;br /&gt;
&lt;br /&gt;
Klaus Knopper's original scripts on which the remaster.clean script is based are posted [http://www.knoppix.net/forum/viewtopic.php?t=3314) here]&lt;br /&gt;
&lt;br /&gt;
but there are also newer versions posted [http://debian.tu-bs.de/knoppix/remaster/ here]&lt;br /&gt;
&lt;br /&gt;
which also includes scripting for remastering using the chroot method.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Cleanup Script: ====&lt;br /&gt;
&lt;br /&gt;
 ''#!/bin/bash''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''#This is the minimum cleanup script''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''#does not edit out all config files, remove /home/knoppix or restore system  to default state''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''#Original: Knoppix.checklibs (C) 2003 Klaus Knopper''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''#modified by !&amp;lt;nowiki&amp;gt;[[Crashed Again]]&amp;lt;/nowiki&amp;gt; for personal use''&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 umask 022&lt;br /&gt;
 &lt;br /&gt;
 /etc/init.d/autofs stop&amp;lt;br&amp;gt;&lt;br /&gt;
 /etc/init.d/apmd stop&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[-x /etc/init.d/knoppix-terminalserver ]]&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; /etc/init.d/knoppix-terminalserver deconfigure&lt;br /&gt;
 &lt;br /&gt;
 ''#remove only &amp;quot;temporary&amp;quot; or saved files in the given directories''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''#(rm -f is force, ignore non-existant files, never prompt)''&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 nuke(){&amp;lt;br&amp;gt;&lt;br /&gt;
 for i in `find &amp;quot;$@&amp;quot; -name \*.gz -o -name \*.bz2 -o -name \*.0 -o -name \&lt;br /&gt;
 \*.0.log -o -name browse.dat -o -name \*.\*pk 2&amp;gt;/dev/null`; do&amp;lt;br&amp;gt;&lt;br /&gt;
 rm -f &amp;quot;$i&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 done&amp;lt;br&amp;gt;&lt;br /&gt;
 }&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ''#set all files in the list to a length of zero''&lt;br /&gt;
 &lt;br /&gt;
 zero(){&amp;lt;br&amp;gt;&lt;br /&gt;
 for i in `find &amp;quot;$@&amp;quot; -type f -size +0 -not -name \*.ini 2&amp;gt;/dev/null`;  do :&amp;gt; &amp;quot;$i&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 done&amp;lt;br&amp;gt;&lt;br /&gt;
 }&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ''#remove mount points''&amp;lt;br&amp;gt;&lt;br /&gt;
 rmdir /mnt/cdrom?* /mnt/hd?* /mnt/sd?* 2&amp;gt;/dev/null&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ''# these config files must be removed for the Knoppix to setup for new hardware''&amp;lt;br&amp;gt;&lt;br /&gt;
 rm -f /etc/X11/XF86Config /etc/X11/XF86Config-4 /etc/XF86Config /etc/XF86Config-4&lt;br /&gt;
 &lt;br /&gt;
 ''# optional: remove these config files also''&amp;lt;br&amp;gt;&lt;br /&gt;
 rm -rf /tmp/* /var/tmp/* /var/backups/* \&amp;lt;br&amp;gt;&lt;br /&gt;
 /home/*/.ssh /home/*/.bash_history \&amp;lt;br&amp;gt;&lt;br /&gt;
 /var/run/screen/* \&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 nuke /var/log /var/cache&amp;lt;br&amp;gt;&lt;br /&gt;
 zero /var/local /var/log /var/spool /var/mail \&amp;lt;br&amp;gt;&lt;br /&gt;
 /var/lib/games /var/cache/man /var/lib/wine \&amp;lt;br&amp;gt;&lt;br /&gt;
 /var/lib/nfs /var/lib/xkb&lt;br /&gt;
 &lt;br /&gt;
 ''#remove expanded manpage files if a compressed version exists''&amp;lt;br&amp;gt;&lt;br /&gt;
 for i in `find /usr/*/man -name \*.\&amp;lt;nowiki&amp;gt;[[0-9ln\]]&amp;lt;/nowiki&amp;gt;` ; do&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[ -f &amp;quot;$i&amp;quot;.gz -o -f &amp;quot;$i&amp;quot;.bz2 ]]&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; rm -f &amp;quot;$i&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 done&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ''# delete old dowloaded packages''&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;Deleting old downloaded packages.....&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 apt-get clean&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;   Done&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ''#remove 'orphaned files' not listed as used by any package''&amp;lt;br&amp;gt;&lt;br /&gt;
 ''#note: may be problems if you have added applications from source instead of .deb pkgs''&amp;lt;br&amp;gt;&lt;br /&gt;
 echo -n &amp;quot;Cleaning up orphans...&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 deborphan | xargs apt-get -y remove&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;   Done&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;Cleaning up config files...&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 COLUMNS=200 dpkg -l |grep ^rc |awk '{print $2} ' | xargs dpkg -P&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;    Done&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ''# Strip X11 Libs strip-unneeded removes all symbols not needed for relocation processing''&amp;lt;br&amp;gt;&lt;br /&gt;
 strip --strip-unneeded `find /usr/X11R6/lib/modules -name \*.so -o -name \*.o`&lt;br /&gt;
 &lt;br /&gt;
 ''# Recreate empty utmp and wtmp''&amp;lt;br&amp;gt;&lt;br /&gt;
 :&amp;gt;/var/run/utmp&amp;lt;br&amp;gt;&lt;br /&gt;
 :&amp;gt;/var/run/wtmp&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ''# regenerate module dependencies and ls.so.cache''&amp;lt;br&amp;gt;&lt;br /&gt;
 echo -n &amp;quot;Updating ld.so.cache...&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 ldconfig&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;          Done.&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;Updating modules.dep...&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 depmod -a 2&amp;gt;/dev/null&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;          Done.&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;Updating mandb...&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 mandb -c&amp;lt;br&amp;gt;&lt;br /&gt;
 man doesnotexist &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;     Done.&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;Updating locate-database...&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 ''# slocate is a security enhanced 'locate' file for finding files on the system''&amp;lt;br&amp;gt;&lt;br /&gt;
 '' # dlocate is a prgm to view pkg information''&amp;lt;br&amp;gt;&lt;br /&gt;
 updatedb --prunepaths=&amp;quot;/mnt/hd /mnt/cdrom /tmp /usr/tmp /var/tmp&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
 update-dlocatedb&amp;lt;br&amp;gt;&lt;br /&gt;
 echo &amp;quot;		Done.&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;Fixing permissions in /dev/...&amp;quot;&lt;br /&gt;
 chown root.root /dev/ttyp*&lt;br /&gt;
 chmod 666 /dev/ttyp* /dev/sg* /dev/audio* /dev/dsp* /dev/mixer* /dev/sequencer*&lt;br /&gt;
 echo &amp;quot;		 Done&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;Fixing permissions in /etc/ppp/...&amp;quot;&lt;br /&gt;
 chown root.dip /etc/ppp/*secrets /etc/ppp/ppp_* /etc/ppp/peers/*provider /etc/ppp/peers /etc/ppp \&lt;br /&gt;
 /etc/chatscripts /etc/chatscripts/*&lt;br /&gt;
 chmod g+rwXš š /etc/ppp/*secrets /etc/ppp/ppp_* /etc/ppp/peers/*provider /etc/ppp/peers /etc/ppp \&lt;br /&gt;
 /etc/chatscripts /etc/chatscripts/*&lt;br /&gt;
 echo &amp;quot;		 Done&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;Removing unused architecture Kernel sources: &amp;quot;&lt;br /&gt;
 for i in `ls -1 /usr/src/linux/arch/ | grep -v i386`; do&lt;br /&gt;
 echo -n &amp;quot;$i &amp;quot;; rm -rf /usr/src/linux/arch/&amp;quot;$i&amp;quot; /usr/src/linux/include/asm-&amp;quot;$i&amp;quot;&lt;br /&gt;
 done&lt;br /&gt;
 echo &amp;quot; 		Done.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Remastering Knoppix ]]&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Knoppix_Remastering_Howto</id>
		<title>Knoppix Remastering Howto</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Knoppix_Remastering_Howto"/>
				<updated>2006-07-07T08:02:46Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Package Management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a guide that will show you how to remaster KNOPPIX. (Note: commands should appear on one line, so please maximize the window. If you have any comments/suggestions please post below.)&lt;br /&gt;
&lt;br /&gt;
You may wish to start from an already customized Knoppix, so you don't have to do as much work (such as removing programs). If so, see [[Knoppix Customizations]].&lt;br /&gt;
&lt;br /&gt;
=System Requirements=&lt;br /&gt;
*CD-ISO&lt;br /&gt;
** at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop)&lt;br /&gt;
** 3 GB free on a '''Linux filesystem (ext2/3, xfs, etc.)''' formatted disk partition&lt;br /&gt;
*DVD-ISO&lt;br /&gt;
** 5 GB free RAM + swap (for fullsized DVD)&lt;br /&gt;
** 15 GB free on a '''Linux filesystem (ext2/3, xfs, etc.)''' formatted disk partition&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
==Setting up for Remastering==&lt;br /&gt;
# Boot from the ''Knoppix CD''&lt;br /&gt;
# Open a root shell:&lt;br /&gt;
#* Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell&lt;br /&gt;
#* Note: All commands below are run from this root shell.&lt;br /&gt;
# Configure your Internet connection (we'll need this later). If you use DHCP, it should already be configured.&lt;br /&gt;
#* Note: Run '''ifconfig''' to check.&lt;br /&gt;
# Find the partition you will use to work on. In this example it is called '''hda1''' . The partition should have a minimum of 3 GB free space&lt;br /&gt;
# Mount the partition:&lt;br /&gt;
#*&amp;lt;pre&amp;gt;mount -rw /dev/hda1 /mnt/hda1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#* Note: Make sure that it is read/write or you will get errors when you later chroot. To check: run '''mount'''&lt;br /&gt;
# Create a root directory to work in -- if you put all your files here it will be easy to clean up&lt;br /&gt;
#* &amp;lt;pre&amp;gt;mkdir /mnt/hda1/knx&amp;lt;/pre&amp;gt;&lt;br /&gt;
# If you don't have 1 GB RAM ('''cat /proc/meminfo''' (physical+swap)) then you will need a swapfile:&lt;br /&gt;
#* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cd /mnt/hda1/knx&lt;br /&gt;
dd if=/dev/zero of=swapfile bs=1M count=750&lt;br /&gt;
mkswap swapfile&lt;br /&gt;
swapon swapfile&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Make 2 directories, one for your new Master CD, one for the source, on a disk partition. Also, make additional directories under these named KNOPPIX:&lt;br /&gt;
#* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;mkdir -p /mnt/hda1/knx/master/KNOPPIX&lt;br /&gt;
mkdir -p /mnt/hda1/knx/source/KNOPPIX&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now, copy the KNOPPIX files to your source directory :&lt;br /&gt;
#* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp -Rp /KNOPPIX/* /mnt/hda1/knx/source/KNOPPIX&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#* Note: This will take a long time (you are copying 2GB).  Warning: you will be tempted to replace this copy command with a much faster procedure: create an empty directory, then use unionfs to merge the empty directory with /KNOPPIX in order to create the read-write copy.  However, as of Knoppix 4.0.2, there is a bug in unionfs that causes this faster procedure to fail.  For now, stick with the copy-command shown above.&lt;br /&gt;
# Additionally, copy the 'boot' folder from your cdrom - you'll need these files to build the ISO later.&lt;br /&gt;
#* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp -ar /cdrom/boot /mnt/hda1/knx/master/boot&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Copy the main HTML page for the startup page:&lt;br /&gt;
#* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp /cdrom/index.html /mnt/hda1/knx/master/&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Copy everything necessary files except the ~700 Mb KNOPPIX file.&lt;br /&gt;
#* &amp;lt; 3.4:&lt;br /&gt;
#** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cd /cdrom/KNOPPIX &amp;amp;&amp;amp; find . -size -10000k -type f -exec cp -p --parents '{}' /mnt/hda1/knx/master/KNOPPIX/ \;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#* &amp;gt;= 3.4:&lt;br /&gt;
#** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cd /cdrom &amp;amp;&amp;amp; find . -size -10000k -type f -exec cp -p --parents '{}' /mnt/hda1/knx/master/ \;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#* for the DVD Version you have to use -size -15000k and copy the KNOPPIX2 folder like this&lt;br /&gt;
#** cp /cdrom/KNOPPIX/KNOPPIX2 /mnt/hda1/knx/master/KNOPPIX/&lt;br /&gt;
# Now you can &amp;quot;chroot&amp;quot; into the copied KNOPPIX:&lt;br /&gt;
#* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;chroot /mnt/hda1/knx/source/KNOPPIX&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# If you see errors regarding &amp;lt;tt&amp;gt;/dev/null&amp;lt;/tt&amp;gt;, see the [[#Common Problems|common problems]] section&lt;br /&gt;
You are now chrooted. &amp;quot;/&amp;quot; is actually &amp;quot;/mnt/hda1/knx/source/KNOPPIX&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Working in the Chroot Environment==&lt;br /&gt;
Remember that anything you do or create in the chrooted environment will get burned to the CD.  If you make any changes (e.g,. to the APT configuration, proxy settings, etc.), make a note to back the changes out before remastering.&lt;br /&gt;
===Internet Access===&lt;br /&gt;
To use the Internet you need to mount /proc:&lt;br /&gt;
 mount -t proc /proc proc&lt;br /&gt;
(You get a warning - &amp;quot;warning: can't open /etc/fstab: No such file or directory&amp;quot; but it still mounts) &lt;br /&gt;
and edit &amp;lt;tt&amp;gt;/etc/resolv.conf&amp;lt;/tt&amp;gt; to add your nameserver or exit the chroot and copy the outer &amp;lt;tt&amp;gt;resolv.conf&amp;lt;/tt&amp;gt; into the chroot folder: &lt;br /&gt;
 cp /etc/dhcpc/resolv.conf /mnt/hda1/knx/source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
(proxies (a.k.a. doing it at work): you can type &amp;quot;export http_proxy=http://your.proxy.com:&amp;lt;port&amp;gt;&amp;quot;)&amp;lt;BR&amp;gt;&lt;br /&gt;
To check your chrooted internet connection,&lt;br /&gt;
 ping google.com&lt;br /&gt;
(if ICMP is barred at some corporate firewall or something then try &amp;quot;lynx http://www.google.com&amp;quot; and see if you get the page -after a cookie &amp;quot;allow&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
===SMB access===&lt;br /&gt;
Also change smb.conf to your MS group if you want smbd support (MSHOME is XP Home ed. usually, and WORKGROUP is 9x Windows)&lt;br /&gt;
===APT===&lt;br /&gt;
Update your package list with '''apt-get update'''.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Note: If ''''apt-get update''' fails with &amp;quot;FATAL -&amp;gt; Could not set non-blocking flag Bad file descriptor&amp;quot;, you need to make sure your chrooted environment is mounted without the &amp;quot;nodev&amp;quot; option. (see above where it talks about the /dev/null errors when entering the chroot environment for the first time)&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;'''Warning''': apt-get upgrade is a ''BAD IDEA''. It will, quite probably, render your KNOPPIX remaster unbootable, or broken in some way. A far safer method is to only upgrade packages as necessary.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before you can add stuff, you will probably need to remove some packages.  To get a list of packages installed, type this:&lt;br /&gt;
 dpkg-query -l&lt;br /&gt;
If you are looking for big installed packages then the command&lt;br /&gt;
 dpkg-awk &amp;quot;Status: .* installed$&amp;quot; -- Package Installed-Size | \&lt;br /&gt;
   awk '{print $2}' | egrep -v '^$' | xargs -n2 echo | \&lt;br /&gt;
   perl -pe 's/(\S+)\s(\S+)/$2 $1/' | sort -rg&lt;br /&gt;
will list the  packages  with size in descending order.&lt;br /&gt;
&lt;br /&gt;
At least ten times faster is the command&lt;br /&gt;
 dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n&lt;br /&gt;
and you don't need dpkg-awk or awk or perl; however it does not exclude packages that are not installed.  If you have trouble with the above sort command, try using KPackage, expanded all the trees and sorted by the size column to find big packages.&lt;br /&gt;
&lt;br /&gt;
Or, you could use this command to get the qpkg-query speed with the non-installed packages not listed:&lt;br /&gt;
 dpkg-query -W --showformat='${Installed-Size} ${Package} ${Status}\n' | grep -v deinstall | sort -n | awk '{print $1&amp;quot; &amp;quot;$2}'&lt;br /&gt;
It does the same thing as above, I assume.  I couldn't get the first one to work because I don't have dpkg-awk.&lt;br /&gt;
&lt;br /&gt;
To remove a package (and all packages dependant on it), type this:&lt;br /&gt;
 apt-get remove --purge ''name-of-package-to-remove''&lt;br /&gt;
To check for orphaned packages, type this:&lt;br /&gt;
 deborphan&lt;br /&gt;
Want to save more space by getting rid of those pesky orphans (how cruel!), type this ('''Warning''', you won't be prompted yes/no to remove these packages.  When you press Enter after this command, those packages ''will be gone''):&lt;br /&gt;
 deborphan | xargs apt-get -y remove&lt;br /&gt;
If you're uncertain about the previous command and want to see what will happen without making any changes, just add the '''-s''' option to the apt-get command like this (you can do this with all of the apt-get commands, and it's a good habit to use this option before mass operations like this one):&lt;br /&gt;
 deborphan | xargs apt-get -s -y remove&lt;br /&gt;
Now the good stuff.  If you wish to add a package, type this:&lt;br /&gt;
 apt-get install '''name-of-package-to-install''&lt;br /&gt;
What, don't know what packages to install?  Type this.  When the list appears, you can peruse (over 13k lines!) or search for things using &amp;lt;tt&amp;gt;/''search-term''&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 apt-cache search .* | sort | less&lt;br /&gt;
When you're done removing and adding packages, a good way to clean up is by typing this&lt;br /&gt;
 COLUMNS=200 dpkg -l |grep ^rc |awk '{print $2} ' | xargs dpkg -P&lt;br /&gt;
Also, because the Debian package system keeps a cache of downloaded packages, you may want to run the following to clear out those spare files:&lt;br /&gt;
 apt-get clean&lt;br /&gt;
===User Settings===&lt;br /&gt;
User settings are in /etc/skel.  This directory will be copied to make new user home directories.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;tip: don't put files in /root they will be only available (at runtime) in /KNOPPIX/root&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the default user 'knoppix' is not created by adduser(1), thus /etc/skel is not copied completely but rather selectively.  That is, to make a file .xyrc appear in /home/knoppix, it is not sufficient to place it in /etc/skel.  One possibility is to extend the code in /etc/X11/Xsession.d/45xsession which is responsible for filling /home/knoppix.&lt;br /&gt;
&lt;br /&gt;
===Autorunning Programs===&lt;br /&gt;
When you want to autorun some programs, one can create a script and put it in the directory &amp;lt;tt&amp;gt;/etc/rc5.d/&amp;lt;/tt&amp;gt; (This only loads items before X loads).  Read up on the SysV init process for more possibilities.&lt;br /&gt;
&lt;br /&gt;
==KNOPPIX Autoconfiguration==&lt;br /&gt;
interesting stuff in /etc/init.d/knoppix-autoconfig :&lt;br /&gt;
&lt;br /&gt;
* The X background file is /cdrom/KNOPPIX/background.gif '''(in knoppix 3.4: background.jpg)'''&lt;br /&gt;
* As well as floppyconfig, there is cdromconfig which will run cdrom/KNOPPIX/knoppix.sh&lt;br /&gt;
* All boot parameters obtain default values in this file.  That is, to switch from 'kde' to 'twm' as default desktop just search for the place where 'kde' is provided as default value (variable DESKTOP, IIRC).  Similarly for example the default language can be changed.&lt;br /&gt;
&lt;br /&gt;
==X Session Configuration==&lt;br /&gt;
When testing X-based programs, you will have to &lt;br /&gt;
 export DISPLAY=localhost:0.0&lt;br /&gt;
which will allow you to connect to your normal X session.  Alternately (if you need to test window managers), you can create a nested X session.  Outside of the chroot, run&lt;br /&gt;
 Xnest -ac :1&lt;br /&gt;
Within the chroot, set your DISPLAY variable&lt;br /&gt;
 export DISPLAY=localhost:1&lt;br /&gt;
&lt;br /&gt;
Interesting stuff in /etc/init.d/xsession :&lt;br /&gt;
* it ALSO sets background as /usr/local/lib/knoppix.gif&lt;br /&gt;
&lt;br /&gt;
==Leaving the Chroot==&lt;br /&gt;
If you mounted it, you'll need to unmount /proc - very important! &lt;br /&gt;
 umount /proc&lt;br /&gt;
Press '''CTRL+D''' to leave being chrooted.&lt;br /&gt;
&lt;br /&gt;
==Remastering the ISO==&lt;br /&gt;
We've finished customizing and ready to burn!&lt;br /&gt;
First do some cleanup: &lt;br /&gt;
* remove any .bash_history files, tmp files, etc.&lt;br /&gt;
* back out any changes you don't want burned back to the disc&lt;br /&gt;
* &amp;lt;pre&amp;gt;rm -rf /mnt/hda1/knx/source/KNOPPIX/.rr_moved&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===KNOPPIX Compressed Image===&lt;br /&gt;
Now we'll make the big &amp;lt;tt&amp;gt;KNOPPIX&amp;lt;/tt&amp;gt; file which is an ISO 9660 filesystem compressed for use by the &amp;lt;tt&amp;gt;cloop&amp;lt;/tt&amp;gt; driver: &lt;br /&gt;
 mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;KNOPPIX www.knoppix.net&amp;quot; \&lt;br /&gt;
      -hide-rr-moved -cache-inodes -no-bak -pad /mnt/hda1/knx/source/KNOPPIX \&lt;br /&gt;
   | nice -5 /usr/bin/create_compressed_fs - 65536 &amp;gt; /mnt/hda1/knx/master/KNOPPIX/KNOPPIX&lt;br /&gt;
the &amp;quot;www.knoppix.net&amp;quot; and &amp;quot;Knoppix.net filesystem&amp;quot; can be changed to what you want to call the file. You will get an error that it doesn't conform to ISO standards -- you can ignore this.  Note that, to run &amp;lt;tt&amp;gt;create_compressed_fs&amp;lt;/tt&amp;gt;, you'll need to have enough space to store the entire ISO in RAM/swap.  Ensure you have at least 800M of free space before starting.&lt;br /&gt;
&lt;br /&gt;
In Knoppix 3.4 the &amp;lt;tt&amp;gt;create_compressed_fs&amp;lt;/tt&amp;gt; script has been updated so be sure to use it to obtain the best result. It has a new option '''-b''' (best), which enables the best compression by using different compression schemes and tries to optimize that way, but be careful, because that option is slow (10x slower).&lt;br /&gt;
&lt;br /&gt;
===Live CD ISO===&lt;br /&gt;
If all went well, onto making the final CD-ROM Image:&lt;br /&gt;
 cd /mnt/hda1/knx/master'''&lt;br /&gt;
 find -type f -not -name md5sums -not -name boot.cat -not -name isolinux.bin \&lt;br /&gt;
    -exec md5sum '{}' \; &amp;gt; KNOPPIX/md5sums&lt;br /&gt;
(this will update the md5 hashes of the files included in the ISO, used for integrity checking) Now to burn the image; for Knoppix &amp;lt;= 3.3:&lt;br /&gt;
 mkisofs -pad -l -r -J -v -V &amp;quot;KNOPPIX&amp;quot; -b KNOPPIX/boot.img -c KNOPPIX/boot.cat \&lt;br /&gt;
    -hide-rr-moved -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master&lt;br /&gt;
for Knoppix &amp;gt;= 3.4 or other isolinux based distributions:&lt;br /&gt;
 mkisofs -pad -l -r -J -v -V &amp;quot;KNOPPIX&amp;quot; -no-emul-boot -boot-load-size 4 \&lt;br /&gt;
    -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \&lt;br /&gt;
    -hide-rr-moved -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master&lt;br /&gt;
(the ISO is stored in &amp;lt;tt&amp;gt;/mnt/hda1/knx/knoppix.iso&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Burn the ISO using your favorite tools, and you're ready!&lt;br /&gt;
&lt;br /&gt;
=Tips=&lt;br /&gt;
I have had good results remastering working from the CD as root working from fluxbox. Just say &amp;quot;knoppix 2&amp;quot; at the boot prompt and it will boot you to a root prompt where you can then say &amp;quot;startx /usr/bin/fluxbox&amp;quot;. I like to use the xterm unicode shell.&lt;br /&gt;
&lt;br /&gt;
==Package Management==&lt;br /&gt;
While working chroot doing the remastering I like to use &lt;br /&gt;
 apt-get remove --purge pkg-name&lt;br /&gt;
to remove packages because before it does anything it will stop and show details on what it is fixing to remove and let you say &amp;quot;yes or no&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't use the above &amp;quot;apt-get&amp;quot; instructions and have a lot to cleanup and purge, here's the easy way to do it: &lt;br /&gt;
  COLUMNS=200 dpkg -l |grep ^rc |awk '{print $2} ' &amp;gt; topurge&lt;br /&gt;
That will make a list of all removed packages to purge and then you just say &lt;br /&gt;
 dpkg -P `&amp;lt; topurge `&lt;br /&gt;
and you're all done. &lt;br /&gt;
 COLUMNS=200 dpkg -l |grep ^rc |awk '{print $2} ' | xargs dpkg -P&lt;br /&gt;
is a one-line version of this. Also use &lt;br /&gt;
 deborphan | xargs dpkg -P .&lt;br /&gt;
&lt;br /&gt;
==Alternatives for Low-Memory Machines==&lt;br /&gt;
You don't really need 1G swap as there are two new tools to create compressed filesystems. Here are some candidates to make ''compressed'' fs:&lt;br /&gt;
* Valentijn's rewrite [http://projects.openoffice.nl/downloads/compressloop/]&lt;br /&gt;
* Quozl's port of compressloop for Knoppix 3.4 [http://quozl.linux.org.au/compressloop-1.9-64bit.c]&lt;br /&gt;
* Quozl's distributed compressloop (use more than one processor to speed things up) [http://quozl.linux.org.au/knoppix/compressloop/] or [http://quozl.netrek.org/knoppix/compressloop/]&lt;br /&gt;
* Justin's patch [http://s.bouncybouncy.net/~justin/code/] (link broken) I also just wrote a distributed cloop compressor(or for smp)  It's in that same directory.&lt;br /&gt;
&lt;br /&gt;
==Test CD Image Without Burning a CD==&lt;br /&gt;
If you have a spare partition with at least 700MB free space formatted with ext2, ext3 or Vfat, you can use this for test by booting from a floppy disk. A floppy boot will look for a partiton with /KNOPPIX/ in the root, and the compressed image /KNOPPIX/KNOPPIX. Instead of using the sub-directory /mnt/hda1/knx/master/KNOPPIX/ as described above, it should be called /mnt/hda2/KNOPPIX/ . The root index.html will then be located at /mnt/hda2/index.html and the compressed image will be at /mnt/hda2/KNOPPIX/KNOPPIX . Now you can boot from floppy and use /mnt/hda2 as your image. For further information see [[Hd BasedHowTo]].&lt;br /&gt;
&lt;br /&gt;
If you don't have an extra partition or you don't want to do so much for it, you can use Qemu ( see [http://fabrice.bellard.free.fr/qemu/] ) with the ISO image like this:&lt;br /&gt;
 qemu -m 128 -cdrom /temp/knoppix-custom.iso -boot d -user-net&lt;br /&gt;
You even do not have to build a hard disk image before, just install Qemu and try this. Amazing!&lt;br /&gt;
&lt;br /&gt;
==Test remastered version without creating cloop file/iso==&lt;br /&gt;
i use a setup similar to knoppix terminal server to test the remastered files without having to recreate a&lt;br /&gt;
cloop image every time: the remastered files live in an ext2 filesytem in a loopfile (knoppix_loop) mounted rw (this is where i chroot in). when i want to test the current setup, i have another machine network boot and use the files from the loopfile directly (needs another miniroot.gz). See [[User:Ml#dev_setup]]&lt;br /&gt;
&lt;br /&gt;
If you want to use only one machine, you'll have to reboot (or use qemu) and use the &amp;quot;loopfile&amp;quot; and &amp;quot;fromhd&amp;quot; cheatcodes (see [[User:Ml#miniroot_changes]]). For example, this is what my grub boot entry looks like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
title           Remastered Knoppix&lt;br /&gt;
root            (hd0,0)&lt;br /&gt;
kernel          /boot/myknoppix/vmlinuz fromhd=/dev/hda4 loopfile=/samba/share/isos/knoppix_loop lang=us ramdisk_size=100000 init=/etc/init apm=power-off nomce vga=791 quiet BOOT_IMAGE=knoppix&lt;br /&gt;
initrd          /boot/myknoppix/miniroot.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Booting Knoppix images with GRUB==&lt;br /&gt;
* First copy /boot off the Knoppix cd to your boot partition (or even your dos partition). I named mine boot.knoppix&lt;br /&gt;
''' Copy the /KNOPPIX directory to your '''root directory* of any hard disk. You may place it somewhere other than the boot partition (ext2/3, reiserfs, vfat are supported).&lt;br /&gt;
* for Knoppix &amp;lt;= 3.3, put the following in your /boot/grub/menu.lst:&lt;br /&gt;
 title KNOPPIX&lt;br /&gt;
         root   (hd0,0)&lt;br /&gt;
         kernel /boot.knoppix/vmlinuz 2 fromhd=/dev/hda4 lang=us&lt;br /&gt;
         initrd /boot.knoppix/miniroot.gz&lt;br /&gt;
* for Knoppix &amp;gt;= 3.4 or other isolinux based distributions:&lt;br /&gt;
 title KNOPPIX&lt;br /&gt;
         root   (hd0,0)&lt;br /&gt;
         kernel /boot.knoppix/isolinux/linux 2 fromhd=/dev/hda4 lang=us&lt;br /&gt;
         initrd /boot.knoppix/isolinux/minirt.gz&lt;br /&gt;
* notice the fromhd parameter: it's the location of the /KNOPPIX directory&lt;br /&gt;
* reboot and have fun.&lt;br /&gt;
&lt;br /&gt;
==Helpful Scripts==&lt;br /&gt;
----&lt;br /&gt;
This is the recommended directory layout for remastering KNOPPIX:&lt;br /&gt;
 . (invoke ../remaster from here)&lt;br /&gt;
 |-- master (invoke ../../[[u]]mountbootimage from here)&lt;br /&gt;
 |   |-- KNOPPIX&lt;br /&gt;
 |   |   |-- KNOPPIX (compressed image)&lt;br /&gt;
 |   |   |-- boot.img (boot floppy image)&lt;br /&gt;
 |   |   `-- (other files snipped)&lt;br /&gt;
 |   `-- index.html&lt;br /&gt;
 `-- source&lt;br /&gt;
 `-- KNOPPIX (this directory can be chrooted into)&lt;br /&gt;
 |-- bin&lt;br /&gt;
 |-- boot&lt;br /&gt;
 |-- cdrom&lt;br /&gt;
 |-- dev&lt;br /&gt;
 |-- etc&lt;br /&gt;
 |-- floppy&lt;br /&gt;
 |-- home&lt;br /&gt;
 |-- initrd&lt;br /&gt;
 |-- lib&lt;br /&gt;
 |-- mnt&lt;br /&gt;
 |-- none&lt;br /&gt;
 |-- opt&lt;br /&gt;
 |-- proc&lt;br /&gt;
 |-- root&lt;br /&gt;
 |-- sbin&lt;br /&gt;
 |-- tmp -&amp;gt; /var/tmp&lt;br /&gt;
 |-- usr&lt;br /&gt;
 |-- var&lt;br /&gt;
 `-- vmlinuz -&amp;gt; boot/vmlinuz-2.4.22-xfs&lt;br /&gt;
----&lt;br /&gt;
the following script &amp;quot;remaster&amp;quot; will do the remaster process for you. Use as root, or you will end up with wrong access rights in the image.&lt;br /&gt;
&lt;br /&gt;
The script has last been tried out on Debian sid on 2004-04-02.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash -x&lt;br /&gt;
 # This script builds a new KNOPPIX ISO image.&lt;br /&gt;
 # Copyright (C) 2004 by Marc Haber &amp;lt;mh+knoppix-remaster@zugschlus.de&amp;gt;&lt;br /&gt;
 # License: GPL V2&lt;br /&gt;
 &lt;br /&gt;
 ROOT=&amp;quot;$PWD&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;$ROOT/source/KNOPPIX&amp;quot;&lt;br /&gt;
 MASTER=&amp;quot;$ROOT/master&amp;quot;&lt;br /&gt;
 CLOOPTARGET=&amp;quot;$ROOT/master/KNOPPIX/KNOPPIX&amp;quot;&lt;br /&gt;
 TARGET=&amp;quot;$ROOT&amp;quot;&lt;br /&gt;
 EXCLUDELIST=&amp;quot;$ROOT/source/excludelist&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 rm -rf $SOURCE/.rr_moved&lt;br /&gt;
 &lt;br /&gt;
 cd $SOURCE&lt;br /&gt;
 mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; \&lt;br /&gt;
 -P &amp;quot;KNOPPIX www.knoppix.net&amp;quot; \&lt;br /&gt;
 -hide-rr-moved -cache-inodes -no-bak -pad \&lt;br /&gt;
 -exclude-list $EXCLUDELIST \&lt;br /&gt;
 . | nice -5 /usr/bin/create_compressed_fs - 65536 &amp;gt; $CLOOPTARGET&lt;br /&gt;
 &lt;br /&gt;
 cd ../$MASTER&lt;br /&gt;
 rm -f 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;
 mkisofs -pad -l -r -J -v -V &amp;quot;KNOPPIX&amp;quot; -b KNOPPIX/boot.img \&lt;br /&gt;
 -c KNOPPIX/boot.cat -hide-rr-moved -o $TARGET/knoppix.iso $MASTER&lt;br /&gt;
----&lt;br /&gt;
The following script will loop-mount boot floppy image and initrd image for modification. The umount function will build a new initrd image and put it back on the boot floppy image.&lt;br /&gt;
&lt;br /&gt;
The script has last been tried out on Debian sid on 2004-01-13.&lt;br /&gt;
&amp;lt;!-- lines starting with space a preformatted --&amp;gt;&lt;br /&gt;
 #!/bin/bash -x&lt;br /&gt;
 # This script will loop-mount boot floppy and initrd image&lt;br /&gt;
 # Copyright (C) 2004 by Marc Haber &amp;lt;mh+knoppix-remaster@zugschlus.de&amp;gt;&lt;br /&gt;
 # License: GPL V2&lt;br /&gt;
 unset CDPATH || true&lt;br /&gt;
 &lt;br /&gt;
 # if not root, re-invoke self as root&lt;br /&gt;
 if [[ &amp;quot;`id -u`&amp;quot; -ne 0 ]]; then&lt;br /&gt;
 export LOCUSER=&amp;quot;$USER&amp;quot;&lt;br /&gt;
 export LOCHOME=&amp;quot;$HOME&amp;quot;&lt;br /&gt;
 if [[ &amp;quot;${SHELLOPTS/xtrace/}&amp;quot; != &amp;quot;$SHELLOPTS&amp;quot; ]]; then&lt;br /&gt;
 sudo bash -x $0 $@&lt;br /&gt;
 exit $?&lt;br /&gt;
 else&lt;br /&gt;
 sudo $0 $@&lt;br /&gt;
 exit $?&lt;br /&gt;
 fi&lt;br /&gt;
 else&lt;br /&gt;
 LOCUSER=&amp;quot;${LOCUSER:-$USER}&amp;quot;&lt;br /&gt;
 LOCHOME=&amp;quot;${LOCHOME:-$HOME}&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
 set -e&lt;br /&gt;
 &lt;br /&gt;
 KNOPPIXDIR=&amp;quot;KNOPPIX&amp;quot;&lt;br /&gt;
 BOOTIMGFILE=&amp;quot;$KNOPPIXDIR/boot.img&amp;quot;&lt;br /&gt;
 BOOTIMGFS=&amp;quot;vfat&amp;quot;&lt;br /&gt;
 BOOTIMGDIR=&amp;quot;boot.img&amp;quot;&lt;br /&gt;
 INITRDGZ=&amp;quot;$BOOTIMGDIR/miniroot.gz&amp;quot;&lt;br /&gt;
 INITRDFILE=&amp;quot;$KNOPPIXDIR/miniroot&amp;quot;&lt;br /&gt;
 INITRDFS=&amp;quot;ext2&amp;quot;&lt;br /&gt;
 INITRDDIR=&amp;quot;miniroot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 mountbootimage() {&lt;br /&gt;
 if ! modprobe loop; then&lt;br /&gt;
 echo &amp;gt;&amp;amp;2 &amp;quot;ERR: cannot load loop module&amp;quot;&lt;br /&gt;
 exit 1&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 if ! [[ -e &amp;quot;$BOOTIMGFILE&amp;quot; ]]; then&lt;br /&gt;
 echo &amp;gt;&amp;amp;2 &amp;quot;ERR: no $BOOTIMGFILE found&amp;quot;&lt;br /&gt;
 exit 1&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 for nofile in $BOOTIMGDIR $INITRDGZ $INITRDFILE $INITRDDIR; do&lt;br /&gt;
 if [[ -e &amp;quot;$nofile&amp;quot; ]]; then&lt;br /&gt;
 echo &amp;gt;&amp;amp;2 &amp;quot;ERR: $nofile already exists&amp;quot;&lt;br /&gt;
 exit 1&lt;br /&gt;
 fi&lt;br /&gt;
 done&lt;br /&gt;
 &lt;br /&gt;
 mkdir -p $BOOTIMGDIR&lt;br /&gt;
 mount -o loop,uid=$LOCUSER -t $BOOTIMGFS $BOOTIMGFILE $BOOTIMGDIR&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt; $INITRDGZ gunzip &amp;gt; $INITRDFILE&lt;br /&gt;
 mkdir -p $INITRDDIR&lt;br /&gt;
 mount -o loop -t $INITRDFS $INITRDFILE $INITRDDIR&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 umountbootimage() {&lt;br /&gt;
 dd if=/dev/zero of=$INITRDDIR/nullfile || true&lt;br /&gt;
 sync&lt;br /&gt;
 rm $INITRDDIR/nullfile&lt;br /&gt;
 umount $INITRDDIR&lt;br /&gt;
 rmdir $INITRDDIR&lt;br /&gt;
 &amp;lt; $INITRDFILE gzip --best &amp;gt; $INITRDGZ&lt;br /&gt;
 rm -f $INITRDFILE&lt;br /&gt;
 &lt;br /&gt;
 umount $BOOTIMGDIR&lt;br /&gt;
 rmdir $BOOTIMGDIR&lt;br /&gt;
 &lt;br /&gt;
 syslinux KNOPPIX/boot.img&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;`basename $0`&amp;quot; in&lt;br /&gt;
 mountbootimage)&lt;br /&gt;
 mountbootimage&lt;br /&gt;
 ;;&lt;br /&gt;
 umountbootimage)&lt;br /&gt;
 umountbootimage&lt;br /&gt;
 ;;&lt;br /&gt;
 *)&lt;br /&gt;
 echo &amp;gt;&amp;amp;2 &amp;quot;ERR: called with unknown name `basename $0`&amp;quot;&lt;br /&gt;
 exit 1&lt;br /&gt;
 ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
==Tips around apt-get to install/update/remove applications==&lt;br /&gt;
(by gnarvaja)&lt;br /&gt;
* If you booted from CD, even on a HD install (example: Pivot Install) instead of copying the original CD and KNOPPIX directory to the HD, you can use them directly from their mount points.&lt;br /&gt;
* Another alternative is to mount an ISO image of the original CD as a loop device and mount the KNOPPIX image as a '''cloop''' device. You will save close to 2GB of space. Script to mount from an ISO image:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 # Assumes that the current directory is the working space&lt;br /&gt;
 # original.iso is an image of the CD we will be using as master&lt;br /&gt;
 mount -t iso9660 original.iso ./oldcd -o ro,loop&lt;br /&gt;
 # initialize the compressed loop device&lt;br /&gt;
 losetup /dev/cloop1 ./oldcd/KNOPPIX/KNOPPIX&lt;br /&gt;
 mount -t iso9660 /dev/cloop1 ./KNOPPIX -o ro,loop&lt;br /&gt;
&lt;br /&gt;
* Get '''apt-spy''' and use it to modify the sources.list file with the best mirrors for your particular region. This will speed up the downloading. Backup the original '''sources.list''' just in case.&lt;br /&gt;
* Another technique is to modify '''sources.list'''. Replace the string '''.de.''' in the ftp addresses (ftp.de.debian.org) with the code corresponding to your country. Examples: USA -&amp;gt; .us. (ftp.us.debian.org), Brazil -&amp;gt; .br. (ftp.br.debian.org). Check the Debian site for debian.org mirrors in your country.&lt;br /&gt;
* Remember to uncomment the '''linuxtag''' ftp addresses to get the latest and greatest from Knoppix&lt;br /&gt;
* Use '''apt-get update''' to get the lists with the latest releases and patches. Do not update a package if you don't need to, it may lead to the use of additional disk space (precious commodity when you want to keep everything below 700MB) and you may brake something else without knowing. Abuse the '''-s''' option to simulate the installation.&lt;br /&gt;
* Before doing the update, I modified my default releases to '''testing''', that means that the software I'll be using will have a good balance of stability and features. Knoppix uses '''unstable''' by default, which is too risky for my personal taste.&lt;br /&gt;
* Get '''[apt-get install] locale''' and configure it with the locales you are going to use. It will save lots of space when downloading applications with plenty of locale modules and localized manual pages.&lt;br /&gt;
* I use '''aptitude''' to get/remove applications, it is character based so it works with init 2. As you mark packages for install/update/removal, it will tell you how much disk space you will save/use, try to solve depencies problems and give you plenty control to fix them manually when possible.&lt;br /&gt;
* When installing applications it is likely that your '''/etc/rc?.d''' directories will have new entries, many of them unwanted or unplanned. Make sure you check them and remove the new entries based on your preferences. I usually leave '''/etc/rc2.d''' and '''/etc/rc5.d''' as close as the originals as possible and modify '''/etc/rc3.d''' and '''/etc/rc4.d''' to test new stuff. '''Example:''' You may want to have ntfs installed, but not necessarily running by default. Same with apache, mysql and many others.&lt;br /&gt;
* When removing/purging applications, they may leave behind non-empty directories. Usually this is announced by aptitude, apt-get or any other installation utilty. Make sure to check the messages and manually remove those directories.&lt;br /&gt;
* After you are done, '''aptitude''' may leave some files behind. Here's a clean up script I use:&lt;br /&gt;
&lt;br /&gt;
 # !/bin/bash&lt;br /&gt;
 # Clean package files generated by aptitude&lt;br /&gt;
 rm /var/log/aptitude&lt;br /&gt;
 rm /var/lib/apt/lists/*debian*&lt;br /&gt;
 rm /var/lib/apt/lists/*knoppix*&lt;br /&gt;
&lt;br /&gt;
=Common Problems=&lt;br /&gt;
* [[Dev_null_permission_denied|/dev/null: Permission Denied]] Chroot problems accessing device files&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
If my howto is too confusing, or you'd like a second opinion, check out charan's very nice remastering howto: http://gnubox.dyndns.org:8080/~sunil/knoppix.php.&lt;br /&gt;
Another Howto is at  http://www.stirnimann.com/mystuff/doc/knoppix.txt&lt;br /&gt;
&lt;br /&gt;
There is a wizard, which knows all the unpacking, compressing and CD-recording steps mentioned here. It also shows a shell where you can update the uncompressed KNOPPIX system using debian's standard software installation tools. It is called mmkcdrom and part of the plugscript package: [http://rcswww.urz.tu-dresden.de/~holzhey/plugscript]&lt;br /&gt;
&lt;br /&gt;
Yet another HOWTO, for shell freaks, is at http://quozl.linux.org.au/knoppix/&lt;br /&gt;
&lt;br /&gt;
Be sure to check out the [http://knoppix.net/forum/viewforum.php?f=2 Knoppix Customization Forum] for ideas and help with remastering.&lt;br /&gt;
&lt;br /&gt;
* If you want to add a custom kernel, check out the [[Knoppix Custom Kernel Howto]]&lt;br /&gt;
* There also a guide at O'Reilly on the same topic : [http://linux.oreillynet.com/lpt/a/4323 Using and Customizing Knoppix]&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
Thats it. This is an updated version of my previous howto. This is not meant for linux beginners, you will need to know your way around linux to get this to work. I'll update this as corrections/improvements/etc come through.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
Thanks to aay, charan, Tech2k, and #knoppix for some corrections and tips and ideas.  Feel free to edit or add to this howto.&lt;br /&gt;
Note about swap:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Translations=&lt;br /&gt;
* German Version: [[Knoppix Remastering Howto Deutsch]]&lt;br /&gt;
* Spanish Version: [[Knoppix Remastering Howto Spanish]]  en español&lt;br /&gt;
* French Version: [[Knoppix Remastering Howto French]]&lt;br /&gt;
* Indonesian Version: [[Knoppix Remastering Howto Indonesian]]&lt;br /&gt;
* Russian Version: [[Knoppix Remastering Howto Russian]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Remastering Knoppix ]]&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Using_FAQ</id>
		<title>Using FAQ</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Using_FAQ"/>
				<updated>2006-07-07T08:00:05Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Q: How do I stop the KNOPPIX web page from appearing every time I start KNOPPIX? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-German Version: [[Deutsch Using Faq]]&lt;br /&gt;
&lt;br /&gt;
-Versión española: [[Usando Faq]]&lt;br /&gt;
&lt;br /&gt;
-Versi Bahasa Indonesia: [[Indonesian Using FAQ]]&lt;br /&gt;
----&lt;br /&gt;
==== Q: How do I get Knoppix to boot Knoppix when it tells me that it can't find the KNOPPIX filesystem and is dropping me to a shell? ====&lt;br /&gt;
A: The full error is:&lt;br /&gt;
 Uncompressing Linux... Ok, booting the kernel.&lt;br /&gt;
 &lt;br /&gt;
  Welcome to the KNOPPIX live Linux-on-CD!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Scanning for USB/Firewire devices... Done.&lt;br /&gt;
 Enabling DMA acceleration for: hda      [Maxtor 2B020H1]&lt;br /&gt;
 Enabling DMA acceleration for: hda      [LTN486S]&lt;br /&gt;
 Can't find KNOPPIX filesystem, sorry.&lt;br /&gt;
 Dropping you to a (very limited) shell.&lt;br /&gt;
 Press reset button to quit.&lt;br /&gt;
 &lt;br /&gt;
 Additional buitin commands available:&lt;br /&gt;
        cat       mount     umount&lt;br /&gt;
        inmod     rmmod     lsmod&lt;br /&gt;
        &lt;br /&gt;
 knoppix# _&lt;br /&gt;
&lt;br /&gt;
Knoppix does the very best it can to automatically figure out what hardware the PC has &amp;amp; it does this without human intervention. DMA is a feature that speeds up data tranfer on IDE devices such as CDROM drive&amp;amp; HD drives. Some chipsets and/or harddiscs are broken or buggy. Using DMA would cause problems on such systems and in many many cases, if the CDROM drive does not support DMA then it fails to fully boot Knoppix from the CDR. DMA was enabled by default in Knoppix 3.4 through 3.7 and has been disabled in 3.8.x and up. To boot Knoppix 3.4 through 3.7 and get around this DMA problem, I boot knoppix with the following [[Cheat Codes]]:&lt;br /&gt;
 knoppix nodma&lt;br /&gt;
&lt;br /&gt;
==== Q: Why is DMA disabled by default and how do I enable it? ====&lt;br /&gt;
A: Knoppix does the very best it can to automatically figure out what hardware the PC has &amp;amp; it does this without human intervention. DMA is a feature that speeds up data tranfer on IDE devices such as CDROM drive&amp;amp; HD drives. Some chipsets and/or harddiscs are broken or buggy. Using DMA would cause problems on such systems.&lt;br /&gt;
&lt;br /&gt;
If your system works properly with DMA, and you are booting from HD, you can enable it by typing &amp;quot;/sbin/hdparm -c3 -d1 -m16 -k1 /dev/hda&amp;quot; or by editing the &amp;quot;/etc/init.d/bootmisc.sh&amp;quot; startup script and uncommenting the hdparm -qd1 /dev/hda line to have it permanently on at reboot, if the line is not there add it.&lt;br /&gt;
&lt;br /&gt;
A cleaner way to do it requires installing the hdparm package (use the command &amp;quot;apt-get install hdparm&amp;quot; to do this) and edit&lt;br /&gt;
the file &amp;quot;/etc/hdparm.conf&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Read more at: http://linux.oreillynet.com/pub/a/linux/2000/06/29/hdparm.html&lt;br /&gt;
&lt;br /&gt;
==== File transfer between Knoppix and Windows: ====&lt;br /&gt;
===== Q: I see the partitions from my hard disk on the desktop and can access their contents when I click on them, but if I try to write to them I always get the error message &amp;quot;access denied&amp;quot;. How can I write to my existing partitions? =====&lt;br /&gt;
&lt;br /&gt;
A: The general philosophy of KNOPPIX is to allow as little write access as possible. For this reason, existing partitions are either not mounted or only mounted &amp;quot;read only&amp;quot;. If you click with your right mouse button on an icon, the &amp;quot;read-only&amp;quot; attribute under item &amp;quot;device&amp;quot; can be un-checked. After this, the partition can be mounted &amp;quot;read-write&amp;quot; (for already mounted partitions, first click on &amp;quot;unmount&amp;quot;!). Alternatively, you can use the mount command to make the drive read/write, see '''man mount''' for details.  '''CAUTION:''' writing to NTFS partitions can lead to data loss, since Linux does not really support this file system! However, DOS and FAT32 file systems are safe for write access. Tip: In the shell the command &amp;quot;mount -o remount,rw /mnt/&amp;quot; can allow already-mounted file systems to be &amp;quot;made writeable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=====Q: How can I write data on NTFS partitions?=====&lt;br /&gt;
&lt;br /&gt;
A: Under most conditions, Knoppix can not write or change files on an [http://www.wikipedia.org/wiki/NTFS NTFS] partition. Forcing it to do so may end up scrambling the underlying NTFS filesystem. Knoppix (and the Linux kernel) can read NTFS partitions just fine, the danger is only present when attempting to write to it. Older versions of Knoppix included a program called [http://www.jankratochvil.net/project/captive/ Captive NTFS] that used the existing NTFS drivers from a Windows system to acesss the NTFS drive. Even then it was slow and unstable. [http://www.jankratochvil.net/project/captive/ Captive NTFS] has not been maintained for over a year and is not currently included in recent Knoppix versions. &lt;br /&gt;
&lt;br /&gt;
=====Q: How do I access files created in Knoppix with other operating systems? =====&lt;br /&gt;
&lt;br /&gt;
A:&lt;br /&gt;
*'''Windows NT, XP (NTFS) and Windows 95, 98'''&lt;br /&gt;
*:* Use a [http://www.wikipedia.org/wiki/keydrive keydrive].&lt;br /&gt;
*::* Boot Knoppix with keydrive installed, Knoppix will add a keydrive icon to the desktop&lt;br /&gt;
*::* By default, the keydrive is read only. Change to r/w with right mouse button click -&amp;gt; Actions -&amp;gt; Change Read/Write mode -&amp;gt; click yes to make writable.&lt;br /&gt;
*::* the files you save on the key drive are then readable by windows.&lt;br /&gt;
*:* Use a floppy ?&lt;br /&gt;
*:* Use a CD writable ?&lt;br /&gt;
*:* Is a Knoppix partition readable by Windows XP (if I chose to install Knoppix on my hard drive)?&lt;br /&gt;
&lt;br /&gt;
*'''Windows 95, 98'''&lt;br /&gt;
*:* Mount the file system in Knoppix and write to the hard drive, see above&lt;br /&gt;
*:* Is a Knoppix partition readable by Windows 95 or 98 ?&lt;br /&gt;
&lt;br /&gt;
=====Q: I want to copy files to a windows box over the network=====&lt;br /&gt;
A:&lt;br /&gt;
&lt;br /&gt;
* First method&lt;br /&gt;
I boot with Knoppix from the CD drive. Once it has fully loaded to the KDE desktop, I open a konsole command window. I assume the the hda1 (C: drive) is a FAT32 drive, so I mount it with the command:&lt;br /&gt;
 sudo mount -t vfat -o ro,users /dev/hda1 /mnt/hda1&lt;br /&gt;
&lt;br /&gt;
If instead the the hda1 (C: drive) is a NTFS drive, the I mount it with the command:&lt;br /&gt;
 sudo mount -t ntfs -o ro,users /dev/hda1 /mnt/hda1&lt;br /&gt;
&lt;br /&gt;
Next I open up the GUI file manager (called konqueror).&lt;br /&gt;
 sudo konqueror&lt;br /&gt;
Once that comes up, in the location bar, I use the following to authenticate to a Windows domain &amp;amp; then access a windows networking share.In the location bar:&lt;br /&gt;
 smb:/domain\username@IP.address.of.machine&lt;br /&gt;
If you do not need to authenticate to a domain, the form is:&lt;br /&gt;
 smb:/hostname&lt;br /&gt;
or&lt;br /&gt;
 smb:/IP.address.of.machine&lt;br /&gt;
&lt;br /&gt;
This allows me to access windows shares. I navigate to  where I want to save the data, then hit the keys CTRL-T to open a tnew tabbed window. Then in that location bar type:  &lt;br /&gt;
 /mnt/hda1/&lt;br /&gt;
Now I see the hda1 (C: drive) contents. Just like in windows explorer, select the file &amp;amp; folders you want to copy, CTRL-C or right-click &amp;amp; copy them. Use the mouse &amp;amp; move over to the other tab with the smb connection, then CTRL-V or right-click paste to initiate the transfer. When you are done copying files, close the konqueror window, click the KDE K menu and choose to reboot/shutdown the PC. TO shutdown the PC by command:&lt;br /&gt;
 sudo init 0&lt;br /&gt;
&lt;br /&gt;
* Other method, in which both directions are possible. Either start SAMBA or mount the remote share.&lt;br /&gt;
** &amp;quot;sudo /etc/init.d/samba start&amp;quot;, add users with &amp;quot;smbpasswd -a knoppix&amp;quot;. After this, the home directory of user knoppix will be shared as readonly. If you need other shares, edit /etc/samba/smb.conf and restart samba (replace &amp;quot;start&amp;quot; with &amp;quot;restart&amp;quot;).&lt;br /&gt;
** &amp;quot;mkdir tmp/share; sudo mount -t smbfs -o username=Administrator //otherbox/share /tmp/share&amp;quot; (maybe start samba too to get rid of the warnings, especialy when using &amp;quot;nmblookup&amp;quot;)&lt;br /&gt;
* Or you can obtain a lissetup.sh (&amp;quot;wget &amp;lt;nowiki&amp;gt;http://users.volja.net/zejnovi/lissetup.sh&amp;lt;/nowiki&amp;gt;&amp;quot; in console). After doing that, in console, type: &amp;quot;chmod +x lissetup.sh&amp;quot;, and then &amp;quot;./lissetup.sh&amp;quot;. After doing this, you can use the LAN browser in Konqueror.&lt;br /&gt;
&lt;br /&gt;
==== Q: Knoppix 3.2: Errormessage during booting, when HOME-Directory is saved on HD? ====&lt;br /&gt;
I've saved the date on a FAT-32Partition, as an image and without password. I can't format the partition in a LINUX-Format, since it's used by other data. When I boot KNOPPIX with &amp;quot;knoppix myconfig=... home=....&amp;quot;, a short time later the message appears, that s.th. is not found and I'm asked for a password with at least 20 signs length (but such a password does not exist). It's no difference whether I type &amp;quot;home=scan&amp;quot; or s.th. like &amp;quot;home=/dev/hda5&amp;quot;. Never the less it seems to work fine, when I ignore the password request and negate the further enquiry with &amp;quot;n&amp;quot; for &amp;quot;no&amp;quot;. When I leave out &amp;quot;home=...&amp;quot; Knoppix has forgotton -as expected- the Home-Directory. The behavior is some how unbeautiful. Does anyone know how to avoid the request of that password?&lt;br /&gt;
&lt;br /&gt;
A: I encountered this problem when I placed both the config files and the persistent home on the same partition.If you do not have separate partitons then the config can be located on a floppy( I have not tried this.)&lt;br /&gt;
&lt;br /&gt;
====Q: What is the root password?====&lt;br /&gt;
&lt;br /&gt;
A: There is none; all passwords are locked/scrambled by default. You can set it by going Knoppix Menu-&amp;gt;Root Shell and typing &amp;quot;passwd&amp;quot;, then enterting a root password, also there are several sections you can read dealing with this subject in KNOPPIX/README_Security.txt.&lt;br /&gt;
You can also type &amp;quot;sudo su&amp;quot; or &amp;quot;sudo -s&amp;quot; in any console window, or use &amp;lt;ctr&amp;gt;-&amp;lt;alt&amp;gt;-F2 to get at the text console with already opened root shell.&lt;br /&gt;
&lt;br /&gt;
However, in some older versions of Knoppix, if you type 'sudo -s', it will ask for a password. If you simply press return without entering anything, it will tell you 'Authentication Failed.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
See also the forum thread titled [http://www.knoppix.net/forum/viewtopic.php?t=11500 &amp;quot;Root Password (what is it?)&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
====Q: How can I watch a DVD?====&lt;br /&gt;
&lt;br /&gt;
A: First of all, you have to have Knoppix installed on your hard drive.  You won't be able to execute the following proceedure if you are running it from the CD.&lt;br /&gt;
&lt;br /&gt;
* Become root&lt;br /&gt;
&lt;br /&gt;
* Add the following lines to your /etc/apt/sources.list:&lt;br /&gt;
&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://www.videolan.org/pub/videolan/debian&amp;lt;/nowiki&amp;gt; $(ARCH)/&lt;br /&gt;
 deb-src &amp;lt;nowiki&amp;gt;http://www.videolan.org/pub/videolan/debian&amp;lt;/nowiki&amp;gt; sources/&lt;br /&gt;
&lt;br /&gt;
* Then do:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install libdvdcss2&lt;br /&gt;
&lt;br /&gt;
* Play the DVD (e.g. with Xine, Ogle, Videolan, Mplayer etc).&lt;br /&gt;
* If your DVD plays but skips and jumps, then you probably need to enable Direct Memory Access (DMA) for the drive.&lt;br /&gt;
* To see if DMA is enabled, log in as root and type: &amp;quot;/sbin/hdparm -d &amp;lt;device name&amp;gt;&amp;quot;  For example: &amp;quot;/sbin/hdparm -d /dev/hdc&amp;quot;  It it says &amp;quot;using_dma    =  1 (on)&amp;quot; it is already turned on.&lt;br /&gt;
* Otherwise, to enable DMA type: &amp;quot;/sbin/hdparm -d 1 /dev/hdc&amp;quot;&lt;br /&gt;
*If you want DMA to be enabled automatically then  add the line &amp;quot;/sbin/hdparm -d 1 /dev/hdc&amp;quot; to any startup script (/etc/init.d/bootmisc.sh for example).&lt;br /&gt;
*Enjoy watching DVDs in Linux :-)&lt;br /&gt;
&lt;br /&gt;
-- &lt;br /&gt;
The links for /etc/apt/sources.list appear to be incorrect.&lt;br /&gt;
&lt;br /&gt;
The right links are:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://download.videolan.org/pub/videolan/debian&amp;lt;/nowiki&amp;gt; $(ARCH)/&lt;br /&gt;
 deb-src &amp;lt;nowiki&amp;gt;http://download.videolan.org/pub/videolan/debian&amp;lt;/nowiki&amp;gt; sources/&lt;br /&gt;
&lt;br /&gt;
====Q: I've installed Knoppix to my HD and default language and keyboard setting is German.  How do I change to US English?  I've changed KDE by fumbling through what I remembered of KDE Control Center. The keyboard is still in German with some of the keys in different places.====&lt;br /&gt;
&lt;br /&gt;
A: Right click on the German flag in the system tray of the taskbar, and choose configure from the menu and set the keyboard to the layout you want to use.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use KMenu &amp;gt; Settings &amp;gt; Control Panel &amp;gt; Regional &amp;amp; Accessibility &amp;gt; Country/ Region &amp;amp; Language &amp;gt; Locale &amp;gt; Country: &amp;quot;C - Default&amp;quot;, Keyboard: English: US  That does it for KDE. &lt;br /&gt;
&lt;br /&gt;
For the rest of the system, as root, type '''dpkg-reconfigure locales'''.  The first page is a list of fonts(?), press Tab then Enter to skip it.  The second page asks &amp;quot;Which locale should be the default in the system environment?&amp;quot; --  choose one of the en_US options.  ISO-8859-15 is nice&lt;br /&gt;
(it includes the Euro), although there is nothing wrong&lt;br /&gt;
with  ISO-8859-1 (aka Latin1).&lt;br /&gt;
&lt;br /&gt;
====Q: I've set the default language and keyboard in KDE, but some pages in Mozilla still come up in German instead of English. How do I fix this?====&lt;br /&gt;
&lt;br /&gt;
A1: In Mozilla, under Edit &amp;gt; Preferences...  and check on Language. On the right-hand side of the page you'll see that German is preferred over English in multi-lingual pages. Move English up and it will be the preferred language.&lt;br /&gt;
&lt;br /&gt;
A2: In Firefox, select Edit &amp;gt; Preferences.  Click the Advanced button, the General tab, then the Edit Languages button.  As above, move a line marked &amp;quot;English&amp;quot; to the top.&lt;br /&gt;
&lt;br /&gt;
====Q: I think about using Knoppix to make Partition-Images with [http://www.partimage.org partimage] - Did anybody try this out? Thanks in advance! -- http://linuxwiki.de/Brüßler====&lt;br /&gt;
&lt;br /&gt;
A: Yes, it works. -- [http://linuxwiki.de/PartImage LinuxWiki PartImage (in German)]&lt;br /&gt;
&lt;br /&gt;
====Q: How do I save my preferences (language, UI...) at the end of my session, when booting from CD? How do I restore them?====&lt;br /&gt;
&lt;br /&gt;
Go to the K-menu &amp;gt; KNOPPIX &amp;gt; Configuration and choose &amp;quot;save config&amp;quot;, you can save to floppy or to an already existing partition  on the harddrive. (on a windows partition is fine)&lt;br /&gt;
&lt;br /&gt;
To restore it, at the &amp;quot;boot:&amp;quot; prompt type in &amp;quot;knoppix myconfig=scan&amp;quot;, and it should find and restore your saved settings at boot time.&lt;br /&gt;
&lt;br /&gt;
====Q: After Installed knoopix in HD with lang=es, if I remove all the user configuration files in the /home/knoppix directory, the keys &amp;quot;&amp;lt; &amp;gt;&amp;quot; of my spanish keyboard are no longer recognized in the new kde session. What is the configuration file resposible of this behaviour?====&lt;br /&gt;
&lt;br /&gt;
A: Check the small flag in the bottom right corner of the screen, and you have to boot up with lang=es as a kernel parameter for it to work. (check /etc/lilo.conf)&lt;br /&gt;
&lt;br /&gt;
====Q:From where does KNOPPIX start all the scripts at the bootprocess?====&lt;br /&gt;
&lt;br /&gt;
A:The init scripts are located in /etc/init.d and are [[symlink]]ed to&lt;br /&gt;
in the /etc/rcX.d directorys in a sysV like fashion.&lt;br /&gt;
&lt;br /&gt;
====Q: Where can I find where all the boot-time parameters are interpreted???====&lt;br /&gt;
&lt;br /&gt;
A:You can see them in /etc/init.d/knoppix-autoconfig script&lt;br /&gt;
&lt;br /&gt;
====Q: How do I use an USB memory stick to save myconfiguration?====&lt;br /&gt;
&lt;br /&gt;
A: First boot KNOPPIX with the [http://www.wikipedia.org/wiki/keydrive memory stick] inserted. Got to the KNOPPIX menu, Configuration, Save Configuration. When asked, choose /dev/sda1. When booting type '''knoppix myconf=scan home=scan''' at the boot prompt.&lt;br /&gt;
&lt;br /&gt;
====Q: After using KNOPPIX, my Dell computer does not start!====&lt;br /&gt;
&lt;br /&gt;
A: This is an issue with the Dell BIOS. Simply pull out the power cord from your computer for a few seconds, and your computer should start again. You can also try passing &amp;quot;apm=off&amp;quot; or &amp;quot;apm=real-mode-poweroff&amp;quot; to the kernel during startup. apm=real-mode-poweroff is better because it keeps other apm-features (advanced power managment) turned on.&lt;br /&gt;
&lt;br /&gt;
====Q: How can I see a film with subtitles that of course I have, I think Xine is useful but I can't do it?====&lt;br /&gt;
&lt;br /&gt;
A: in a console &amp;quot;xine name_movie.ext#subtitle:name_subtitle.ext&amp;quot; you have to replace .ext with the real extension&lt;br /&gt;
&lt;br /&gt;
====Q: Which program do I use for word processing, spreadcheat calculations, image processing, burning, scanning, surfing, chatting...====&lt;br /&gt;
&lt;br /&gt;
A: Take a look at the [http://www.eleli.de/knoppix/docs/tutorial/english Knoppix Tutorial.]&lt;br /&gt;
&lt;br /&gt;
See also : * [http://www.linuxdevcenter.com/pub/a/linux/2003/11/20/knoppix.html?page=2 Using and Customizing Knoppix]&lt;br /&gt;
&lt;br /&gt;
====Q: How do I stop the KNOPPIX web page from appearing every time I start KNOPPIX? ====&lt;br /&gt;
&lt;br /&gt;
A: here is a 4 step process to edit your start up scrips so you get a clean desktop when you start your machine.&lt;br /&gt;
&lt;br /&gt;
1.Become root: in konsole, type: &lt;br /&gt;
 sudo -s&lt;br /&gt;
&lt;br /&gt;
2. Delete link to read-only x-init file on cd. type:&lt;br /&gt;
 rm /etc/X11/Xsession.d/45xsession&lt;br /&gt;
&lt;br /&gt;
3. Open the /KNOPPIX/etc/X11/Xsession.d/45xsession file in kwrite. type:&lt;br /&gt;
 kwrite /KNOPPIX/etc/X11/Xsession.d/45xsession&lt;br /&gt;
&lt;br /&gt;
3.1 In kwrite, search for:&lt;br /&gt;
 ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop&lt;br /&gt;
by clicking on the magnifying icon below the main menubar.&lt;br /&gt;
&lt;br /&gt;
3.2 below the line that reads:&lt;br /&gt;
 ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop&lt;br /&gt;
&lt;br /&gt;
and above the line that reads:&lt;br /&gt;
 fi&lt;br /&gt;
, insert:&lt;br /&gt;
 #added by gh78 --this next line removes the  autostart link &lt;br /&gt;
 rm -f $HOME/.kde/Autostart/showindex.desktop&lt;br /&gt;
 #added by gh78 --this next line removes the  knoppix intro web page from your desktop as well &lt;br /&gt;
 rm -f $HOME/Desktop/KNOPPIX.desktop&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Save the x-init file as /etc/X11/Xsession.d/45xsession&lt;br /&gt;
&lt;br /&gt;
done.&lt;br /&gt;
&lt;br /&gt;
Now when you save your configuration, the /etc folder is saved as well--and your new startup script will now start without creating those files.&lt;br /&gt;
&lt;br /&gt;
[[Category : FAQ Page]]&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Pivot_Root_Install</id>
		<title>Pivot Root Install</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Pivot_Root_Install"/>
				<updated>2006-07-07T07:57:01Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Step 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Pivot Root Install===&lt;br /&gt;
&lt;br /&gt;
This is an alternative installation technique that overcomes limitations of the [[Poor Mans Install]] and a regular hard drive install.  You can have a complete system on your drive (you can use apt-get to update it, etc.), plus it can be on a drive that is not bootable (such as an external drive connected via a usb2 or firewire card).  You can swap your drive to any other computer and still boot to your system using the Knoppix CD.&lt;br /&gt;
&lt;br /&gt;
What you basically do is boot up with the CD and then use pivot_root to load up your hard-drive based system.&lt;br /&gt;
&lt;br /&gt;
The downsides are that you still need to use the Knoppix CD to boot up, and you have to type some commands by hand to start up your system.  Hopefully we can create a script to automate this in the future.&lt;br /&gt;
&lt;br /&gt;
Instructions are based on [http://www.knoppix.net/forum/viewtopic.php?t=6463 this forum thread]&lt;br /&gt;
&lt;br /&gt;
Post there if you have any problems or suggestions.&lt;br /&gt;
&lt;br /&gt;
==== Step 1 ====&lt;br /&gt;
&lt;br /&gt;
Do a regular hard drive install (see [[Hd Install HowTo]]) wherever you want to install it.&lt;br /&gt;
&lt;br /&gt;
Basically you just type &amp;quot;sudo knoppix-installer&amp;quot; from the terminal command line and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
Do not install a boot loader to your MBR if you installed to a non-bootable drive or partition.&lt;br /&gt;
&lt;br /&gt;
==== Step 2 ====&lt;br /&gt;
&lt;br /&gt;
Start you computer with the Knoppix CD.  Then type these commands: (replace &amp;quot;/dev/sda7&amp;quot; with the location of your installed system)&lt;br /&gt;
&lt;br /&gt;
 knoppix26 single (at boot prompt, or just &amp;quot;knoppix single&amp;quot; for 2.4 kernel)&lt;br /&gt;
&lt;br /&gt;
 sudo -s&lt;br /&gt;
 mkdir /mnt/new_root&lt;br /&gt;
 mount /dev/sda7 /mnt/new_root&lt;br /&gt;
 mkdir /mnt/new''root/mnt/old_root (only necessary 1st time)&lt;br /&gt;
 cd /mnt/new_root&lt;br /&gt;
 pivot_root . /mnt/new''root/mnt/old_root&lt;br /&gt;
 mount /proc /proc -t proc&lt;br /&gt;
 init 5&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Customizing_environment_using_4.0.2CD</id>
		<title>Customizing environment using 4.0.2CD</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Customizing_environment_using_4.0.2CD"/>
				<updated>2006-07-07T07:53:58Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: /* Setting up webmin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the steps I use to customize my Knoppix 4.0.2 environment.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
= Persistent Disk Image (PDI) =&lt;br /&gt;
A persistent disk image allows me to customize Knoppix without having to remaster the CD.  With a generic Knoppix CD and a PDI, I can take my environment to just about any computer.&lt;br /&gt;
&lt;br /&gt;
Create a persistent disk image either from the GUI or the command line&lt;br /&gt;
* From within KDE&lt;br /&gt;
 K &amp;gt; KNOPPIX &amp;gt; Configure &amp;gt; Create persistent KNOPPIX image&lt;br /&gt;
* command line&lt;br /&gt;
 knoppix-mkimage&lt;br /&gt;
I prefer an image size of 500 MB, which is just large enough for a significant amount of software updates yet small enough to fit on a USB thumb drive.  I don't choose encryption, but that's a personal preference.  Once you create the image, reboot and specify the image at the boot prompt.  Assuming the knoppix.img is at /mnt/sda1/, then:&lt;br /&gt;
 boot: knoppix home=/mnt/sda1/knoppix.img&lt;br /&gt;
Note: Specifying the home folder may not be necessary.  Apparently, Knoppix scans for the knoppix.img even if one does not specify home=.&lt;br /&gt;
&lt;br /&gt;
= Installing Microsoft's True Type fonts =&lt;br /&gt;
Installing Microsoft's True Type fonts using apt-get at the command line&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install msttcorefonts&lt;br /&gt;
Change the fonts in KDE:&lt;br /&gt;
* open &amp;quot;K &amp;gt; Control Center&amp;quot;&lt;br /&gt;
* open &amp;quot;Appearance &amp;amp; Themes &amp;gt; Fonts&amp;quot;&lt;br /&gt;
* click &amp;quot;Adjust All Fonts&amp;quot;&lt;br /&gt;
* check &amp;quot;Font&amp;quot;&lt;br /&gt;
* highlight &amp;quot;Bitstream Vera Sans&amp;quot;&lt;br /&gt;
* click &amp;quot;OK&amp;quot;&lt;br /&gt;
* click &amp;quot;Apply&amp;quot;&lt;br /&gt;
* select &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Customizing the tool bar =&lt;br /&gt;
== Mozilla Firefox ==&lt;br /&gt;
Firefox uses the globe icon instead of the icon with the firefox.  I like to change the icon to the Firefox icon.&lt;br /&gt;
* right click the Firefox icon in the toolbar&lt;br /&gt;
* click on Properties&lt;br /&gt;
* click on the icon&lt;br /&gt;
* in the search box, type &amp;quot;fire&amp;quot;&lt;br /&gt;
* double-click on the FireFox icon&lt;br /&gt;
* click OK&lt;br /&gt;
= Customizing the K menu =&lt;br /&gt;
== Run KSysV as root ==&lt;br /&gt;
* click on &amp;quot;K &amp;gt; System&amp;quot;&lt;br /&gt;
* right-click on &amp;quot;KSysV (SysV-Init Editor)&amp;quot;&lt;br /&gt;
* click on &amp;quot;Edit Item&amp;quot;&lt;br /&gt;
* in the Command text field, add sudo to the front of the command&lt;br /&gt;
 sudo ksysv -caption &amp;quot;%c&amp;quot; %i %m&lt;br /&gt;
* uncheck &amp;quot;Run as different user&amp;quot;&lt;br /&gt;
* click on &amp;quot;File &amp;gt; Save&amp;quot;&lt;br /&gt;
* click on &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Changing the background image =&lt;br /&gt;
Change the background image to Debian Blue:&lt;br /&gt;
* open &amp;quot;K &amp;gt; Control Center&amp;quot;&lt;br /&gt;
* open &amp;quot;Appearance &amp;amp; Themes &amp;gt; Background&amp;quot;&lt;br /&gt;
* click the radio button &amp;quot;Picture&amp;quot;&lt;br /&gt;
* choose &amp;quot;Debian Blue&amp;quot; from the drop-down menu&lt;br /&gt;
* click &amp;quot;Apply&amp;quot;&lt;br /&gt;
* select &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Changing the splash screen =&lt;br /&gt;
Change the splash screen to &amp;quot;Redmond&amp;quot;:&lt;br /&gt;
* open &amp;quot;K &amp;gt; Control Center&amp;quot;&lt;br /&gt;
* open &amp;quot;Appearance &amp;amp; Themes &amp;gt; Splash Screen&amp;quot;&lt;br /&gt;
* click on Redmond&lt;br /&gt;
* click &amp;quot;Apply&amp;quot;&lt;br /&gt;
* select &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Setting up and starting services =&lt;br /&gt;
== Setting up webmin ==&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost:10000/&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 passwd&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin&lt;br /&gt;
 rm /etc/rc?.d/*webmin&lt;br /&gt;
 update-rc.d webmin start 30 2 3 4 5 . stop 70 0 1 6 .&lt;br /&gt;
 /etc/init.d/webmin stop&lt;br /&gt;
 /etc/init.d/webmin start&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost:10000/&lt;br /&gt;
&lt;br /&gt;
== Setting up the apache webserver ==&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost/&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 update-rc.d apache start 40 2 3 4 5 . stop 60 0 1 6 .&lt;br /&gt;
 /etc/init.d/apache stop&lt;br /&gt;
 /etc/init.d/apache start&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost/&lt;br /&gt;
&lt;br /&gt;
setting up webmin-apache&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin-apache&lt;br /&gt;
 #&lt;br /&gt;
 # test connection to apache module and configure (I choose the defaults)&lt;br /&gt;
 lynx https://localhost:10000/apache/index.cgi&lt;br /&gt;
&lt;br /&gt;
== Setting up the SSH server ==&lt;br /&gt;
 # test&lt;br /&gt;
 ssh knoppix@localhost&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 passwd knoppix&lt;br /&gt;
 update-rc.d ssh start 35 2 3 4 5 . stop 65 0 1 6 .&lt;br /&gt;
 perl -i -plne 's/(^PermitRootLogin) yes/$1 no/' /etc/ssh/sshd_config&lt;br /&gt;
 /etc/init.d/ssh stop&lt;br /&gt;
 /etc/init.d/ssh start&lt;br /&gt;
 # test&lt;br /&gt;
 ssh knoppix@localhost&lt;br /&gt;
&lt;br /&gt;
setting up webmin-ssh&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin-sshd&lt;br /&gt;
 #&lt;br /&gt;
 # test connection to sshd module&lt;br /&gt;
 https://localhost:10000/sshd/index.cgi&lt;br /&gt;
&lt;br /&gt;
== Setting up the MySQL server ==&lt;br /&gt;
 # test&lt;br /&gt;
 mysql --no-defaults -h localhost -u root mysql -e 'status'&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 update-rc.d mysql start 35 2 3 4 5 . stop 65 0 1 6 .&lt;br /&gt;
 perl -i -plne 's/(^old_pass)/# $1/' /etc/mysql/my.cnf &lt;br /&gt;
 /etc/init.d/mysql stop&lt;br /&gt;
 /etc/init.d/mysql start&lt;br /&gt;
 # test&lt;br /&gt;
 mysql --no-defaults -h localhost -u root mysql -e 'status'&lt;br /&gt;
&lt;br /&gt;
configuring MySQL root account&lt;br /&gt;
 # set a root password&lt;br /&gt;
 mysqladmin --no-defaults -h localhost -u root password 123456&lt;br /&gt;
 # unset the root password&lt;br /&gt;
 mysqladmin --no-defaults -h localhost -u root -p123456 password ''&lt;br /&gt;
&lt;br /&gt;
setting up webmin-mysql&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin-mysql&lt;br /&gt;
 #&lt;br /&gt;
 # test connection to MySQL module&lt;br /&gt;
 lynx https://localhost:10000/mysql/index.cgi&lt;br /&gt;
&lt;br /&gt;
== Setting up Mediawiki ==&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost/mediawiki/&lt;br /&gt;
&lt;br /&gt;
 # install&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install mediawiki&lt;br /&gt;
&lt;br /&gt;
 # enable index.php&lt;br /&gt;
 perl -i -plne '$rep=&amp;quot;\n\tDirectoryIndex index.html index.htm &amp;quot; .&lt;br /&gt;
     &amp;quot;index.shtml index.cgi index.php&amp;quot; ;&lt;br /&gt;
      s#(^.*/mediawiki/&amp;gt;)#$1$rep#' /etc/mediawiki/apache.conf&lt;br /&gt;
 /etc/init.d/apache reload&lt;br /&gt;
&lt;br /&gt;
 # configure -- Fill in form&lt;br /&gt;
 lynx http://localhost/mediawiki/&lt;br /&gt;
&lt;br /&gt;
 # If configuring worked, move the config files around &lt;br /&gt;
 ( set -x&lt;br /&gt;
   mv /var/lib/mediawiki/config/LocalSettings.php /etc/mediawiki/LocalSettings.php &amp;amp;&amp;amp;&lt;br /&gt;
   chmod 600 /etc/mediawiki/LocalSettings.php &amp;amp;&amp;amp;&lt;br /&gt;
   rm -rf /var/lib/mediawiki/config/&lt;br /&gt;
 )&lt;br /&gt;
 /etc/init.d/apache reload&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Customizing_environment_using_4.0.2CD</id>
		<title>Customizing environment using 4.0.2CD</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Customizing_environment_using_4.0.2CD"/>
				<updated>2006-07-07T07:53:15Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the steps I use to customize my Knoppix 4.0.2 environment.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
= Persistent Disk Image (PDI) =&lt;br /&gt;
A persistent disk image allows me to customize Knoppix without having to remaster the CD.  With a generic Knoppix CD and a PDI, I can take my environment to just about any computer.&lt;br /&gt;
&lt;br /&gt;
Create a persistent disk image either from the GUI or the command line&lt;br /&gt;
* From within KDE&lt;br /&gt;
 K &amp;gt; KNOPPIX &amp;gt; Configure &amp;gt; Create persistent KNOPPIX image&lt;br /&gt;
* command line&lt;br /&gt;
 knoppix-mkimage&lt;br /&gt;
I prefer an image size of 500 MB, which is just large enough for a significant amount of software updates yet small enough to fit on a USB thumb drive.  I don't choose encryption, but that's a personal preference.  Once you create the image, reboot and specify the image at the boot prompt.  Assuming the knoppix.img is at /mnt/sda1/, then:&lt;br /&gt;
 boot: knoppix home=/mnt/sda1/knoppix.img&lt;br /&gt;
Note: Specifying the home folder may not be necessary.  Apparently, Knoppix scans for the knoppix.img even if one does not specify home=.&lt;br /&gt;
&lt;br /&gt;
= Installing Microsoft's True Type fonts =&lt;br /&gt;
Installing Microsoft's True Type fonts using apt-get at the command line&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install msttcorefonts&lt;br /&gt;
Change the fonts in KDE:&lt;br /&gt;
* open &amp;quot;K &amp;gt; Control Center&amp;quot;&lt;br /&gt;
* open &amp;quot;Appearance &amp;amp; Themes &amp;gt; Fonts&amp;quot;&lt;br /&gt;
* click &amp;quot;Adjust All Fonts&amp;quot;&lt;br /&gt;
* check &amp;quot;Font&amp;quot;&lt;br /&gt;
* highlight &amp;quot;Bitstream Vera Sans&amp;quot;&lt;br /&gt;
* click &amp;quot;OK&amp;quot;&lt;br /&gt;
* click &amp;quot;Apply&amp;quot;&lt;br /&gt;
* select &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Customizing the tool bar =&lt;br /&gt;
== Mozilla Firefox ==&lt;br /&gt;
Firefox uses the globe icon instead of the icon with the firefox.  I like to change the icon to the Firefox icon.&lt;br /&gt;
* right click the Firefox icon in the toolbar&lt;br /&gt;
* click on Properties&lt;br /&gt;
* click on the icon&lt;br /&gt;
* in the search box, type &amp;quot;fire&amp;quot;&lt;br /&gt;
* double-click on the FireFox icon&lt;br /&gt;
* click OK&lt;br /&gt;
= Customizing the K menu =&lt;br /&gt;
== Run KSysV as root ==&lt;br /&gt;
* click on &amp;quot;K &amp;gt; System&amp;quot;&lt;br /&gt;
* right-click on &amp;quot;KSysV (SysV-Init Editor)&amp;quot;&lt;br /&gt;
* click on &amp;quot;Edit Item&amp;quot;&lt;br /&gt;
* in the Command text field, add sudo to the front of the command&lt;br /&gt;
 sudo ksysv -caption &amp;quot;%c&amp;quot; %i %m&lt;br /&gt;
* uncheck &amp;quot;Run as different user&amp;quot;&lt;br /&gt;
* click on &amp;quot;File &amp;gt; Save&amp;quot;&lt;br /&gt;
* click on &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Changing the background image =&lt;br /&gt;
Change the background image to Debian Blue:&lt;br /&gt;
* open &amp;quot;K &amp;gt; Control Center&amp;quot;&lt;br /&gt;
* open &amp;quot;Appearance &amp;amp; Themes &amp;gt; Background&amp;quot;&lt;br /&gt;
* click the radio button &amp;quot;Picture&amp;quot;&lt;br /&gt;
* choose &amp;quot;Debian Blue&amp;quot; from the drop-down menu&lt;br /&gt;
* click &amp;quot;Apply&amp;quot;&lt;br /&gt;
* select &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Changing the splash screen =&lt;br /&gt;
Change the splash screen to &amp;quot;Redmond&amp;quot;:&lt;br /&gt;
* open &amp;quot;K &amp;gt; Control Center&amp;quot;&lt;br /&gt;
* open &amp;quot;Appearance &amp;amp; Themes &amp;gt; Splash Screen&amp;quot;&lt;br /&gt;
* click on Redmond&lt;br /&gt;
* click &amp;quot;Apply&amp;quot;&lt;br /&gt;
* select &amp;quot;File &amp;gt; Quit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Setting up and starting services =&lt;br /&gt;
== Setting up webmin ==&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost:10000/&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 passwd&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin&lt;br /&gt;
 \rm /etc/rc?.d/*webmin&lt;br /&gt;
 update-rc.d webmin start 30 2 3 4 5 . stop 70 0 1 6 .&lt;br /&gt;
 /etc/init.d/webmin stop&lt;br /&gt;
 /etc/init.d/webmin start&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost:10000/&lt;br /&gt;
&lt;br /&gt;
== Setting up the apache webserver ==&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost/&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 update-rc.d apache start 40 2 3 4 5 . stop 60 0 1 6 .&lt;br /&gt;
 /etc/init.d/apache stop&lt;br /&gt;
 /etc/init.d/apache start&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost/&lt;br /&gt;
&lt;br /&gt;
setting up webmin-apache&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin-apache&lt;br /&gt;
 #&lt;br /&gt;
 # test connection to apache module and configure (I choose the defaults)&lt;br /&gt;
 lynx https://localhost:10000/apache/index.cgi&lt;br /&gt;
&lt;br /&gt;
== Setting up the SSH server ==&lt;br /&gt;
 # test&lt;br /&gt;
 ssh knoppix@localhost&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 passwd knoppix&lt;br /&gt;
 update-rc.d ssh start 35 2 3 4 5 . stop 65 0 1 6 .&lt;br /&gt;
 perl -i -plne 's/(^PermitRootLogin) yes/$1 no/' /etc/ssh/sshd_config&lt;br /&gt;
 /etc/init.d/ssh stop&lt;br /&gt;
 /etc/init.d/ssh start&lt;br /&gt;
 # test&lt;br /&gt;
 ssh knoppix@localhost&lt;br /&gt;
&lt;br /&gt;
setting up webmin-ssh&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin-sshd&lt;br /&gt;
 #&lt;br /&gt;
 # test connection to sshd module&lt;br /&gt;
 https://localhost:10000/sshd/index.cgi&lt;br /&gt;
&lt;br /&gt;
== Setting up the MySQL server ==&lt;br /&gt;
 # test&lt;br /&gt;
 mysql --no-defaults -h localhost -u root mysql -e 'status'&lt;br /&gt;
 # install/setup&lt;br /&gt;
 sudo -i&lt;br /&gt;
 update-rc.d mysql start 35 2 3 4 5 . stop 65 0 1 6 .&lt;br /&gt;
 perl -i -plne 's/(^old_pass)/# $1/' /etc/mysql/my.cnf &lt;br /&gt;
 /etc/init.d/mysql stop&lt;br /&gt;
 /etc/init.d/mysql start&lt;br /&gt;
 # test&lt;br /&gt;
 mysql --no-defaults -h localhost -u root mysql -e 'status'&lt;br /&gt;
&lt;br /&gt;
configuring MySQL root account&lt;br /&gt;
 # set a root password&lt;br /&gt;
 mysqladmin --no-defaults -h localhost -u root password 123456&lt;br /&gt;
 # unset the root password&lt;br /&gt;
 mysqladmin --no-defaults -h localhost -u root -p123456 password ''&lt;br /&gt;
&lt;br /&gt;
setting up webmin-mysql&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install webmin-mysql&lt;br /&gt;
 #&lt;br /&gt;
 # test connection to MySQL module&lt;br /&gt;
 lynx https://localhost:10000/mysql/index.cgi&lt;br /&gt;
&lt;br /&gt;
== Setting up Mediawiki ==&lt;br /&gt;
 # test&lt;br /&gt;
 lynx -dump http://localhost/mediawiki/&lt;br /&gt;
&lt;br /&gt;
 # install&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install mediawiki&lt;br /&gt;
&lt;br /&gt;
 # enable index.php&lt;br /&gt;
 perl -i -plne '$rep=&amp;quot;\n\tDirectoryIndex index.html index.htm &amp;quot; .&lt;br /&gt;
     &amp;quot;index.shtml index.cgi index.php&amp;quot; ;&lt;br /&gt;
      s#(^.*/mediawiki/&amp;gt;)#$1$rep#' /etc/mediawiki/apache.conf&lt;br /&gt;
 /etc/init.d/apache reload&lt;br /&gt;
&lt;br /&gt;
 # configure -- Fill in form&lt;br /&gt;
 lynx http://localhost/mediawiki/&lt;br /&gt;
&lt;br /&gt;
 # If configuring worked, move the config files around &lt;br /&gt;
 ( set -x&lt;br /&gt;
   mv /var/lib/mediawiki/config/LocalSettings.php /etc/mediawiki/LocalSettings.php &amp;amp;&amp;amp;&lt;br /&gt;
   chmod 600 /etc/mediawiki/LocalSettings.php &amp;amp;&amp;amp;&lt;br /&gt;
   rm -rf /var/lib/mediawiki/config/&lt;br /&gt;
 )&lt;br /&gt;
 /etc/init.d/apache reload&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/FluxBox</id>
		<title>FluxBox</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/FluxBox"/>
				<updated>2005-05-20T19:56:05Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: typo: flexbox -&amp;gt; fluxbox&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Describe [[FluxBox]] here.&lt;br /&gt;
&lt;br /&gt;
: [[Fluxbox]] is a lightweight and slick window manager. Unlike the heavy weights, Gnome and KDE which take 15-30 seconds to get up and running, Fluxbox is up and running as soon as you hit the enter key.  Its menu and configuration is done by simple files located in the user directory under the name .fluxbox.&lt;br /&gt;
&lt;br /&gt;
: One item to note: don't be put off initially by the rather extremely small fonts that are configured for the styles that come with fluxbox. Simply change them from 100's to 120's in the style files and Fluxbox looks as good as any WM could.&lt;br /&gt;
&lt;br /&gt;
: [[Fluxbox]] has a slick tabbing mechanism for windows. You can combine multiple windows into one window with tabs across the top by simply middle-clicking the tab of one window (and holding it down) and dragging and dropping on the tab of another window. This is very nice for cleaning up a desktop without exiling applications to other virtual windows (it has those too).&lt;br /&gt;
&lt;br /&gt;
: Another nice feature is [[Fluxbox]]'s support for docking applications. Basicially a docking app runs as sort of an icon with minature display or controls. But not like an icon, more like small controls on a walkman (for example) as opposed to a big dial face of a home stereo.  Look at some screen shots, you'll see them.&lt;br /&gt;
&lt;br /&gt;
: Fluxbox is an amazing piece of software that does not depend on other WMs. It is small, fast and almost a sure thing for pleasing the eye.  (Source &amp;lt; 500K)&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/User:WikiQuu</id>
		<title>User:WikiQuu</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/User:WikiQuu"/>
				<updated>2005-03-31T11:37:42Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I'm a bastard&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Main_Page"/>
				<updated>2005-03-31T11:36:11Z</updated>
		
		<summary type="html">&lt;p&gt;Jacksonon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i'm sorry to delete all this, but some bastard messed this page up with his kiddie-porn&lt;/div&gt;</summary>
		<author><name>Jacksonon</name></author>	</entry>

	</feed>