Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 1998 18:27:07 -0700 (PDT)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        paulh@testlabs.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Kernel failed
Message-ID:  <199807090127.SAA01671@ix.netcom.com>
In-Reply-To: <002901bdaacb$70a841c0$f3ab2ccf@paul> (paulh@testlabs.com)

next in thread | previous in thread | raw e-mail | index | archive | help
As root, you should be able to build a new kernel in X.

What version of FreeBSD are you running?

What sequence of commands did you use to rebuild the kernel?  If you
are unsure of the commands necessary to build a kernel, look at
http://www.freebsd.org/handbook/, part 2, section 5.  Read it
carefully.

What are the last 30, or so, lines of the output?

Try:

# cd /sys/i386/conf
# config -r {kernel name}
# cd ../../compile/{kernel name}
# make depend
# sh
# make > /tmp/kernel.make.out 2>&1
# exit
# tail -30 /tmp/kernel.make.out

And, post the output of the last command.

If this sequence of commands DOES NOT FAIL the next command is:

# make install
# reboot

Note:  If you rebuild a kernel and boot fails, you can boot kernel.old
       Install moves /kernel to /kernel.old and then installs the new
       kernel.  So, if the reboot fails, enter kernel.old at the boot
       prompt.

I normally use

# make depend && make && make install

Look at man sh or man csh for a definition of &&.

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?199807090127.SAA01671>