私は私のAndroid携帯を根ざしていて、シェルTHR ADBを取得しました。 AndroidにROMイメージをマウントしたいです。しかし、私はいつも失敗しました:
mount -o loop / sdcard/myimage.img / mnt
マウント:ループデバイスを設定できません:そのようなファイルまたはディレクトリ
私は私のAndroid携帯を根ざしていて、シェルTHR ADBを取得しました。 AndroidにROMイメージをマウントしたいです。しかし、私はいつも失敗しました:
mount -o loop / sdcard/myimage.img / mnt
マウント:ループデバイスを設定できません:そのようなファイルまたはディレクトリ
I have rooted my android phone and get a shell thr adb. I wanna mount a ROM image in android. But I always fail:
mount -o loop /sdcard/myimage.img /mnt
mount: can't setup loop device: No such file or directory
try: 99887766554433330
。 「MyImage」は、その後の内容を見ることができる場所です。
Try: mount -o loop /sdcard/myimage.img myimage
. "myimage" is where you can view the contents afterward.
ループデバイスをマウントすることができるカスタムカーネルをコンパイルするか、すでにその機能を組み込んだそのデバイスのカスタムカーネルを見つける必要があります。
掘り下げた後、
You would need to compile a custom kernel that is capable of mounting loop devices, or find a custom kernel for that device that already has that feature built-in.
After a bit of digging, I found this guide on my phone's support forum. It's a bit dated, but the information is still relevant. It shows how to boot a Debian .img file. Unfortunately, it doesn't really detail EXACTLY what's needed for loop support, just that loop support is needed. But it is definitely possible, as I've personally run this on my phone for a short amount of time.
© 2022 cndgn.com All Rights Reserved. Q&Aハウス 全著作権所有