Linux chroot Command
The Linux chroot (short for "change root") command is used to change the root directory.
The chroot command replaces the root directory with the specified target directory.
Syntax
chroot [--help][--version][目的目录][执行指令...]
Parameter Description:
- --help Online help.
- --version Display version information.
Example
Change the root directory
# chroot /mnt/ls //改变根目录
Linux Command Reference