Originally Posted by don17sch
every time i try to enter these commands
#!/bin/sh
echo "[*] Mounting Rootfs..."
mount -o loop,noatime -t ext3 /mnt/us/debian.ext3 /mnt/debian
echo "[*] Preparing Filesystem..."
mount -o bind /dev /mnt/debian/dev
mount -o bind /proc /mnt/debian/proc
mount -o bind /sys /mnt/debian/sys
echo "[*] Preparing Network Connections..."
cp /etc/hosts /mnt/debian/etc/hosts
cp /etc/resolv.conf /mnt/debian/etc/resolv.conf
echo "[*] Starting Shell..."
chroot /mnt/debian /bin/bash
after the above, you have changed the root
The whole point of chroot is that you can't reach
outside of it.
Perhaps your thinking of switch_root or pivot_root.
echo "[*]Unmounting Rootfs..."
umount /mnt/debian/dev
umount /mnt/debian/proc
umount /mnt/debian/sys
umount /mnt/debian
it says that mnt/debian does not exist and crashes everything after it. please help. i have tried on both kterm and over ssh.
I am using a kindle paperwhite 2 5.6.5
|