Disable DEP/NX on Linux in Grub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Boot and interrupt the GRUB menu | |
Edit the boot configuration, changing the "linux" line by adding these two parameters to the end of the line: | |
noexec=off noexec32=off | |
Then boot by pressing Ctrl+x. | |
After booting, you can check to see if DEP/NX is turned off by running: | |
dmesg | grep NX | |
When DEP/NX is turned off you should see something similar to this output: | |
# dmesg | grep NX | |
[ 0.000000] NX (Execute Disable) protection: disabled by kernel command line option |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linux kernel docs for reference on more: https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt