Chroot Linux Mint 18.x
Hello Mint User! This Linux Tutorial Shows in Easy Steps How-to Chroot Linux Mint 18.x LTS System with a Network Enabled.
Hence Chrooting consist in changing the root directory on a different partition from the Boot System.
And Chroot is also defined as the operation that changes the apparent root directory for the current running process and their children.
As a Result you’ll be Able to Operate on the New Root Device pretty like a regularly Started System with Networking.
First of all Login as SuperUser
Then Find the Target /dev/sdXN Drive
Look into the List of the Mounted devices with:
If You can Not to Find it then Try visually with GParted:
Eventually Unmount it with
Mount the New Root Target Device
mount /dev/sdXN /mnt
Bind process information pseudo-filesystem
mount --bind /proc /mnt/proc
Then start Binding the Devices directory
mount --bind /dev /mnt/dev
Hence Mount the Pseudoterminal Slave
mount -t devpts none /mnt/dev/pts
And after Bind sysfs Virtual File System
mount --bind /sys /mnt/sys
So Bind the Temporary for the New Root
mount --bind /tmp /mnt/tmp
Copy the resolv.conf File
cp /etc/resolv.conf /mnt/etc/resolv.conf
Finally Chroot into the New Target
chroot /mnt /bin/bash
How-to Fix/Repair/Recover an Mint Linux System