Difference between revisions of "Pivot Root Install"


From Knoppix Documentation Wiki
Jump to: navigation, search
(Step 2)
(Step 2)
Line 24: Line 24:
 
* mount /proc /proc -t proc
 
* mount /proc /proc -t proc
 
* init 5
 
* init 5
 +
 +
 +
 +
 +
  
  

Revision as of 09:43, 2 September 2005

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==== 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