Binding
-
3. Mounting Proc
Bind Process Information Pseudo-filesystem
With:mount --bind /proc /mnt/newroot/proc
Binding consists in Cloning the actual Directories Tree in a Different Point.
-
4. Binding Devices
Then start Binding the Devices directory
With:mount --bind /dev /mnt/newroot/dev
-
5. Mounting Pseudoterminal
Now to Mount the Pseudoterminal Slave
Play:mount -t devpts none /mnt/newroot/dev/pts
-
6. Binding Sysfs
And after Bind sysfs Virtual File System
With:mount --bind /sys /mnt/newroot/sys
-
7. Binding Temporary
So Bind the Temporary for the New Root
Playing:mount --bind /tmp /mnt/newroot/tmp
Contents