1、挂载CD
这个很简单的:
#cd /media
#mkdir mycd //先建一个挂载的文件夹
#mount /dev/cdrom /media/mycd //这就挂载了一个CD
2、挂载U盘
挂u盘之前,运行命令cat /proc/partitions,看看现在系统中有哪些分区。插上u盘以后,再次运行上述命令,看看多出来什么分区:
![fedora9.0的挂载U盘 - 风之子 - 风之子](http://img2.ph.126.net/FDIadrwx6ie_jtpz81nCPA==/1162491653832278392.jpg)
![fedora9.0的挂载U盘 - 风之子 - 风之子](http://img2.ph.126.net/eJcjdoJDuxxKArDNr59z3Q==/1548112371925879622.jpg)
或用fdisk –l查看分区信息
![fedora9.0的挂载U盘 - 风之子 - 风之子](http://img9.ph.126.net/oyGWvYnI27X-czNwdUqfPw==/2588725360825175109.jpg)
然后:
![fedora9.0的挂载U盘 - 风之子 - 风之子](http://img7.ph.126.net/pWySlDY-dOtBXYEe-tkwug==/2750291997457087207.jpg)
![fedora9.0的挂载U盘 - 风之子 - 风之子](http://img3.ph.126.net/8zE10x-rnlFYVd7dwNXOEw==/2562548187991078523.jpg)
卸载时如果说忙碌的话可强制卸载,命令为:
umount -l /mnt/usb
如果想要支持汉字显示,则用-o参数
mount -t vfat -o iocharset=gb2312 /dev/sdb /mnt/usb
Redhat9的字体显示的确比不上windows,都是中文支持的问题,这主要是mount分区的时候没有使用iocharset参数,并不是linux对中文支持的问题。可以采用下列类似命令:
mount -t vfat -o iocharset=cp936 /dev/sda1 /mnt/usb
mount -t vfat -o iocharset=gb2312 /dev/sda1 /mnt/usb
mount -t ntfs -o iocharset=cp936 /dev/sda1 /mnt/usb
mount -t msdos -o iocharset=gb2312 /dev/sda1 /mnt/usb
问题:
有时候vm不能自动检测到U盘
![fedora9.0的挂载U盘 - 风之子 - 风之子](http://img4.ph.126.net/5ksQv65veYalnvsCWKJlqg==/2888496211022024014.jpg)
同时在控制面板中组件服务->服务中开启VM的相关功能: