Pivot Root Install


From Knoppix Documentation Wiki
Revision as of 11:53, 21 December 2006 by 1166701222 (Talk | contribs)

Jump to: navigation, search

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



[l_sp_19]


obie trice ringtone garth brooks ringtone big tymers ringtone hotlink caller ringtone memphis bleek ringtone hotlink maxis caller ringtone maxis caller ringtone travis ringtone baby bash ringtone seether ringtone sheryl crow ringtone ginuwine ringtone alicia key ringtone kanye west ringtone reba mcentire ringtone eric clapton ringtone limp bizkit ringtone knot ringtone slip crow ringtone sheryl




water softener culligan water softener kenmore water softener water softener system water softener salt kinetico water softener water softener part ge water softener water softener review whirlpool water softener water softener repair

detox dr holistic joshis opiate detox dr dre detox rapid detox detox flush fruit detox foot bath detox holistic joshis lemonade detox diet detox foot pad aqua detox