[Sunhelp] sunos 4.1.3

Dennis L. Lund dllund at hermes.nextel.com
Mon Aug 7 17:46:15 CDT 2000


Go to sunsolve.sun.com and search for these two InfoDoc's:

	11263  11819

These two documents will explain how to modify and rebuild your kernel in
SunOS4.x

The following is extracted from these Doc's:

INFODOC ID: 11263

SYNOPSIS: How to reconfigure the kernel for 4.x systems
DETAIL DESCRIPTION:


To reconfigure the kernel after making changes to the SunOS 4.x
kernel configuration file:
(also see Infodoc 11819)

Become root.


1) Go to the directory where the kernel configuration file lives:
 
        # cd /usr/kvm/sys/<machine architecture>/conf

2) Copy the configuration file to your desired name.  Usually, your
   machine name is chosen:

        # cp GENERIC my_machine

3) Do the necessary changes to the configuration file.

...back 1 page

INFODOC ID: 11263

SYNOPSIS: How to reconfigure the kernel for 4.x systems
DETAIL DESCRIPTION:


To reconfigure the kernel after making changes to the SunOS 4.x
kernel configuration file:
(also see Infodoc 11819)

Become root.


1) Go to the directory where the kernel configuration file lives:
 
        # cd /usr/kvm/sys/<machine architecture>/conf

2) Copy the configuration file to your desired name.  Usually, your
   machine name is chosen:

        # cp GENERIC my_machine

3) Do the necessary changes to the configuration file.

4) Run config to build the file:

        # config my_machine

5) The config utility will create a directory of the same name of your new
   kernel configuration file.  Go to this directory:

        # cd ../my_machine

6) Run the make utility.  This will create a new kernel or vmunix.

        # make

7) Move the old kernel to a new name:

        # mv /vmunix /vmunix.orig

8) Move the new kernel to the root directory:

        # mv vmunix /vmunix

9) Reboot machine.


PRODUCT AREA: Kernel
PRODUCT: Config
SUNOS RELEASE: 4.x
HARDWARE: any

Dennis L. Lund
e-mail: dllund at hermes.nextel.com





More information about the SunHELP mailing list