losetup: /dev/loop0: failed to set up loop device: No such device or address
2015-01-10 16:28
351 查看
问题:在/dev下没有loop0,报错误:
losetup: /dev/loop0: failed to set up loop device: No such device or address
解决:#apt-get install -f
找到跟系统对应的文件:linux-image-3.16-2-powerpc64_3.16.3-2_ppc64.deb
# dpkg -i linux-image-3.16-2-powerpc64_3.16.3-2_ppc64.deb
在/boot中查看文件:#cd /boot
将initrd.img-3.16-2-powerpc64拷贝成initrd.img#cp initrd.img-3.16-2-powerpc64 initrd.img
将vmlinux-3.16-2-powerpc64拷贝成vmlinux#cp vmlinux-3.16-2-powerpc64vmlinux
重启电脑执行添加模块命令就ok了:#reboot #modprobe loop
相关文章推荐
- losetup: /dev/loop0: failed to set up loop device: No such device or address
- losetup: /dev/loop0: failed to set up loop device: No such device or address
- losetup: /dev/loop0: failed to set up loop device: No such device or address
- losetup: /dev/loop0: failed to set up loop device: No such device or address
- Failed to create tun device: open /dev/net/tun: no such file or directory
- ASM Diskgroup Creation Failed with "IBM AIX RISC system/6000: 6:no such device or address" [ID 12634
- mount nfs server to board failed, pops up "mount: mounting ... failed: No such device"
- 安卓调试时Unable to open log device ‘/dev/log/main’: No such file or directory
- LDD3字符设备驱动pipe提示No such device or address
- [转]解决:Unable to open log device '/dev/log/main': No such file or directory
- android学习历程——“Unable to open log device '/dev/log/main': No such file or directory”错误解决方法
- Unable to open log device ‘/dev/log/main’: No such file or directory
- Warning: main(./Config.php): failed to open stream: No such file or directory
- 如何开启真机Log设备_Unable to open log device ‘/dev/log/main’: No such file or directory
- Unable to open log device ‘/dev/log/main’: No such file or directory
- xcode error failed to launch no such file or directory
- Unable to open log device ‘/dev/log/main’: No such file or directory
- [Errno 6] No such device or address: '/dev/tty'
- mac下安装mysql-python包报unable to execute llvm-gcc-4.2: No such file or directory error: command 'llvm-gcc-4.2' failed with exit status 1解决方法
- 真机调试时,遇到Unable to open log device ‘/dev/log/main’: No such file or directory