
Kernel Reconfiguration under Solaris 1.x
77
B
5. Type
make
and press
Return
.
The system displays kernel build messages.
This example builds a kernel on a Desktop SPARCsystem, using a new
kernel configuration file named
/usr/share/sys/sun4c/conf/MYKERNEL
:
!
Caution – If you receive error messages, resolve the errors and repeat the
foregoing instructions. Do not use a faulty kernel to run your system.
Installing the New System Kernel
This section explains how to install your new kernel, so that your system will
use it when you boot.
!
Caution – Before moving your new kernel, save a copy of the old kernel. You
can run your system using the old kernel if your new kernel does not work
correctly.
To install your new system kernel:
1. As superuser, type
cd
/usr/sys/unbundled/stc
and press
Return.
2. Type
./stc_config -c
and press
Return
.
This removes old Serial Parallel Controller device driver files and device
entries, if present.
tutorial# cd /usr/share/sys/sun4c/conf
tutorial# config MYKERNEL
Doing a "make depend"
tutorial# cp /usr/sys/unbundled/stc/stc.o /sys/sun4c/OBJ
tutorial# cd ../MYKERNEL
tutorial# make
(Kernel build messages appear)
tutorial#
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com