| ENTER-CHROOT(8) | System Manager's Manual | ENTER-CHROOT(8) |
enter-chroot —
open a shell in the installed system
enter-chroot |
mountpoint |
enter-chroot mounts what a running system
needs into mountpoint (/dev,
/dev/pts, /dev/shm,
/proc, /sys,
/run, /tmp and, on UEFI
machines, the EFI variables), then starts a login shell there with
chroot(8), so the new system's
/etc/profile applies. When the shell exits,
everything it mounted is unmounted again.
The EFI variables are what efibootmgr(8) needs to add a boot entry.
# enter-chroot /mnt| September 27, 2026 | setup 1.0 |