Pivot Root Install


From Knoppix Documentation Wiki
Revision as of 02:20, 31 May 2005 by Dfannin (Talk | contribs)

Jump to: navigation, search

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 su
  • mkdir /mnt/new_root
  • mount /dev/sda7 /mnt/new_root
  • mkdir /mnt/new_root/mnt/old_root (only necessary 1st time)
  • cd /mnt/new_root
  • pivot_root . /mnt/new_root/mnt/old_root
  • mount /proc /proc -t proc
  • init 5