- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to rebuild kernel?
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 06:25 AM
07-02-2002 06:25 AM
How can I rebuild/re-configure back to the same kernel parameters?
I did ftp a copy of /stand/system files to my c drive.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 06:31 AM
07-02-2002 06:31 AM
Re: How to rebuild kernel?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 06:36 AM
07-02-2002 06:36 AM
Re: How to rebuild kernel?
You can make a copy of /stand/system amd /stand /vmunix and then use SAM.
You can also use command line :
Make any kernel parameter changes with 'kmtune':
# kmtune -s
#cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
( Prepares new system file )
# /usr/sbin/mk_kernel -s system
( Prepares new kernel )
# mv /stand/system /stand/system.prev
( Move old system file )
# mv /stand/vmunix /stand/vmunix.prev
( Move old kernel file )
# mv /stand/dlkm /stand/dlkm.vmunix.prev
# mv /stand/build/system /stand/system
( Move new system file to /stand )
# kmupdate /stand/build/vmunix_test
( Moves new kernel into place )
# shutdown -ry 0
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 06:37 AM
07-02-2002 06:37 AM
Re: How to rebuild kernel?
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 06:55 AM
07-02-2002 06:55 AM
SolutionYou can always move the old system.prev and vmunix.prev to the /stand directory as system and vmunix and then reboot the system. You machine will run with the old kernel.
Do this in single user mode :
#cp /stand/vmunix /stand/vmunix.old ( Make copy of new kernel )
#mv /stand/vmunix.prev /stand/vmunix
#cp /stand/system /stand/system.old
#mv /stand/system.prev /stand/system
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 07:20 AM
03-03-2004 07:20 AM
Re: How to rebuild kernel?
I found you command line kernel update to be usefule.
I am challenged to write an automation script to rebuild kernel for orcle 9i installation over 4 dozen production lx 3000. My question is:
1. For tunable parameters part, can one just update /stand/system for it to take effect without rebuild the kernel or using kmtune?
2. If kernel must be rebuild, then is it ok for me just to use unix editor to make change over system files? Do I still have to use system_prep -s system.
3. What is the difference between /stand/system and /stand/build/system?
4. What if new kernel built on my automation script don't work but the server was told to reboot. Use cd?
Thanks in advance.