Linux boot error report to disable selinux policy?

  
                

Linux prompts unable to load selinux policy error when booting, resulting in the system can not enter, usually caused by 2 cases, the following small series will introduce you to Linux boot error report to disable selinux policy .

Scenario 1:

After booting /etc/selinux/config SELINUX=disable, boot up

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 boot menu to enter edit mode, at startup

“kernel /vmlinuz-2.6.23.1-42.fc8 ro root =/dev/vogroup00/logvol00 rhgb quiet”

followed by enforcing=0, press Enter, then press b to start.

Scenario 2:

When forced to shut down the physical machine is equipped with KVM virtual machine, boot to get up the following screen:

then enter the grub command line Execute: /etc/inittab, and some initialization failures occur:

. . . . . . . . .unable to load selinux policy. . . . . . . . .

Solution:

Press e on the Grub boot menu to enter the edit mode, enter the startup item

“kernel /vmlinuz-2.6.23.1-42.fc8 ro root =/dev/vogroup00/logvol00 rhgb quiet”, add selinux=0;

Then reboot again.

The above is the introduction of the Linux boot error report to disable selinux policy. If your system appears at boot time, first understand what kind of situation is caused, then choose the correct one. The method is processed.

Copyright © Windows knowledge All Rights Reserved