“Failed to load selinux policy, freezing” in CentOS/RHEL 7

Hey!!! Have you faced such problem during boot.

Image result for failed to load selinux policy freezing

Here is how you can resolve it.
Step1: During boot disturb the normal boot and use “e” to edit the kernel before booting
Step2: Disable selinux by using the following keyword selinux=0 by the end of linux16 line.

Step3: Now boot the system using ctrl+x, This will disable selinux and boot the system.
Remember this is only a temporary solution, To fix it permanently after booting reinstall the following package
#yum reinstall selinux-policy-targeted -y
This will fixed it permanently
Verify it by rebooting



  1. Taher

    November 28, 2019 at 7:10 pm

    Great solution this solved my problem.Thanks musab

  2. Steve Chu

    April 15, 2020 at 11:05 pm

    This is exactly what I was looking for. Thank you so much for posting it!

    1. Musabuddin Syed

      January 5, 2021 at 11:47 am

      thanks a lot steve, i’m happy you found it useful

  3. ling

    July 3, 2020 at 10:10 am

    why i can’t find the “linux16” line? my system is centos8.

    1. Musabuddin Syed

      January 5, 2021 at 11:44 am

      he ling, its because it is “linux” instead of linux16 in centos8. pl make change near line starting with “linux” in centos8.

Leave a Reply