public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: Gentoo Users List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Activating NX-bit on AMD64, solved (I think), and a warning.
Date: Sun, 2 Apr 2006 18:38:52 -0400	[thread overview]
Message-ID: <20060402223852.GC16754@waltdnes.org> (raw)

  A few days ago, I asked how to do it.  I stumbled across the answer
whilst browsing Google on an entirely different topic.  The answer is to
add the parameters "noexec=on" and "noexec32=on" to the boot line.  I've
added it via "append" lines in /etc/lilo.conf

#
# Linux bootable partition config begins
#
image = /boot/kernel-2.6-production
	root = /dev/sda1
	label = Production
	read-only # read-only for checking
	append = "noexec=on noexec32=on"

image = /boot/kernel-2.6-experimental
        root = /dev/sda1
        label = Experimental
        read-only # read-only for checking
	append = "noexec=on noexec32=on"

#
# Linux bootable partition config ends
#

  And now for the unrelated part, and the warning.  I was reading up on
GRUB, in case I decide to go 64-bit mode in the near future.  Apparently,
GRUB will *NOT* install if noexec/noexec32 are enabled.  You have to
turn them off before installing GRUB.

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



                 reply	other threads:[~2006-04-02 22:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060402223852.GC16754@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox