歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> 怎樣在AIX 5L 5.1中進行64位和32位內核的切換

怎樣在AIX 5L 5.1中進行64位和32位內核的切換

日期:2017/2/28 11:23:42   编辑:關於Unix


環境 AIX 5L 5.1, RS/6000, pSeries
問題 怎樣在AIX 5L 5.1中進行64位和32位內核的切換
解答 首先用如下命令確定當前的所使用的內核:
# ls -l /unix
lrwxrwxrwx 1 root system 21 May 06 2001 /unix -> /usr/lib/boot/unix_mp
為32位內核。
# ls -l /unix
lrwxrwxrwx 1 root system 21 May 06 2001 /unix -> /usr/lib/boot/unix_64
為64位內核。
查看是否安裝了64位內核(bos.mp64)或32位內核(bos.mp)的軟件包。
如果沒有安裝,可從AIX 5L操作系統光盤中安裝。
將32位內核轉變為64位內核。
ln -sf /usr/lib/boot/unix_64 /unix
ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
bosboot -ad /dev/ipldevice
shutdown -Fr
將64位內核轉變為32位內核。
ln -sf /usr/lib/boot/unix_mp /unix
ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
bosboot -ad /dev/ipldevice
shutdown -Fr
注意:對32位的系統不能使用64位的內核,對64位的系統可以使用32位的內核。
Copyright © Linux教程網 All Rights Reserved