<?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=KwerWolf</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=KwerWolf"/>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Special:Contributions/KwerWolf"/>
		<updated>2026-09-17T12:15:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<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>2007-01-09T21:37:08Z</updated>
		
		<summary type="html">&lt;p&gt;KwerWolf: Note on sudo -s (seems to be obsolete with Knoppix 5.1.x)&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;br /&gt;
&lt;br /&gt;
With (at least) Knoppix 5.1.1 the 'sudo -s' command is optional.&lt;/div&gt;</summary>
		<author><name>KwerWolf</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>2007-01-09T21:21:57Z</updated>
		
		<summary type="html">&lt;p&gt;KwerWolf: Fixed special characters problem in example code&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>KwerWolf</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Talk:Pivot_Root_Install</id>
		<title>Talk:Pivot Root Install</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Talk:Pivot_Root_Install"/>
				<updated>2007-01-08T23:23:39Z</updated>
		
		<summary type="html">&lt;p&gt;KwerWolf: Yes, it works!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Whoever wrote it ... Thank you!&lt;br /&gt;
It works. I tried with Knoppix 5.1.1 tonight and it's almost great.&lt;br /&gt;
&lt;br /&gt;
One small addition ... I had to change the permissions for /dev/pty on the installed (USB-Disk) Image ... but this was the smallest thing ...&lt;br /&gt;
&lt;br /&gt;
Now I'm able to run a 'real' Linux on a notebook without a harddisk (just from the USB disk) with all options enabled.&lt;br /&gt;
&lt;br /&gt;
And I'm convinced that this can be further automated by putting the commands after the 'mount' into a script on the hdd partition ...&lt;br /&gt;
&lt;br /&gt;
(hope this was the right place to post it ...)&lt;br /&gt;
&lt;br /&gt;
Thx [[User:KwerWolf|KwerWolf]] 23:23, 8 Jan 2007 (GMT)&lt;/div&gt;</summary>
		<author><name>KwerWolf</name></author>	</entry>

	</feed>