Step-by-step – Chroot CentOS 7 Easy Guide

March 14, 2020 | By the+gnu+linux+evangelist.

Binding

  1. 6. 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.

  2. 7. Binding Devices

    Then start Binding the Devices directory
    With:

    mount --bind /dev /mnt/newroot/dev
  3. 8. Binding Sysfs

    And after Bind sysfs Virtual File System
    With:

    mount --bind /sys /mnt/newroot/sys
  4. 9. Binding Temporary

    So Bind the Temporary for the New Root
    Playing:

    mount --bind /tmp /mnt/newroot/tmp

QuickChic Theme • Powered by WordPress