No GUI and SSH login on console, only [sda] Assuming drive cache: write through

By admin, October 11, 2017 1:05 pm

Today I found out one of the CentOS 7-1611 VMs has no GUI available and also there is no SSH login at the console.

Worst the screen indicates “[sda] Assuming drive cache: write through”, seems it’s hang at startup.

In fact it’s working fine, then I SSH into the server remotely, and issue “systemctl set-default multi-user.target” which set the default login interface to be text based SSH login, the SSH login screen appears after the reboot.

systemctl isolate multi-user.target to return to command mode
systemctl isolate graphical.target  to return to graphical mode

Somehow, systemctl isolate graphical.target turns the screen into blank, still have no idea what’s causing this, nor startx works.

Finally, the vCenter VM Guest OS status changed from CentOS 4/5 64 bits to Other (32-bit) automatically everything after reboot, anyone knows why? Pls drop me a line, thx.