xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

could not find any device /dev/loop#Bad address #761

Closed Roxxor91 closed 8 years ago

Roxxor91 commented 8 years ago

Hi! I installed a fresh 8.29 RPi2 build and tried to mount an .img file (file is fine checked by MD5). When trying to mount an image by mount -o loop,ro,offset=xxxxxxx, I get the following return: mount failed: Unknown error -1 (the same command and offset is working fine on my Linux Mint 17.2 Desktop). mkreisl was able to mount on a custom kernel via sudo kpartx -v -a ./xxxxxxxxx.img. On my fresh install I got the following return: mount: could not find any device /dev/loop#Bad address can't set up loop

mkreisl commented 8 years ago

Can confirm the issue. It is a kernel issue. Taking my 'private' kernel and it worked ok @mk01 any ideas?

er0l commented 8 years ago

Did you check if you have loaded kernel module loop? If it is not present you can do it with "modprobe loop" before mounting.

mkreisl commented 8 years ago

That's it. :thumbsup: Was too late yesterday for recognizing the differences between the kernel configs :sleeping: