Skip to main content

AIX VM for Test/Dev

Tutorials

QEMU commands

PowerPC System Board-specific

qemu-system-ppc64 --machine help

Install AIX from CD-ROM

Create a VM

mkdir aix72VM
cd aix72VM
qemu-img create -f  qcow2  hdisk0.qcow2  20G

aix_7200-04-00-1937_1of2_112019.iso

cd aix72VM
mv aix_7200-04-00-1937_1of2_112019.iso AIX72.iso

Boot from cd-rom

cd aix72VM

qemu-system-ppc64 -cpu POWER8 \
-machine pseries -m 4096 -serial stdio \
-drive file=hdisk0.qcow2,if=none,id=drive-virtio-disk0 \
-device virtio-scsi-pci,id=scsi \
-device scsi-hd,drive=drive-virtio-disk0 \
-cdrom $PWD/AIX72.iso \
-prom-env "boot-command=boot cdrom:" \
-prom-env "input-device=/vdevice/vty@71000000" \
-prom-env "output-device=/vdevice/vty@71000000"

Type 1 and press Enter

aix_vm_1.png

Press Enter

aix_vm_2.png

Type 2

aix_vm_3.png

Type 4

aix_vm_4.png

Type 5

aix_vm_5.png

Type 0

aix_vm_6.png

Press Enter to install AIX

aix_vm_7.png

看到這畫面時,表示 AIX 作業系統已經完成安裝。

輸入 Ctrl + C 離開

aix_vm_8.png

Fix boot issue

Boot from cd-rom

cd aix72VM

qemu-system-ppc64 -cpu POWER8 \
-machine pseries -m 4096 -serial stdio \
-drive file=hdisk0.qcow2,if=none,id=drive-virtio-disk0 \
-device virtio-scsi-pci,id=scsi \
-device scsi-hd,drive=drive-virtio-disk0 \
-cdrom $PWD/AIX72.iso \
-prom-env "boot-command=boot cdrom:" \
-prom-env "input-device=/vdevice/vty@71000000" \
-prom-env "output-device=/vdevice/vty@71000000"

Type 1 and press Enter

aix_vm_9.png

Press Enter

aix_vm_10.png

Type 3

aix_vm_11.png

Type 0

aix_vm_12.png

Type 1

aix_vm_13.png

Type 1

aix_vm_14.png

輸入修復開機指令

aix_vm_15.png

Fix boot issue