加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

mount挂载报错mount:you must specify the filesystem type

(2015-12-07 18:12:08)

mount/dev/cdrom /media 想挂载镜像到/media,来用镜像做yum源,可是挂载报错如下


mount:you must specify the filesystem type报错主要是因为没有指定文件系统格式,我就进行如下操作

查看文件系统格式
df -T -h 
http://s16/mw690/003FIXzQgy6XAzQjnhJ6f&690must specify the filesystem type" TITLE="mount挂载报错mount:you must specify the filesystem type" />
文件系统为ext4格式,接下来我进行如下操作
mount -t ext4 /dev/cdrom/ /media,结果报错如下
mount: no medium found
通过查询,是因为ISO镜像没有加载到光盘里面,然后我去看一下虚拟机,
http://s6/mw690/003FIXzQgy6XAAbi1nfc5&690must specify the filesystem type" TITLE="mount挂载报错mount:you must specify the filesystem type" />
果然是未加载虚拟机,可以重新去选择虚拟机文件,点击确定,看标识符是否如上图那样已经加载上镜像。http://s6/mw690/003FIXzQgy6XAAi4FpPe5&690must specify the filesystem type" TITLE="mount挂载报错mount:you must specify the filesystem type" />
这样再进行挂载就不会报错了。。

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有