AIX Switching Kernel Bit Modes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Switching to the | == Switching to the 32 bit Kernel == | ||
# <tt>'''# ln -sf /usr/lib/boot/unix_mp /unix'''</tt> | # Linking the 32 bit kernel. | ||
# <tt>'''# ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix'''</tt> | #: <tt>'''# ln -sf /usr/lib/boot/unix_mp /unix'''</tt> | ||
#: <tt>'''# ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix'''</tt> | |||
# You will need to note which hdisks that hd5 appears on. | # You will need to note which hdisks that hd5 appears on. | ||
# | #: <tt>'''# lslv -m hd5'''</tt> | ||
# 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>'''# | #: <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> | ||
== Switching to the 64 bit Kernel == | == Switching to the 64 bit Kernel == | ||
# <tt>'''# ln -sf /usr/lib/boot/unix_64 /unix'''</tt> | # Ensure that the hardware is 64 bit enabled. | ||
# <tt>'''# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix'''</tt> | #: <tt>'''# bootinfo -y'''</tt> | ||
# If the previous command returns 64 bit then proceed. | |||
# Linking the 64 bit kernel. | |||
#: <tt>'''# ln -sf /usr/lib/boot/unix_64 /unix'''</tt> | |||
#: <tt>'''# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix'''</tt> | |||
# You will need to note which hdisks that hd5 appears on. | # You will need to note which hdisks that hd5 appears on. | ||
# | #: <tt>'''# lslv -m hd5'''</tt> | ||
# 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>'''# | #: <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> | ||
== Resources == | == Resources == |
Latest revision as of 21:02, 13 December 2017
Switching to the 32 bit Kernel
- Linking the 32 bit kernel.
- # ln -sf /usr/lib/boot/unix_mp /unix
- # ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
- You will need to note which hdisks that hd5 appears on.
- # lslv -m hd5
- Change the base operating system boot devices repeat for each disk listed in previous step.
- # bosboot -ad <hdisk#>
- Add the drives to the bootlist that where listed with the lslv command.
- # bootlist -m normal <hdisk#> ... <hdisk#n>
- Restart the server to apply the changes.
- Verify that the server is running the 32 bit kernel.
- # bootinfo -K
Switching to the 64 bit Kernel
- Ensure that the hardware is 64 bit enabled.
- # bootinfo -y
- If the previous command returns 64 bit then proceed.
- Linking the 64 bit kernel.
- # ln -sf /usr/lib/boot/unix_64 /unix
- # ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
- You will need to note which hdisks that hd5 appears on.
- # lslv -m hd5
- Change the base operating system boot devices repeat for each disk listed in previous step.
- # bosboot -ad <hdisk#>
- Add the drives to the bootlist that where listed with the lslv command.
- # bootlist -m normal <hdisk#> ... <hdisk#n>
- Restart the server to apply the changes.
- Verify that the server is running the 64 bit kernel.
- # bootinfo -K