.Dd September 27, 2026 .Dt ENTER-CHROOT 8 .Os .Sh NAME .Nm enter-chroot .Nd open a shell in the installed system .Sh SYNOPSIS .Nm .Ar mountpoint .Sh DESCRIPTION .Nm mounts what a running system needs into .Ar mountpoint .Po .Pa /dev , .Pa /dev/pts , .Pa /dev/shm , .Pa /proc , .Pa /sys , .Pa /run , .Pa /tmp and, on UEFI machines, the EFI variables .Pc , then starts a login shell there with .Xr chroot 8 , so the new system's .Pa /etc/profile applies. When the shell exits, everything it mounted is unmounted again. .Pp The EFI variables are what .Xr efibootmgr 8 needs to add a boot entry. .Sh EXAMPLES .Dl # enter-chroot /mnt .Sh SEE ALSO .Xr bootloader 7 , .Xr installation 7 , .Xr chroot 8