[Next] [Previous] [Up] [Top] [Contents]

8.1 SunOS 4.1.X

8.1.2 Overview of Sysgen process

1. cd /usr/share/sys/sun[3,3x,4,4c,4m]/conf

cp GENERIC HOSTNAME - copy the configuration file

vi HOSTNAME - edit and revise as needed

config HOSTNAME - build the system configuration files

cd ../HOSTNAME - cd to the new directory

make - compile the new kernel

mv /vmunix /vmunix.gen - save the old kernel

cp vmunix / - install the new kernel

reboot - reboot using the new kernel

Sometimes the new kernel will not run properly. The patch may have been faulty; you may have left out defining one of the necessary parameters; the object files may have been corrupted, etc. If you can't boot from the new kernel for any reason, reboot using the old kernel and then repeat the steps above to regenerate a new kernel. Reboot with:

>b vmunix.gen

Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]