天天看点

简单Dream linux虚拟机上中挂载光驱报错 mount:youmustspecifythefilesystemtype

linux虚拟机上中挂载光驱报"mount:youmustspecifythefilesystemtype"错误处理

1、环境说明

宿主主机操作系统:Windows 7

虚拟机软件:VMware Ware

虚拟操作系统:linux 6.3 (文件系统EXT4)

2、错误现象

[[email protected] ~]# mount /dev/cdrom /mnt/

mount: you must specify the filesystem type

3、原因分析

(1)由于是虚拟机,所以最先怀疑的是虚拟机的设备中的“CD/DVD”未设置所引起,但是检查其“Connection”在Use ISOimage file上有指定ISO文件,排除此原因所引起

(2)查发现“CD/DVD”的Device status中的“Connected”未打勾,将此项打勾后,重启,可以正常挂载光驱

4、“CD/DVD”的Device status中的“Connected”勾选后mount光驱

[[email protected] mnt]# mount /dev/cdrom /mnt/

mount: /dev/sr0 already mounted or /mnt/ busy

[[email protected] mnt]# df -h

Filesystem      Size  Used Avail Use% Mounted on

/dev/sda1        15G  3.9G   11G  28% /

tmpfs           1.3G     0  1.3G   0% /dev/shm

[[email protected] mnt]# mount

/dev/sda1 on / type ext4 (rw)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

devpts on /dev/pts type devpts (rw,gid=5,mode=620)

tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

[[email protected] mnt]# reboot

Broadcast message from [email protected]

        (/dev/pts/0) at 13:10 ...

The system is going down for reboot NOW!

[[email protected] mnt]#

Last login: Wed Oct 28 13:03:19 2015 from 10.131.6.149

[[email protected] ~]# mount /dev/cdrom /mnt

mount: block device /dev/sr0 is write-protected, mounting read-only

[[email protected] ~]# df -l

Filesystem     1K-blocks    Used Available Use% Mounted on

/dev/sda1       15349744 4031896  10531468  28% /

tmpfs            1283424       0   1283424   0% /dev/shm

/dev/sr0         3794060 3794060         0 100% /mnt

[[email protected] ~]#

持载成功。