User Tools

Site Tools


linux:troubleshoot:chroot_from_live_system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:troubleshoot:chroot_from_live_system [2025/01/02 17:40] adminlinux: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
 +#grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
 +#grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
 +#==> Mounting (ManjaroLinux) [/dev/nvme0n1p5]
 +# --> mount: [/mnt]
 +# --> mount: [/mnt/boot/efi]
 +```
 +
 +## Other Linux Systems
 Find the system. Find the system.
 ```bash ```bash
Line 10: Line 22:
 Mount special filesystems: Mount special filesystems:
 ```bash ```bash
-mount -t proc proc /mnt/proc +sudo mount -t proc proc /mnt/proc 
-mount -t sysfs /sys /mnt/sys +sudo mount -t sysfs /sys /mnt/sys 
-mount --bind /dev /mnt/dev +sudo mount --bind /dev /mnt/dev 
-mount --bind /dev/pts /mnt/dev/pts+sudo mount --bind /dev/pts /mnt/dev/pts 
 +``` 
 +Change into the installed system: 
 +```bash 
 +chroot /mnt 
 +``` 
 + 
 +Unmount the installed system: 
 +```bash 
 +sudo umount -r /mnt/dev 
 +sudo umount -r /mnt/dev/pts 
 +sudo umount -r /mnt/proc 
 +sudo umount -r /mnt/sys 
 +sudo umount -r /mnt
 ``` ```
linux/troubleshoot/chroot_from_live_system.1735836001.txt.gz · Last modified: by admin