View Single Post
Old 08-01-2013, 04:05 AM   #18
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
I can't seem to find my script any more. Post the script you have and the exact error message(s), maybe it will come back whats wrong?

maybe this:
Code:
#!/bin/sh
rm /dev/loop/debian
mknod -m0660 /dev/loop/debian b 7 250
echo "[*] Mounting Rootfs..."
mount -o loop=/dev/loop/debian,noatime -t ext3 /mnt/base-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
mount -o bind /dev/pts /mnt/debian/dev/pts
mount -o bind /etc/mtab /mnt/debian/etc/mtab
#mount -o bind / /mnt/debian/kindle
#mount -o bind /mnt/base-us /mnt/debian/kindle/mnt/us
#mount -o bind /mnt/base-us /mnt/debian/kindle/mnt/base-us
echo "[*] Preparing Network Connections..."
cp /etc/hosts /mnt/debian/etc/hosts
cp /etc/resolv.conf /mnt/debian/etc/resolv.conf
echo "[*] Starting Debian shell..."
chroot /mnt/debian /bin/bash $@
echo
echo "[*] Unmounting Rootfs..."
#umount /mnt/debian/kindle/mnt/us
#umount /mnt/debian/kindle/mnt/base-us
#umount /mnt/debian/kindle
umount /mnt/debian/etc/mtab
umount /mnt/debian/dev/pts
umount /mnt/debian/dev
umount /mnt/debian/proc
umount /mnt/debian/sys
umount -d /mnt/debian
echo "[*] Debian unmounted."
what I did was create a mount point on the kindle, /mnt/debian, then it worked? You must do this only once by remounting the kindle root read/write. Debian is mounted to base-us instead of base for an important reason, I just don't remember what. ***Write down changes you make so you can refer to exactly what you did, step by step.*** <- ask me how I know

Last edited by brianinmaine; 08-01-2013 at 05:46 AM.
brianinmaine is offline   Reply With Quote