赞
踩
今天碰到的一个小问题,涉及centos7下的光驱挂载,记录如下:
1. 起因:久未使用的一个CENTOS7虚机,今天计划起来做个实验,启动过程中自动进入RESCUE模式,
输入root密码进入修复模式,查看/var/log/boot.log发现如下内容:
[FAILED] Failed to mount /media/cdrom.
See 'systemctl status media-cdrom.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Mark the need to relabel after reboot.
[DEPEND] Dependency failed for Relabel all filesystems, if necessary.
[DEPEND] Dependency failed for Migrate local... structure to the new structure.
Starting Preprocess NFS configuration...
提示和光驱挂载有关,检查/etc/fstab文件内容,光驱这行内容如下,
/dev/sr0 /mnt iso9660 defaults 0 0
检查virtualbox设置,显示光驱没有盘片(没有挂载iso),很奇怪,一直这样写,需要挂载光驱修改virtualbox设置挂载上光驱,即可在系统里面使用。
进一步排错,
1&#
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。