HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Kernel changes
Operating System - HP-UX
1837016
Members
2146
Online
110111
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-10-2001 11:47 AM
10-10-2001 11:47 AM
How do i make kernel changes manually on the command line without using sam.
Then which file do i edit to change the kernel parameters.
Points will be assigned
Then which file do i edit to change the kernel parameters.
Points will be assigned
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2001 11:57 AM
10-10-2001 11:57 AM
Solution
the 10.20 processworks just fine in the 11.00 environment. The kmtune utility was added to
11.00 just to make things easier.
So, either process listed in the document works for 11.00.
KBRC00001369
Rebuilding the kernel at 10.x /11.0
Rebuilding the kernel at 10.x /11.0
PROBLEM
How do I manually rebuild a kernel at 10.x? 11.0?
RESOLUTION
The simplest way to configure a new kernel under HP-UX 10.x / 11 is with SAM,
the System Administration Manager. However there are situations which arise
that may require a kernel be built manually from the command line. Although the
steps to performs this task are similar for 10.x and 11.0, starting with
version 11.0 new utilities are provided to simplify the process of configuring
kernel parameters and system drivers.
10.X Manual Kernel Configuration
$ cd /stand/build #change to the kernel build directory
$ /usr/lbin/sysadm/system_prep -s system # creates an editable kernel
file
$ vi system #make necessary changes to the kernel file
$ /usr/sbin/mk_kernel -s ./system # creates the test kernel
/stand/build/vmunix_test
$ mv /stand/system /stand/system.prev
$ mv /stand/vmunix /stand/vmunix.prev #preserve prior kernel files
$ mv /stand/build/system /stand/system
$ mv /stand/build/vmunix_test /stand/vmunix # move new kernel files
into place
$ shutdown -ry 0 # reboot the system to test the new kernel
11.0 Manual Kernel Configuration
$ cd /stand/build
$ /usr/lbin/sysadm/system_prep -v -s system
kmtune parm_name=value | kmtune parm_name+value
kmsystem -c y driver_name # these utilities modify the system
file at 11.0
$ /usr/sbin/mk_kernel -s ./system
$ mv /stand/system /stand/system.prev #new for dynamically
linked modules at 11.0
$ mv /stand/build/system /stand/system
$ kmupdate # kmupdate automates moving
the kernel files into the
proper directory
$ shutdown -ry 0
11.00 just to make things easier.
So, either process listed in the document works for 11.00.
KBRC00001369
Rebuilding the kernel at 10.x /11.0
Rebuilding the kernel at 10.x /11.0
PROBLEM
How do I manually rebuild a kernel at 10.x? 11.0?
RESOLUTION
The simplest way to configure a new kernel under HP-UX 10.x / 11 is with SAM,
the System Administration Manager. However there are situations which arise
that may require a kernel be built manually from the command line. Although the
steps to performs this task are similar for 10.x and 11.0, starting with
version 11.0 new utilities are provided to simplify the process of configuring
kernel parameters and system drivers.
10.X Manual Kernel Configuration
$ cd /stand/build #change to the kernel build directory
$ /usr/lbin/sysadm/system_prep -s system # creates an editable kernel
file
$ vi system #make necessary changes to the kernel file
$ /usr/sbin/mk_kernel -s ./system # creates the test kernel
/stand/build/vmunix_test
$ mv /stand/system /stand/system.prev
$ mv /stand/vmunix /stand/vmunix.prev #preserve prior kernel files
$ mv /stand/build/system /stand/system
$ mv /stand/build/vmunix_test /stand/vmunix # move new kernel files
into place
$ shutdown -ry 0 # reboot the system to test the new kernel
11.0 Manual Kernel Configuration
$ cd /stand/build
$ /usr/lbin/sysadm/system_prep -v -s system
kmtune parm_name=value | kmtune parm_name+value
kmsystem -c y driver_name # these utilities modify the system
file at 11.0
$ /usr/sbin/mk_kernel -s ./system
$ mv /stand/system /stand/system.prev #new for dynamically
linked modules at 11.0
$ mv /stand/build/system /stand/system
$ kmupdate # kmupdate automates moving
the kernel files into the
proper directory
$ shutdown -ry 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2001 11:57 AM
10-10-2001 11:57 AM
Re: Kernel changes
Hi
#cd /stand/build
#/usr/lbin/sysadm/system_prep -v -s system
Edit the system file for modifications.
#/usr/sbin/mk_kernel -s ./system
Backup old kernel and system files
#mv /stand/system /stand/system.prev
#mv /stand/vmunix /stand/vmunix.prev
#mv /stand/build/system /stand/system
#kmupdate (kmupdate will move new kernel in right place)
#shutdown -ry 0
Thanks.
Prashant.
#cd /stand/build
#/usr/lbin/sysadm/system_prep -v -s system
Edit the system file for modifications.
#/usr/sbin/mk_kernel -s ./system
Backup old kernel and system files
#mv /stand/system /stand/system.prev
#mv /stand/vmunix /stand/vmunix.prev
#mv /stand/build/system /stand/system
#kmupdate (kmupdate will move new kernel in right place)
#shutdown -ry 0
Thanks.
Prashant.
Take it as it comes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2001 12:09 PM
10-10-2001 12:09 PM
Re: Kernel changes
Sprint Unix Team,
kmupdate is not available on 10.20.
This method is applicable to both 10.20 and 11.00.
1.mk_kernel on 11.0 calls kmupdate.
2.mk_kernel on 10.20 takes care of moving vmunix immediately.
#cp /stand/system /stand/system.prev
#/usr/lbin/sysadm/system_prep -s /stand/system
#mk_kernel -o /stand/vmunix
#shutdown -r now
-Sri
kmupdate is not available on 10.20.
This method is applicable to both 10.20 and 11.00.
1.mk_kernel on 11.0 calls kmupdate.
2.mk_kernel on 10.20 takes care of moving vmunix immediately.
#cp /stand/system /stand/system.prev
#/usr/lbin/sysadm/system_prep -s /stand/system
#mk_kernel -o /stand/vmunix
#shutdown -r now
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP