AIX Switching Kernel Bit Modes: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
# Change the base operating system boot devices repeat for each disk listed in previous step.
# Change the base operating system boot devices repeat for each disk listed in previous step.
## # <tt>'''# bosboot -ad <hdisk#>'''</tt>
## # <tt>'''# bosboot -ad <hdisk#>'''</tt>
# Add the drives to the bootlist that where listed with the lslv command.
## <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>
# Restart the server to apply the changes.
# Restart the server to apply the changes.
# Verify that the server is running the 32 bit kernel.
# Verify that the server is running the 32 bit kernel.
## <tt>'''# bootinfo -K'''</tt>
## <tt>'''# bootinfo -K'''</tt>
# Add the drives to the bootlist that where listed with the lslv command.
## <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>


== Switching to the 64 bit Kernel ==
== Switching to the 64 bit Kernel ==
Line 19: Line 19:
# Change the base operating system boot devices repeat for each disk listed in previous step.
# Change the base operating system boot devices repeat for each disk listed in previous step.
## # <tt>'''# bosboot -ad <hdisk#>'''</tt>
## # <tt>'''# bosboot -ad <hdisk#>'''</tt>
# Add the drives to the bootlist that where listed with the lslv command.
## <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>
# Restart the server to apply the changes.
# Restart the server to apply the changes.
# Verify that the server is running the 64 bit kernel.
# Verify that the server is running the 64 bit kernel.
## <tt>'''# bootinfo -K'''</tt>
## <tt>'''# bootinfo -K'''</tt>
# Add the drives to the bootlist that where listed with the lslv command.
 
## <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>


== Resources ==
== Resources ==

Revision as of 13:35, 26 January 2012

Switching to the 32bit Kernel

  1. # ln -sf /usr/lib/boot/unix_mp /unix
  2. # ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
  3. You will need to note which hdisks that hd5 appears on.
    1. # lslv -m hd5
  4. Change the base operating system boot devices repeat for each disk listed in previous step.
    1. # # bosboot -ad <hdisk#>
  5. Add the drives to the bootlist that where listed with the lslv command.
    1. # bootlist -m normal <hdisk#> ... <hdisk#n>
  6. Restart the server to apply the changes.
  7. Verify that the server is running the 32 bit kernel.
    1. # bootinfo -K

Switching to the 64 bit Kernel

  1. # ln -sf /usr/lib/boot/unix_64 /unix
  2. # ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
  3. You will need to note which hdisks that hd5 appears on.
    1. # lslv -m hd5
  4. Change the base operating system boot devices repeat for each disk listed in previous step.
    1. # # bosboot -ad <hdisk#>
  5. Add the drives to the bootlist that where listed with the lslv command.
    1. # bootlist -m normal <hdisk#> ... <hdisk#n>
  6. Restart the server to apply the changes.
  7. Verify that the server is running the 64 bit kernel.
    1. # bootinfo -K


Resources

  1. IBM pSeries and AIX Information Center
  2. AIX Commands you should not leave home without