免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 7369 | 回复: 10
打印 上一主题 下一主题

[桌面系统] linux下如何读取播放img格式的文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-20 11:00 |只看该作者 |倒序浏览
哪位大哥大姐小弟小妹知道阿,急!

论坛徽章:
0
2 [报告]
发表于 2007-06-22 14:37 |只看该作者
播放?
img不是镜像文件吗?

论坛徽章:
0
3 [报告]
发表于 2007-06-22 18:59 |只看该作者
我指的是像WINDOW里面的虚拟光驱那样的工具来读取img格式文件!

论坛徽章:
0
4 [报告]
发表于 2007-06-22 19:05 |只看该作者

回复 #1 zhangbg2006 的帖子

mount fileName mountPoint -o loop,fileName是镜像文件名(*.iso,*.img),
用例:如我有一个a.iso光盘镜像文件,mount a.iso a -o loop,这样进入目录a你就能浏览a.iso的内容了,*.img文件的用法一样。

论坛徽章:
0
5 [报告]
发表于 2007-06-23 19:05 |只看该作者
用过楼上的方法了,但还是不行,输入
mount IMAGE.img /mnt/disk1 -o loop后
得到:
mount:you must specify the filesystem type
接着输入
mount IMAGE.img /mnt/disk1 -o loop -t iso9660
得到:
mount:wrong fs type,bad option,bad superblock on /dev/loop0,missing codepage or other error In some
cases useful info is found in syslog -try dmesg | tail然后输入
dmesg | tail
查看报错信息,得到以下说明:
Unable to identify CD-ROM format.
FAT: bogus number of FAT structure
VFS: Can't find a valid FAT filesystem on dev loop0.
hfs: can't find a HFS filesystem on dev loop0.
VFS: Can't find a Minix or Minix V2 filesystem on device loop0.
ReiserFS: loop0: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on loop0
VFS: Can't find an ext2 filesystem on dev loop0.
难道是我的img的格式linux不支持,我的是SUSE10?

论坛徽章:
0
6 [报告]
发表于 2007-06-23 23:21 |只看该作者
file IMAGE.img看看是什么格式.

论坛徽章:
0
7 [报告]
发表于 2007-06-24 12:39 |只看该作者
如果是iso,img,是不需要指定的

论坛徽章:
0
8 [报告]
发表于 2007-06-24 21:14 |只看该作者
并不是img格式就是映像。initrd.img 就是gzip compressed data

论坛徽章:
0
9 [报告]
发表于 2007-06-25 12:31 |只看该作者
用file IMAGE.img得到的结果是IMAGE.img:data

论坛徽章:
0
10 [报告]
发表于 2007-06-25 12:38 |只看该作者
原帖由 zhangbg2006 于 2007-6-25 12:31 发表于 9楼  
用file IMAGE.img得到的结果是IMAGE.img:data

那就是不能识别这种文件格式。你在windows上是用什么文件打开的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP