<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: building kernels by re-using /stand/system file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585895#M891444</link>
    <description>I'm adding this "correction" because I have this post bookmarked. 0 Points please.&lt;BR /&gt;&lt;BR /&gt;For 11.00 at least...&lt;BR /&gt;&lt;BR /&gt;#cd /stand&lt;BR /&gt;#cp vmunix vmunix.old&lt;BR /&gt;#cp system system.old&lt;BR /&gt;#cd build&lt;BR /&gt;&lt;BR /&gt;#this is the changed line.&lt;BR /&gt;#/usr/lbin/sysadm/system_prep -s system&lt;BR /&gt;&lt;BR /&gt;Edit system file and make changes here as per ur require ment. Imeand addition/Deletion of devices. Then&lt;BR /&gt;#mk_kernel -s system&lt;BR /&gt;For more information see the man page of mk_kernel&lt;BR /&gt;&lt;BR /&gt;Now one new kernel will be created in /stand/build directory. Copy this to original location&lt;BR /&gt;#cd /stand/build&lt;BR /&gt;#cp vmunix_test /stand/vmunix&lt;BR /&gt;#cp system /stand&lt;BR /&gt;&lt;BR /&gt;I kind of need this to be right because I just used it on a system for work at home.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;</description>
    <pubDate>Sat, 10 Apr 2004 22:27:54 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-04-10T22:27:54Z</dc:date>
    <item>
      <title>building kernels by re-using /stand/system file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585891#M891440</link>
      <description>I have 2 K class systems one a 360 the other a 460.&lt;BR /&gt;I would like to build kernels on them both so that tey reflect that currently running on the K460.&lt;BR /&gt;&lt;BR /&gt;I was proposing to copy the /stand/system file from the 460 to the 360 and rebuild the kernel based on that file.&lt;BR /&gt;&lt;BR /&gt;s this a valid strategy?</description>
      <pubDate>Thu, 27 Sep 2001 11:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585891#M891440</guid>
      <dc:creator>Kevin Dillon</dc:creator>
      <dc:date>2001-09-27T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: building kernels by re-using /stand/system file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585892#M891441</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  Whay U wnt to copy /stand/system from 460 to 360. I don't think it will work. /stand/system file will have the loaded device drivers, dump entry and tunable parameters. These particularly for that machine. I will give U a procedure for rebuilding kernel..Follow this&lt;BR /&gt;&lt;BR /&gt;#cd /stand&lt;BR /&gt;#cp vmunix vmunix.old&lt;BR /&gt;#cp system system.old&lt;BR /&gt;#cd build&lt;BR /&gt;#/usr/lbin/system/system_prep -s system&lt;BR /&gt;&lt;BR /&gt;  Edit system file and make changes here as per ur require ment. Imeand addition/Deletion of devices. Then&lt;BR /&gt;#mk_kernel -s system&lt;BR /&gt;  For more information see the man page of mk_kernel&lt;BR /&gt;&lt;BR /&gt;  Now one new kernel will be created in /stand/buil directory. Copy this to original location&lt;BR /&gt;#cd /stan/build&lt;BR /&gt;#cp vmunix_test /stand/vmunix&lt;BR /&gt;#cp system /stand&lt;BR /&gt;&lt;BR /&gt;  Now reboot the system . In case rebuilding was not successfull, Boot thru /stand/vmunix.old and recover kernel.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Thu, 27 Sep 2001 11:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585892#M891441</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-09-27T11:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: building kernels by re-using /stand/system file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585893#M891442</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;Be careful when copying system files between machines? Do they both (K360 and K460 ) have the same drivers/software ?&lt;BR /&gt;&lt;BR /&gt;You can do a quick diff between the system files and check it out.&lt;BR /&gt;&lt;BR /&gt;One of the options is cut and paste only the configurable parameters from the K460 to K360, so this is something i would do&lt;BR /&gt;&lt;BR /&gt;On K360&lt;BR /&gt;1. cd /stand/build&lt;BR /&gt;2. /usr/lbin/system/system_prep -s /stand/build/system&lt;BR /&gt;3. Modify the system file in /stand/build to change all the parameters just like the K460&lt;BR /&gt;4. mk_kernel&lt;BR /&gt;&lt;BR /&gt;You did not mention which OS you are running.&lt;BR /&gt;&lt;BR /&gt;If you are running 11.0, at this point you can&lt;BR /&gt;5. kmupdate&lt;BR /&gt;6. shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;If you are running 10.X you can&lt;BR /&gt;5. cd /stand&lt;BR /&gt;6. mv system system.prev&lt;BR /&gt;7. mv vmunix vmunix.prev&lt;BR /&gt;8. cp build/system .&lt;BR /&gt;9. cp build/vmunix vmunix&lt;BR /&gt;10. shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;Ramesh</description>
      <pubDate>Thu, 27 Sep 2001 11:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585893#M891442</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-27T11:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: building kernels by re-using /stand/system file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585894#M891443</link>
      <description>Kevin,&lt;BR /&gt;&lt;BR /&gt;There are several considerations to keep in mind when doing this.  Copying the system file from one machine to the other is generally not a good idea unless the systems are identical, i.e. same hardware and I/O cards installed on both as well as same memory configurations.&lt;BR /&gt;&lt;BR /&gt;You can, however, safely copy the configurable parameters from one system to the other.  Usually the parameters are grouped together at the bottom of the file, so it should be a simple matter of cut/paste.  A more elaborate approach would be write a simple script which uses kmtune (only on HPUX 11.0) to get parameters from one system and set them on the other. (Remember to save the old system file as system.prev just in case).&lt;BR /&gt;&lt;BR /&gt;Once the parameters are set up, you can run mk_kernel to generate the new kernel and finally move the kernel into place by either running kmupdate or moving the kernel into place, i.e.&lt;BR /&gt;&lt;BR /&gt;mv /stand/vmunix /stand/vmunix.prev&lt;BR /&gt;mv /stand/build/vmunix_test /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;then reboot.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 27 Sep 2001 11:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585894#M891443</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-27T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: building kernels by re-using /stand/system file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585895#M891444</link>
      <description>I'm adding this "correction" because I have this post bookmarked. 0 Points please.&lt;BR /&gt;&lt;BR /&gt;For 11.00 at least...&lt;BR /&gt;&lt;BR /&gt;#cd /stand&lt;BR /&gt;#cp vmunix vmunix.old&lt;BR /&gt;#cp system system.old&lt;BR /&gt;#cd build&lt;BR /&gt;&lt;BR /&gt;#this is the changed line.&lt;BR /&gt;#/usr/lbin/sysadm/system_prep -s system&lt;BR /&gt;&lt;BR /&gt;Edit system file and make changes here as per ur require ment. Imeand addition/Deletion of devices. Then&lt;BR /&gt;#mk_kernel -s system&lt;BR /&gt;For more information see the man page of mk_kernel&lt;BR /&gt;&lt;BR /&gt;Now one new kernel will be created in /stand/build directory. Copy this to original location&lt;BR /&gt;#cd /stand/build&lt;BR /&gt;#cp vmunix_test /stand/vmunix&lt;BR /&gt;#cp system /stand&lt;BR /&gt;&lt;BR /&gt;I kind of need this to be right because I just used it on a system for work at home.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;</description>
      <pubDate>Sat, 10 Apr 2004 22:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-kernels-by-re-using-stand-system-file/m-p/2585895#M891444</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-04-10T22:27:54Z</dc:date>
    </item>
  </channel>
</rss>

