I am trying to install Debian in a chroot on RN3 (snapdragon) . Current ROM is V8.1.1.0.MHOMIDI (MIUI8) .
I followed this guide and created ext4 img file. But on mouting it returns error.
Code:
mount -o loop ,noatime -t ext4 /sdcard/debian.img /mnt/linux
It returns ""ioctl LOOP_SET_FD failed: Device or resource busy"
Plz guide me How to mount img file.
Related
hi,
how can i mount system.ext2 file inside an android rom...
i'm not booting from this system.ext2 file!
Code:
# mount -t ext2 -o loop /sdcard/futureshock.miui.german/system.ext2 /mount/system
mount -t ext2 -o loop /sdcard/futureshock.miui.german/system.ext2 /mount/system
ioctl LOOP_SET_FD failed: Device or resource busy
i'm just getting this error...
thx for help
Hello
Have you find anti solutions ?
Thanks
futureshock said:
hi,
how can i mount system.ext2 file inside an android rom...
i'm not booting from this system.ext2 file!
Code:
# mount -t ext2 -o loop /sdcard/futureshock.miui.german/system.ext2 /mount/system
mount -t ext2 -o loop /sdcard/futureshock.miui.german/system.ext2 /mount/system
ioctl LOOP_SET_FD failed: Device or resource busy
i'm just getting this error...
thx for help
Click to expand...
Click to collapse
This system from castes an insertion ohm ?
You need to ask something like this in the Android section not Windows.
I foolowed the debian installation guide posted in the P500 dev section.
My ext 3 partiton is mounted as /sd-ext
While I give
Code:
_ mount -o loop,noatime $kit/debian.img $mnt
I get this error: loop device could not be found.
I tried it in many different ways, I get the same error still.
Hello everyone.
So I've rooted my alcatel one touch 890d(running android 2.2.2 with kernel 2.6.32.9).
After that i installed a terminal emulator and busybox.
I've managed to get the sdk and connect to device using the adb shell.
I was thinking about having a decent linux emulated OS with chroot, after finding tons of broken links and some scripts for it (automatic installation of ubuntu/debian) and found out that to mount and ext2 img file, created using:
dd if=/dev/zero of=1.img bs=1MB count=0 seek=5
mke2fs 1.img
I will need to do the following(modified by me and yes, as root, and there is a directory /mnt/sdcard and the file downloaded to /mnt/sdcard/download/1.img):
mknod /dev/loop1 b 7 0
losetup /dev/block/loop1 /mnt/sdcard/download/1.img
mount -t ext2 /dev/block/loop1 /mnt/sdcard/tmp
But when i use last command i get:
mount: no such device.
But when i try
mount -t yaffs2 /dev/block/loop1 /mnt/sdcard/tmp
the error is different:
mount: invalid argument
So my question, why doesn't it work ?
Thanks in advance.
Moving my device configs to CM10.2 introduced this weird bug on ClockWordMod. The recovery fails to mount EXT4 partitions (cache, data, system). Every other partition is recognized and vold can mount and access the sdcards in Android (flashed with older/working recovery compiled from the same files). My guess is that the fstab file is written correctly and put in the right place.
All configuration options are the same as my CM10.1 codebase. The CM10.1 CWM was working fine and was able to mount all partitions. In CM10.2 I moved everything to unified fstab, so I'm guessing I screwed up something in the configs. I'm getting "Error mounting /system!" everytime I try to mount it manually. This is a pastebin of the fstab file. Through adb I'm getting this:
Code:
~ # mount -a
mount: mounting /dev/block/cache on /cache failed: Invalid argument
mount: mounting /dev/block/data on /data failed: Invalid argument
mount: mounting /dev/block/system on /system failed: Invalid argument
Code:
~ # mount -t ext4 /dev/block/system /system
mount: mounting /dev/block/system on /system failed: Invalid argument
Any ideas?
Hi,
I am trying to mount ext4 image in android recovery using below command,
#mount -o loop -t ext4 /mnt/test.img /sdcard/
i am getting the following error,
mount: losetup failed 1
Can someone help me to understand what is wrong with this approach?
Regards,
Abdul