ArticleDirectory
1. Repair steps
A) mV/etc/fstab. Bak (delete fstab)
B) enter the RedHat repair mode. You need to install the CD in RedHat. When you enter the repair mode in the virtual machine, press the ESC key when you see the VM startup screen when you start RedHat. The system prompts you to start the disk or a CD. Select the disc. If it does not work, press CTRL + ALT + enter. Full Screen virtual machine interface. (Check whether the connect button is available for the disc in the lower right corner of the VM. If it still does not work, check whether the disc is connected)
C) boot: Linux rescue
D) after entering the repair mode
E) findfs label =/view the partition in which the root directory is mounted
F) mkdir/mnt/sysimage
G) Mount/dev/sda2/mnt/sysimage (I mounted it to the/dev/sda2 partition)
H) chroot/mnt/sysimage
I) CD/etc/
J) mV fstab. Bak fstab
K) reboot
L) it seems that the RedHat system can be restarted twice automatically.
2. Add.
A) RedHat in the virtual machine starts up with a CD for a long time, because the CD does not have connect, and I am dizzy!