The same problem occurs in different scenarios: unable to load selinux policy
Scenario 1:
It appears after/etc/selinux/config SELINUX = disable is modified
Unable to load selinux policy. machine is in enforcing mode. halting now.
Kernel panic-not syncing: attempted to kill init!
Solution:
Press e on the Grub Startup menu to enter the editing mode.
Kernel/vmlinuz-2.6.23.1-42.fc8 ro root =/dev/vogroup00/logvol00 rhgb quiet"
Add enforcing = 0, press enter, and then press B to start.
Scenario 2:
When a physical machine with a KVM virtual machine is forcibly disabled, the following figure is not displayed after the instance is started:
Then go to the grub command line and execute:/etc/inittab. Some initialization Failure Information appears:
... Unable to load selinux policy ..........
Solution:
On the Grub Startup menu, press e to enter the editing mode and enter the startup Item
"Kernel/vmlinuz-2.6.23.1-42.fc8 ro root =/dev/vogroup00/logvol00 rhgb quiet", add selinux = 0;
And then reboot.