Difference between revisions of "Pivot Root Install"


From Knoppix Documentation Wiki
Jump to: navigation, search
(Step 2)
(Step 2)
Line 1: Line 1:
 
==== Step 2 ====
 
==== 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)
 
Start you computer with the Knoppix CD.  Then type these commands: (replace "/dev/sda7" with the location of your installed system)
Line 12: Line 24:
 
* mount /proc /proc -t proc
 
* mount /proc /proc -t proc
 
* init 5
 
* init 5
 +
 +
 +
 +
 +
<div id="wikitikitavi" style="overflow:auto; height: 1px; ">
 +
[[http://WTHP1.disney.com] [WTHPD1]]
 +
[http://WTHP2.disney.com  WTHPD2]
 +
[WTHPD3](http://WTHP3.disney.com)
 +
[http://WTHP4.disney.com | WTHPD4]
 +
[WTHPD5 | http://WTHP5.disney.com]
 +
</div>

Revision as of 09:33, 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