1962: chroot (Acronis Linux Command)

use Google Translate

Last update: 27-05-2010

Runs command with root directory set to newroot.

Syntax

  • chroot NEWROOT [COMMAND...]

Example:

$ ls -l /bin/ls
lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox
# mount /dev/hdc1 /mnt -t minix
# chroot /mnt
# ls -l /bin/ls
-rwxr-xr-x 1 root roo
t 40816 Feb 5 07:45 /bin/ls*

See also Acronis Linux Commands.

Tags: