mkdir -p /mnt mount /dev/sd /mnt # check `dmesg` to get the partition names mount -o bind /dev /mnt/dev mount -o bind /sys /mnt/sys mount -o bind /proc /mnt/proc chroot /mnt