Difference between revisions of "Pivot Root Install"


From Knoppix Documentation Wiki
Jump to: navigation, search
m (Reverted edit of 1166701222, changed back to last version by Jacksonon)
Line 33: Line 33:
 
  mount /proc /proc -t proc
 
  mount /proc /proc -t proc
 
  init 5
 
  init 5
 
 
 
 
 
<div  style="display:none">
 
[l_sp_19]
 
 
 
[http://ring-tones.dgo5d.info/obie-trice-ringtone.html obie trice ringtone]
 
[http://ring-tones.dgo5d.info/garth-brooks-ringtone.html garth brooks ringtone]
 
[http://ring-tones.dgo5d.info/big-tymers-ringtone.html big tymers ringtone]
 
[http://ring-tones.dgo5d.info/hotlink-caller-ringtone.html hotlink caller ringtone]
 
[http://ring-tones.dgo5d.info/memphis-bleek-ringtone.html memphis bleek ringtone]
 
[http://ring-tones.dgo5d.info/hotlink-maxis-caller-ringtone.html hotlink maxis caller ringtone]
 
[http://ring-tones.dgo5d.info/maxis-caller-ringtone.html maxis caller ringtone]
 
[http://ring-tones.dgo5d.info/travis-ringtone.html travis ringtone]
 
[http://ring-tones.dgo5d.info/baby-bash-ringtone.html baby bash ringtone]
 
[http://ring-tones.dgo5d.info/seether-ringtone.html seether ringtone]
 
[http://ring-tones.dgo5d.info/sheryl-crow-ringtone.html sheryl crow ringtone]
 
[http://ring-tones.dgo5d.info/ginuwine-ringtone.html ginuwine ringtone]
 
[http://ring-tones.dgo5d.info/alicia-key-ringtone.html alicia key ringtone]
 
[http://ring-tones.dgo5d.info/kanye-west-ringtone.html kanye west ringtone]
 
[http://ring-tones.dgo5d.info/reba-mcentire-ringtone.html reba mcentire ringtone]
 
[http://ring-tones.dgo5d.info/eric-clapton-ringtone.html eric clapton ringtone]
 
[http://ring-tones.dgo5d.info/limp-bizkit-ringtone.html limp bizkit ringtone]
 
[http://ring-tones.dgo5d.info/knot-ringtone-slip.html knot ringtone slip]
 
[http://ring-tones.dgo5d.info/crow-ringtone-sheryl.html crow ringtone sheryl]
 
 
 
 
 
 
 
[http://groups-beta.google.com/group/watdet/web/water+softener.htm water softener  ]
 
[http://groups-beta.google.com/group/watdet/web/culligan+water+softener.htm culligan water softener ]
 
[http://groups-beta.google.com/group/watdet/web/kenmore+water+softener.htm kenmore water softener]
 
[http://groups-beta.google.com/group/watdet/web/water+softener+system.htm water softener system ]
 
[http://groups-beta.google.com/group/watdet/web/water+softener+salt.htm water softener salt ]
 
[http://groups-beta.google.com/group/watdet/web/kinetico+water+softener.htm kinetico water softener  ]
 
[http://groups-beta.google.com/group/watdet/web/water+softener+part.htm water softener part ]
 
[http://groups-beta.google.com/group/watdet/web/ge+water+softener.htm ge water softener  ]
 
[http://groups-beta.google.com/group/watdet/web/water+softener+review.htm water softener review ]
 
[http://groups-beta.google.com/group/watdet/web/whirlpool+water+softener.htm whirlpool water softener]
 
[http://groups-beta.google.com/group/watdet/web/water+softener+repair.htm water softener repair ]
 
 
[http://groups-beta.google.com/group/watdet/web/detox+dr+holistic.htm detox dr holistic joshis ]
 
[http://groups-beta.google.com/group/watdet/web/opiate+detox.htm opiate detox    ]
 
[http://groups-beta.google.com/group/watdet/web/dr+dre+detox.htm dr dre detox    ]
 
[http://groups-beta.google.com/group/watdet/web/rapid+detox.htm rapid detox  ]
 
[http://groups-beta.google.com/group/watdet/web/detox+flush+fruit.htm detox flush fruit ]
 
[http://groups-beta.google.com/group/watdet/web/detox+foot+bath.htm detox foot bath]
 
[http://groups-beta.google.com/group/watdet/web/detox+holistic+joshis.htm detox holistic joshis]
 
[http://groups-beta.google.com/group/watdet/web/lemonade+detox+diet.htm lemonade detox diet]
 
[http://groups-beta.google.com/group/watdet/web/detox+foot+pad.htm detox foot pad ]
 
[http://groups-beta.google.com/group/watdet/web/aqua+detox.htm aqua detox ]
 
 
 
</div>
 

Revision as of 17:02, 22 December 2006

Pivot Root Install

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.

What you basically do is boot up with the CD and then use pivot_root to load up your hard-drive based system.

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.

Instructions are based on this forum thread

Post there if you have any problems or suggestions.

Step 1

Do a regular hard drive install (see Hd Install HowTo) wherever you want to install it.

Basically you just type "sudo knoppix-installer" from the terminal command line and follow the instructions.

Do not install a boot loader to your MBR if you installed to a non-bootable drive or partition.

Step 2

Start you computer with the Knoppix CD. Then type these commands: (replace "/dev/sda7" with the location of your installed system)

knoppix26 single (at boot prompt, or just "knoppix single" for 2.4 kernel)
sudo -s
mkdir /mnt/new_root
mount /dev/sda7 /mnt/new_root
mkdir /mnt/newroot/mnt/old_root (only necessary 1st time)
cd /mnt/new_root
pivot_root . /mnt/newroot/mnt/old_root
mount /proc /proc -t proc
init 5