phenomenon
Two recent Windows and Mac mix, the Windows VirtualBox installed CentOS 7 copied to the Mac.
7:00 start CentOS, graphical interface card in the last progress, press Esc to see the following prompt:
Failed to load SELinux policy. Freezing
Cause Analysis
SELinux settings may be due to errors, the result is, after the restart, the machine can not enter the normal CentOS 7 boot menu, resulting in stuck unable to move.
Solution
1. When restart press E, enter the grub page.
2, at about 16 rows, the Language, i.e. LANG = ** _ **. UTF-8 After the addition of spaces, plus
selinux=0
3 Press ctrl + x start, which saw record interface, and then execute
vim /etc/selinux/config
4, modify the file as follows, mainly non-comment line.
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of three two values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted
5, modify the complete press vim command: wq save, restart the machine!.