主题: chroot
-
Booting a rescue or live system and chrooting into an installed Linux to repair it
When a system will not boot at all, the standard recovery path is to boot an independent rescue or live medium, mount the installed root and its related filesystems, bind-mount the kernel's virtual filesystems into it, chroot in to run the installed system's own tools (grub-install, package manager, passwd), then unmount everything cleanly before rebooting.
机器可读: JSON