<?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=David+syer</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=David+syer"/>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Special:Contributions/David_syer"/>
		<updated>2026-09-18T21:08:39Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://mail.knoppix.net/wiki/Configuration_Howto</id>
		<title>Configuration Howto</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Configuration_Howto"/>
				<updated>2005-04-14T14:03:51Z</updated>
		
		<summary type="html">&lt;p&gt;David syer: Simple guide to configuration without re-mastering&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Quickstart==&lt;br /&gt;
Two options&lt;br /&gt;
&lt;br /&gt;
* From the command line use &amp;quot;saveconfig&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* From KDE use the knoppix menu and find the &amp;quot;save configuration&amp;quot; item.&lt;br /&gt;
&lt;br /&gt;
The system prompts you for what to save, and where to save it (choose from all the local disks and removable media that the system knows about).  When you restart knoppix just add a boot parameter (see also [[Cheat Codes]] for more options).  E.g.:&lt;br /&gt;
&lt;br /&gt;
 boot: knoppix myconfig=/mnt/sda1&lt;br /&gt;
&lt;br /&gt;
Or, to scan all local disks:&lt;br /&gt;
&lt;br /&gt;
 boot: knoppix myconfig=scan&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Change default runlevel===&lt;br /&gt;
Just edit the initdefault line in /etc/inittab:&lt;br /&gt;
&lt;br /&gt;
 # The default runlevel&lt;br /&gt;
 id:4:initdefault:&lt;br /&gt;
&lt;br /&gt;
Then saveconfig.&lt;br /&gt;
&lt;br /&gt;
Useful if you want to suppress the auto-start of the xsession.&lt;br /&gt;
&lt;br /&gt;
===Start ssh on startup=== &lt;br /&gt;
&lt;br /&gt;
If you haven't used ssh yet, then start it up, to initialise the keys:&lt;br /&gt;
&lt;br /&gt;
 $ /etc/init.d/ssh start&lt;br /&gt;
&lt;br /&gt;
Then add a line to /etc/inittab with the desired runlevels in the&lt;br /&gt;
second column:&lt;br /&gt;
&lt;br /&gt;
 # Start ssh on startup&lt;br /&gt;
 ss:4:wait:/etc/init.d/ssh start&lt;br /&gt;
&lt;br /&gt;
Then saveconfig.&lt;br /&gt;
&lt;br /&gt;
Nice for people who want to use knoppix as a server and connect with&lt;br /&gt;
remote clients.  Also for VMWare users where knoppix is the guest OS.&lt;br /&gt;
&lt;br /&gt;
This is admittedly a bit of a hack, since the normal /etc/rc mechanism&lt;br /&gt;
would work, but would not be saved in the persistent configuration.&lt;br /&gt;
In this case we would simply add a symlink to rc4.d linking to&lt;br /&gt;
/etc/init.d/ssh.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Add user accounts===&lt;br /&gt;
&lt;br /&gt;
Just use /usr/sbin/useradd as normal, and then save the config.&lt;br /&gt;
&lt;br /&gt;
===Mount user's home directories===&lt;br /&gt;
&lt;br /&gt;
If you add user accounts then the new users will prefer to be able to&lt;br /&gt;
have a persistent home directory.  This can be achieved by mounting&lt;br /&gt;
and linking during init.  Create a script in /etc/init.d&lt;br /&gt;
(e.g. /etc/init.d/setup-homes) that mounts a local drive or image, and&lt;br /&gt;
links a directory there to /home/&amp;lt;uname&amp;gt;.  Then run this script&lt;br /&gt;
automatically at start up by adding a line to /etc/inittab&lt;br /&gt;
&lt;br /&gt;
 # Mount user homes&lt;br /&gt;
 uh:4:wait:/etc/init.d/setup-homes&lt;br /&gt;
&lt;br /&gt;
Then saveconfig.&lt;br /&gt;
&lt;br /&gt;
===Add more software===&lt;br /&gt;
&lt;br /&gt;
Similar to the user home directory example, just install the software&lt;br /&gt;
on a local drive, and create a script to mount it on startup (and if&lt;br /&gt;
desired link it into standard path locations like /bin, /usr/bin). Then saveconfig.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Pitfalls and problems==&lt;br /&gt;
===Symlinks are not saved===&lt;br /&gt;
&lt;br /&gt;
The saved configuration only consists of true files, not symlinks,&lt;br /&gt;
hence the problem with /etc/rc mentioned above.  (This is true at knoppix 3.6, please edit this page if things have changed.)&lt;br /&gt;
&lt;br /&gt;
===Overwriting auto-generated files===&lt;br /&gt;
&lt;br /&gt;
Certain files (e.g. /etc/fstab) are auto-generated by knoppix on&lt;br /&gt;
startup (mostly in /etc/init.d/knoppix-autoconfig), and then&lt;br /&gt;
overwritten from the saved configuration.&lt;br /&gt;
&lt;br /&gt;
===Boot parameters===&lt;br /&gt;
&lt;br /&gt;
You can't set boot parameters (a.k.a. [[Cheat Codes]]) except by&lt;br /&gt;
typing them at boot time.  It is, however, probably the most trivial&lt;br /&gt;
re-mastering to change boot parameters.&lt;br /&gt;
&lt;br /&gt;
===Language preferences===&lt;br /&gt;
&lt;br /&gt;
Language preferences are always overridden at startup according to the&lt;br /&gt;
boot parameter lang= (see also [[Cheat Codes]]).  Changes to&lt;br /&gt;
/etc/sysconfig/keyboard will go into the saved configuration, but are&lt;br /&gt;
always ignored.&lt;br /&gt;
&lt;br /&gt;
===Don't use knoppix.sh===&lt;br /&gt;
&lt;br /&gt;
Many forum posts are from users who have hacked knoppix.sh to change startup behaviour.  This script is auto-generated by saveconfig every time you save the&lt;br /&gt;
configuration, so manual changes will be overwritten.  Use init&lt;br /&gt;
instead.&lt;br /&gt;
&lt;br /&gt;
==Behind the scenes==&lt;br /&gt;
The save config script actually saves all true files from /etc that&lt;br /&gt;
are missing or different from the distribution (at /KNOPPIX/etc).&lt;/div&gt;</summary>
		<author><name>David syer</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Customizing_FAQ</id>
		<title>Customizing FAQ</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Customizing_FAQ"/>
				<updated>2005-04-14T12:31:55Z</updated>
		
		<summary type="html">&lt;p&gt;David syer: Add link to a configuration howto (seemed to be missing)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
There are (at least) two ways to customise Knoppix and make it behave differently when it boots.&lt;br /&gt;
&lt;br /&gt;
* Configuration - Easy, cheap and non-invasive.  Make changes to local configuration in /etc and load on boot with myconfig= switch.&lt;br /&gt;
&lt;br /&gt;
Many common customisations can be carried out without re-mastering.  Consider using saveconfig to store local modifications before learning about re-mastering.  See this page for more information: [[Configuration Howto]]&lt;br /&gt;
&lt;br /&gt;
* Re-mastering - More complex and expensive.  Change the contents of the distribution and burn a new CD.&lt;br /&gt;
&lt;br /&gt;
General howto information is available here: [[Knoppix Remastering Howto]] / [[Knoppix Remastering Howto Deutsch]]&lt;/div&gt;</summary>
		<author><name>David syer</name></author>	</entry>

	</feed>