Installation of Centos7, after the SELinux is closed, has been prompted failed to load Seliinux policy

Source: Internet
Author: User

This post was last edited by woniu19881005 on 2014-10-20 23:26

InVMSinstalled inCentos7, putSELinuxafter closing, always promptfailed to load Seliinux policy.
On-Line solutions areGrubon the Start menu, pressekey into edit mode, and then add theenforcing=0. Follow the prompts, and thenctrl+xstart it up ..Ok, the problem has been solved temporarily. Why do you say it's temporary? Reboot, or just shut down the virtual machine and start the virtual machine again.failed to load Seliinux policy. Wouldn't that have to be reset? Can't you save this startup item? Search on the Internet, there is no solution. I can only do it by myself.
The steps to resolve are as follows:First, find the address for this startup item. The web says the configuration of this startup item is/boot/grub/grub.cfg. But I found my system.(the latest version ofCentos7)There is no such file, fortunately there is a/boot/grub2/grub.cfg's configuration file. Modify this configuration file, and addenforcing=0, problem solving.

Image 3.jpg (92.52 KB, download number: 0)

Download attachments to albums

2014-10-20 23:24 Upload

By the way, under the guidance of master, why isGRUB2, but notGrub?

Installation of Centos7, after the SELinux is closed, has been prompted failed to load Seliinux policy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.