1) Go to /stand/build
2) system_prep -v -s system
The system_prep script creates the system file /stand/build/system in your current directory.
3) Edit the /stand/build/system file to perform your task.
4) mk_kernel -s system : Build the kernel.
The mk_kernel command creates /stand/build/vmunix_test, a kernel ready for testing.
If you get this message when executing mk_kernel,
ERROR: Kernel is too large to boot.
Actual: 15605892 bytes
Limit: 13580288 bytes
eliminate optional subsystems or drivers and decrease the tunable parameters.
Move the old system file and kernel so if anything goes wrong, you still have a bootable kernel.
mv /stand/system /stand/system.prev
mv /stand/vmunix /stand/vmunix.prev
5) Move the new system file and new kernel into place, ready to be used when you reboot the system.
mv /stand/build/system /stand/system
mv /stand/build/vmunix_test /stand/vmunix
6) Reboot the server.
2) system_prep -v -s system
The system_prep script creates the system file /stand/build/system in your current directory.
3) Edit the /stand/build/system file to perform your task.
4) mk_kernel -s system : Build the kernel.
The mk_kernel command creates /stand/build/vmunix_test, a kernel ready for testing.
If you get this message when executing mk_kernel,
ERROR: Kernel is too large to boot.
Actual: 15605892 bytes
Limit: 13580288 bytes
eliminate optional subsystems or drivers and decrease the tunable parameters.
Move the old system file and kernel so if anything goes wrong, you still have a bootable kernel.
mv /stand/system /stand/system.prev
mv /stand/vmunix /stand/vmunix.prev
5) Move the new system file and new kernel into place, ready to be used when you reboot the system.
mv /stand/build/system /stand/system
mv /stand/build/vmunix_test /stand/vmunix
6) Reboot the server.
No comments:
Post a Comment