linux:troubleshoot:chroot_from_live_system
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:troubleshoot:chroot_from_live_system [2025/01/02 17:40] – admin | linux:troubleshoot:chroot_from_live_system [2025/01/02 18:50] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| # Chroot from Live System | # Chroot from Live System | ||
| + | ## Manjaro | ||
| + | ```bash | ||
| + | pamac install manjaro-tools-base | ||
| + | manjaro-chroot -a | ||
| + | # | ||
| + | # | ||
| + | #==> Mounting (ManjaroLinux) [/ | ||
| + | # --> mount: [/mnt] | ||
| + | # --> mount: [/ | ||
| + | ``` | ||
| + | |||
| + | ## Other Linux Systems | ||
| Find the system. | Find the system. | ||
| ```bash | ```bash | ||
| Line 14: | Line 26: | ||
| sudo mount --bind /dev /mnt/dev | sudo mount --bind /dev /mnt/dev | ||
| sudo mount --bind /dev/pts / | sudo mount --bind /dev/pts / | ||
| + | ``` | ||
| + | Change into the installed system: | ||
| + | ```bash | ||
| + | chroot /mnt | ||
| + | ``` | ||
| + | |||
| + | Unmount the installed system: | ||
| + | ```bash | ||
| + | sudo umount -r /mnt/dev | ||
| + | sudo umount -r / | ||
| + | sudo umount -r /mnt/proc | ||
| + | sudo umount -r /mnt/sys | ||
| + | sudo umount -r /mnt | ||
| ``` | ``` | ||
linux/troubleshoot/chroot_from_live_system.1735836035.txt.gz · Last modified: by admin