Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2001 11:06:02 -0700
From:      Tabor Kelly <pdxmax@dsl-only.net>
To:        freebsd-questions@freebsd.org
Subject:   Problems installing new kernel.
Message-ID:  <1821723768.20010803110602@dsl-only.net>

next in thread | raw e-mail | index | archive | help
All of the following was done while logged in as root. In the process
of trying to get natd working I have done the following:

1. Copied the GENERIC kernel configuration file to GATEWAY, and
configured it. (in /usr/src/sys/i386/conf)

2. ran "configure GATEWAY".

3. moved to /usr/src/sys/compile/GATEWAY

4. ran "make depend"

5. ran "make"

6. ran "make install"

7. Rebooted, everything appeared to work fine. I got natd to work but
could not get redirect_port to work, so I added the line "option
IPFIREWALL_DEFAULT_TO_ACCEPT" to the GATEWAY file.

Now I tried to compile a new kernel by:

1. running "configure GATEWAY"

2. changing directories to /usr/src/sys/compile/GATEWAY

3. running "make clean"

4. running "make depend"

5. running "make"

Now up until now, everything had been fine. But when I run "make
install" I get the following error message:

chflags noschg /kernel
chflags: /kernel: Operation not permitted
*** Error code 1 (ignored)
mv /kernel /kernel.old
mv: rename /kernel to /kernel.old: Operation not permitted
*** Error code 1

When I try the command "chflags noschg /kernel" manually, I get the
same error: "chflags: /kernel: Operation not permitted"

Does anybody know what is wrong, and how I can fix it? Thank You,

Tabor Kelly



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1821723768.20010803110602>