一.故障现象:
[root@c1node01 ~]# service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
解决办法:
[root@c1node01 ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules
[root@c1node01 ~]# reboot ………………
[root@c1node01 ~]# service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@c1node01 ~]#
starting dracut initqueue hook 一直停止 超时
Centos 7
Install Cent0S 7
Test this media & install CentOS 7
Troubleshooting
Press Tab for full conf iguration options on menu items
按e 有的时候需要按tab
然后 修改参数里面的hd后面 stage2=hd:/dev/sdb4 nomodeset quiet 类似这样 然后enter 或者ctrl+x 执行就好
ifconfig command not found
虚拟机下安装完centos mini版之后发现 ifconfig command not found
可以通过 ip addr 来查看
也可以直接安装 net-tools
#sudo yum install net-tools -y
#ifconfig