Centos7 虚拟机环境开机后进入dracut模式

1.问题
重新启动系统时,我都会收到错误消息:

Warning: /dev/centos/root does not exist
Warning: /dev/centos/swap does not exist
Warning: /dev/mapper/centos-root does not exist

先查看 ls -l /dev/mapper

如果只有control 按照下面方法:

 lvm vgscan
 lvm vgchange -ay 
 exit  

你可能感兴趣的:(centos,linux,服务器)