V
V
Vyacheslav2015-10-21 19:56:06
Android
Vyacheslav, 2015-10-21 19:56:06

For what reason does not want to go into the chroot environment (ubuntu / android)?

Good afternoon.
I installed Ubuntu for Android.
Installed according to this (clickable) instructions.

su #успешно
mknod /dev/block/loop255 b 7 255 #успешно
mount -o remount,rw / #успешно
mkdir /mnt/ubuntu #успешно
mount -o loop,noatime -t ext2 /storage/emulated/0/ubuntu.img /mnt/ubuntu #успешно
mount -t proc proc /mnt/ubuntu/proc #успешно
mount -t sysfs sysfs /mnt/ubuntu/sys #успешно
mount -o bind /dev /mnt/ubuntu/dev #успешно
sysctl -w net.ipv4.ip_forward=1 #успешно
echo "nameserver 8.8.8.8" > /mnt/ubuntu/etc/resolv.conf #успешно
echo "nameserver 8.8.4.4" >> /mnt/ubuntu/etc/resolv.conf #успешно
echo "127.0.0.1 localhost" > /mnt/ubuntu/etc/hosts #успешно

chroot /mnt/ubuntu #ошибка!

The error itself:
chroot: /system/bin/sh not found

All actions were done from under the root. Tell me what to do.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadz Goldman, 2015-10-22
@nadz

So is /mnt/ubuntu/bin present?
I mean, after mounting /mnt/ubuntu there is a bin directory?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question