Created
November 10, 2019 01:00
-
-
Save tuklusan/02168ed1eb607dc77fe90be9eed1d16d to your computer and use it in GitHub Desktop.
Install HP-UX 11i on QEMU: Installation Phase - QEMU Monitor; see https://supratim-sanyal.blogspot.com/2019/11/hpux-11i-v1-hpux-1111-pa-risc-guest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ # -----------------------------------------------cat r.sh[K[1Pvi r.sh./r.sh cat r.sh./qemu-system-hppa -net nic,model=help[11Pversion | |
QEMU emulator version 4.1.50 (v4.1.0-2221-g36609b4fa3-dirty) | |
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ./qemu-system-hppa -version# -----------------------------------------------cat r.sh[K[1Pvi r.sh./r.sh cat r.sh./qemu-system-hppa -net nic,model=help | |
Supported NIC models: | |
e1000 | |
e1000-82544gc | |
e1000-82545em | |
i82550 | |
i82551 | |
i82557a | |
i82557b | |
i82557c | |
i82558a | |
i82558b | |
i82559a | |
i82559b | |
i82559c | |
i82559er | |
i82562 | |
i82801 | |
ne2k_pci | |
pcnet | |
rtl8139 | |
tulip | |
virtio-net-pci | |
virtio-net-pci-non-transitional | |
virtio-net-pci-transitional | |
vmxnet3 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ./qemu-system-hppa -net nic,model=help[11Pversion# -----------------------------------------------cat r.sh[K | |
#!/bin/sh | |
# | |
# Launches HP PARISC emulator and drops to QEMU monitor prompt | |
# Telnet to port CONSOLE_TELNET_PORT_NUM to access console | |
# | |
# -boot d -> Boot from CD ROM; -boot c -> Boot from Hard Disk | |
# | |
CONSOLE_TELNET_PORT_NUM=54321 | |
./qemu-system-hppa \ | |
-boot d \ | |
-m 512 \ | |
-drive if=scsi,bus=0,index=0,file=./hpux-striped-disk-1.8gb.raw.dsk,format=raw \ | |
-drive if=scsi,bus=0,index=1,file=./hpux-striped-disk-2.8gb.raw.dsk,format=raw \ | |
-cdrom ./ISO/hpux11-01.iso \ | |
-net nic,model=tulip \ | |
-net tap,ifname=tap4,script=no \ | |
-serial telnet::${CONSOLE_TELNET_PORT_NUM},server \ | |
-serial mon:stdio \ | |
-nographic \ | |
-d nochain ### -smp cpus=2 ### \ -accel tcg,thread=multi | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ./r.sh | |
qemu-system-hppa: -serial telnet::54321,server: info: QEMU waiting for connection on: disconnected:telnet::::54321,server | |
QEMU 4.1.50 monitor - type 'help' for more information | |
(qemu) | |
(qemu) i[K[Din[K[D[Dinf[K[D[D[Dinfo[K[D[D[D[Dinfo [K[D[D[D[D[Dinfo b[K[D[D[D[D[D[Dinfo bl[K[D[D[D[D[D[D[Dinfo blo[K[D[D[D[D[D[D[D[Dinfo bloc[K[D[D[D[D[D[D[D[D[Dinfo block[K | |
scsi0-hd0 (#block123): ./hpux-striped-disk-1.8gb.raw.dsk (raw) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[0] | |
Cache mode: writeback | |
scsi0-hd1 (#block352): ./hpux-striped-disk-2.8gb.raw.dsk (raw) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[1] | |
Cache mode: writeback | |
scsi0-cd2 (#block564): ./ISO/hpux11-01.iso (raw, read-only) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[2] | |
Removable device: not locked, tray closed | |
Cache mode: writeback | |
floppy0: [not inserted] | |
Removable device: not locked, tray closed | |
sd0: [not inserted] | |
Removable device: not locked, tray closed | |
(qemu) | |
(qemu) | |
(qemu) c[K[Dch[K[D[Dcha[K[D[D[Dchan[K[D[D[D[Dchang[K[D[D[D[D[Dchange[K[D[D[D[D[D[Dchange [K[D[D[D[D[D[D[Dchange s[K[D[D[D[D[D[D[D[Dchange sc[K[D[D[D[D[D[D[D[D[Dchange scs[K[D[D[D[D[D[D[D[D[D[Dchange scsi[K[D[D[D[D[D[D[D[D[D[D[Dchange scsi0[K[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-[K[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-c[K[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 [K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 I[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 IS[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/h[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hp[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpu[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux1[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-0[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-02[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-02.[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-02.i[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-02.is[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-02.iso[K | |
(qemu) | |
(qemu) change scsi0-cd2 ISO/hpux11-02.iso[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd ISO/hpux11-02.iso[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-02.iso[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[C[C[C[C[C[C[C[C[C[C[C[C[C[C[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-0.iso[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-03.iso[K[D[D[D[D | |
(qemu) | |
(qemu) i[K[Din[K[D[Dinf[K[D[D[Dinfo[K[D[D[D[Dinfo [K[D[D[D[D[Dinfo b[K[D[D[D[D[D[Dinfo bl[K[D[D[D[D[D[D[Dinfo blo[K[D[D[D[D[D[D[D[Dinfo bloc[K[D[D[D[D[D[D[D[D[Dinfo block[K | |
scsi0-hd0 (#block123): ./hpux-striped-disk-1.8gb.raw.dsk (raw) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[0] | |
Cache mode: writeback | |
scsi0-hd1 (#block352): ./hpux-striped-disk-2.8gb.raw.dsk (raw) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[1] | |
Cache mode: writeback | |
scsi0-cd2 (#block901): ISO/hpux11-03.iso (raw, read-only) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[2] | |
Removable device: not locked, tray closed | |
Cache mode: writeback | |
floppy0: [not inserted] | |
Removable device: not locked, tray closed | |
sd0: [not inserted] | |
Removable device: not locked, tray closed | |
(qemu) | |
(qemu) | |
(qemu) info block[K[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-03.iso[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-0.iso[K[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[Dchange scsi0-cd2 ISO/hpux11-04.iso[K[D[D[D[D | |
(qemu) | |
(qemu) i[K[Din[K[D[Dinf[K[D[D[Dinfo[K[D[D[D[Dinfo [K[D[D[D[D[Dinfo b[K[D[D[D[D[D[Dinfo bl[K[D[D[D[D[D[D[Dinfo blo[K[D[D[D[D[D[D[D[Dinfo bloc[K[D[D[D[D[D[D[D[D[Dinfo block[K | |
scsi0-hd0 (#block123): ./hpux-striped-disk-1.8gb.raw.dsk (raw) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[0] | |
Cache mode: writeback | |
scsi0-hd1 (#block352): ./hpux-striped-disk-2.8gb.raw.dsk (raw) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[1] | |
Cache mode: writeback | |
scsi0-cd2 (#block1145): ISO/hpux11-04.iso (raw, read-only) | |
Attached to: /machine/unattached/device[6]/scsi.0/legacy[2] | |
Removable device: not locked, tray closed | |
Cache mode: writeback | |
floppy0: [not inserted] | |
Removable device: not locked, tray closed | |
sd0: [not inserted] | |
Removable device: not locked, tray closed | |
(qemu) [localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ # ---------------- TAKE A BACKUP OF THE INITIAL INSTALL | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ls at rchive/ | |
hpux-qcow2-disk.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ rm archive/* | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ tar cvjf archive/first-boot.tar.ba z3 2 | |
HP-UX networking related tools and commands - nixCraft.pdf | |
ISO/ | |
Running HP-UX 11.11 on qemu-system-hppa.pdf | |
archive/ | |
change-cd-rom-qemu.txt | |
compact-qcow2-disk.sh | |
hppa-firmware.img | |
hpux-inst-console.log | |
hpux-inst-qemu.log | |
hpux-striped-disk-1.8gb.raw.dsk | |
hpux-striped-disk-2.8gb.raw.dsk | |
qemu-supported-network-adapters.txt | |
qemu-system-hppa | |
qemu-system-hppa.bak | |
r.sh | |
run-hpux-11-11.sh | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ tar cvjf archive/first-boot.tar.bz2 hppa-firmware.img *dsk q | |
er e mu-system-hppa r.sh | |
a hppa-firmware.img | |
a hpux-striped-disk-1.8gb.raw.dsk | |
a hpux-striped-disk-2.8gb.raw.dsk | |
a qemu-system-hppa | |
a r.sh | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ # ----- CONVERT DISKS TO QCOW2 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ # ----- CONVERT DISKS TO QCOW2 tar cvjf archive/first-boot.tar.bz2 hppa-firmware.img *dsk qe | |
emu-system-hppa r.sh Me-2950 ~/Qemu-VirtualMachines/hpux]$ rm archive/*[K | |
[KM[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ rm archive/* | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-1.8gb.raw. | |
.dsk hpux-striped-disk-1.8gb.raw.dsk[1@8[1@g[1@n[1P[1@b[[email protected][1P[1P[1P[1P[1P[1P[1P[1@q[1@c[1@o[1@w[1@2 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-1.8gb.raw. | |
.dsk hpux-striped-8gb-disk-1.qcow2.dsk | |
M[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-1.8gb.ra.8gb.raw.d[1PMlocaluser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.raw.[1@dMumtuk@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.ra | |
.dsk hpux-striped-8gb-disk-1[1P[1@2 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ls -lh *dsk | |
-rw-r--r-- 1 localuser localuser 1.5G Nov 3 14:36 hpux-striped-8gb-disk-1.qcow2.dsk | |
-rw-r--r-- 1 localuser localuser 1.4G Nov 3 14:37 hpux-striped-8gb-disk-2.qcow2.dsk | |
-rw-r--r-- 1 localuser localuser 8.0G Nov 3 14:17 hpux-striped-disk-1.8gb.raw.dsk | |
-rw-r--r-- 1 localuser localuser 8.0G Nov 3 14:17 hpux-striped-disk-2.8gb.raw.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ rm hpux-striped-disk- | |
hpux-striped-disk-1.8gb.raw.dsk hpux-striped-disk-2.8gb.raw.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ rm hpux-striped-disk-*dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ rm hpux-striped-disk-*dsk[14Pls -lh *dsk | |
-rw-r--r-- 1 localuser localuser 1.5G Nov 3 14:36 hpux-striped-8gb-disk-1.qcow2.dsk | |
-rw-r--r-- 1 localuser localuser 1.4G Nov 3 14:37 hpux-striped-8gb-disk-2.qcow2.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ # ------- ADJUST r.sh for 1cow qcow2 disk and SMP 2 Processore s +A Acce | |
leration | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ vi r.sh | |
[?1049h[1;28r[m[4l[?1h=[H[J#!/bin/sh | |
[1B#[1B# Launches HP PARISC emulator and drops to QEMU monitor prompt | |
[1B# Telnet to port CONSOLE_TELNET_PORT_NUM to access console | |
[1B#[1B# -boot d -> Boot from CD ROM; -boot c -> Boot from Hard Disk | |
[1B#[1BCONSOLE_TELNET_PORT_NUM=54321 | |
[1B./qemu-system-hppa \[10;9H-boot d \[11;9H-m 512 \[12;9H-drive if=scsi,bus=0,index=0,file=./hpux-striped-disk-1.8gb.raw.dsk,format=raw \[13;9H-drive if=scsi,bus=0,index=1,file=./hpux-striped-disk-2.8gb.raw.dsk,format=raw \[14;9H-cdrom ./ISO/hpux11-01.iso \[15;9H-net nic,model=tulip \[16;9H-net tap,ifname=tap4,script=no \[17;9H-serial telnet::${CONSOLE_TELNET_PORT_NUM},server \[18;9H-serial mon:stdio \[19;9H-nographic \[20;9H-d nochain ### -smp cpus=2 ### \ -accel tcg,thread=multi | |
[2B~[1B~[1B~[1B~[1B~[1B~[H[27Br.sh: unmodified: line 1[H[27B[J[26A[1B[1B[1B[1B[1B[1B[1B[10;8H[1B[1B[1BM -drive if=scsi,bus=[C,index=[C,file=./ | |
[16BCopying file for recovery... | |
[J[12;45H[K/hpux-striped-8gb-disk-1.qcow2.dsk, format=qcow2 \[13;88H,index=[C,file=./h[K/hpux-striped-8gb-disk-1.qcow2.dsk2[13;78HMk,[1P[1Bk,format=qcow2 \[14;36H[15;30H[16;40H[17;59H[18;27H[19;20H[20;65H | |
[1B[20;65Hi | |
[2B M[2B Msync;sync;sync | |
[2B Mexit 0 | |
[1B~MMMM[7CMMMMMMMMMM -boot c | |
[18B:wq | |
r.sh: 23 lines, 703 characters | |
[?1l> | |
[27;31H. | |
[1B[28;1H[?1049l | |
[?1l>[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ cat r.sh | |
#!/bin/sh | |
# | |
# Launches HP PARISC emulator and drops to QEMU monitor prompt | |
# Telnet to port CONSOLE_TELNET_PORT_NUM to access console | |
# | |
# -boot d -> Boot from CD ROM; -boot c -> Boot from Hard Disk | |
# | |
CONSOLE_TELNET_PORT_NUM=54321 | |
./qemu-system-hppa \ | |
-boot c \ | |
-m 512 \ | |
-drive if=scsi,bus=0,index=0,file=./hpux-striped-8gb-disk-1.qcow2.dsk,format=qcow2 \ | |
-drive if=scsi,bus=0,index=1,file=./hpux-striped-8gb-disk-2.qcow2.dsk,format=qcow2 \ | |
-cdrom ./ISO/hpux11-01.iso \ | |
-net nic,model=tulip \ | |
-net tap,ifname=tap4,script=no \ | |
-serial telnet::${CONSOLE_TELNET_PORT_NUM},server \ | |
-serial mon:stdio \ | |
-nographic \ | |
-d nochain ### -smp cpus=2 ### \ -accel tcg,thread=multi | |
sync;sync;sync | |
exit 0 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ # ---- B FIRST BOOT FROM HARD DISK -0 ---------- | |
-rw-r--r-- 0 localuser localuser 783724 Oct 13 12:53 hppa-firmware.img | |
-rw-r--r-- 0 localuser localuser 8589934592 Nov 3 14:17 hpux-striped-disk-1.8gb.raw.dsk^C | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ cd .. | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ls ( ( *dsk | |
hpux-striped-8gb-disk-1.qcow2.dsk hpux-striped-8gb-disk-2.qcow2.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ rm -o i ( ( *dsk | |
remove hpux-striped-8gb-disk-1.qcow2.dsk? y | |
remove hpux-striped-8gb-disk-2.qcow2.dsk? y | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ cd archive/ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ tar xvjf first-boot.tar.bz2 | |
x hppa-firmware.img | |
x hpux-striped-disk-1.8gb.raw.dsk | |
x hpux-striped-disk-2.8gb.raw.dsk | |
x qemu-system-hppa | |
x r.sh | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ mv *dsk .. | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ | |
[44P(reverse-i-search)`': c': cd archive/o': # ------- ADJUST r.sh for qcow2 disk and 2 Processors + Acceleration | |
(reverse-i-search)`con': qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.raw.dsk hpux-striped-8gb-disk-2.qcow2 | |
2.dskMrse-i-search)`con': qemu-img v': qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.raw.dsk hpux-striped-8gb-disk-2.qcow[1@2Meverse-i-search)`conv': qemu-img e': qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.raw.dsk hpux-striped-8gb-disk-2.qco[1@wMeverse-i-search)`conve': qemu-img r': qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.raw.dsk hpux-striped-8gb-disk-2.qc[1@oMeverse-i-search)`conver': qemu-img | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.[[email protected] hpux-striped-8gb-disk-2.qcMualMachines/hpux/archive]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk- | |
.8gb.raw.dsk hpux-striped-8gb-disk-2.qcow2.dsk | |
M[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk- hpux-striped-disk- | |
M[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-.8[1PMlocaluser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-1.[1@8 | |
.8gb.raw.dsk hpux-striped-8gb-disk-2[1P[1@1 | |
qemu-img: Could not open 'hpux-striped-disk-1.8gb.raw.dsk': Could not open 'hpux-striped-disk-1.8gb.raw.dsk': No such file or directory | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ ls *dsk | |
ls: *dsk: No such file or directory | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ cd .. | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ cd ..ls *dskqemu-img convert -f raw -O qcow2 hpux-striped-disk-1.8gb.raw. | |
.dsk hpux-striped-8gb-disk-1.qcow2.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-1.8gb.raw. | |
.dsk hpux-striped-8gb-disk-1.qcow2.dsk | |
M[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-1.8gb.ra.8gb.raw.d[1PMlocaluser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.raw.[1@dMumtuk@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ qemu-img convert -f raw -O qcow2 hpux-striped-disk-2.8gb.ra | |
.dsk hpux-striped-8gb-disk-1[1P[1@2 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ls -al | |
total 6090184 | |
drwxr-xr-x 4 localuser localuser 1024 Nov 6 03:32 . | |
drwxr-xr-x 7 localuser localuser 512 Nov 2 16:08 .. | |
-rw------- 1 localuser localuser 98611 Oct 20 04:53 HP-UX networking related tools and commands - nixCraft.pdf | |
drwxr-xr-x 2 localuser localuser 512 Oct 13 07:25 ISO | |
-r-------- 1 localuser localuser 12351131 Oct 13 07:11 Running HP-UX 11.11 on qemu-system-hppa.pdf | |
drwxr-xr-x 2 localuser localuser 512 Nov 6 03:27 archive | |
-rw-r--r-- 1 localuser localuser 598 Oct 20 04:38 change-cd-rom-qemu.txt | |
-rwxr-xr-x 1 localuser localuser 426 Oct 24 02:10 compact-qcow2-disk.sh | |
-rw-r--r-- 1 localuser localuser 783724 Oct 13 12:53 hppa-firmware.img | |
-rw-r--r-- 1 localuser localuser 244071 Nov 6 03:20 hpux-inst-console.log | |
-rw-r--r-- 1 localuser localuser 47313 Nov 6 03:33 hpux-inst-qemu.log | |
-rw-r--r-- 1 localuser localuser 1596784640 Nov 6 03:29 hpux-striped-8gb-disk-1.qcow2.dsk | |
-rw-r--r-- 1 localuser localuser 1471414272 Nov 6 03:32 hpux-striped-8gb-disk-2.qcow2.dsk | |
-rw-r--r-- 1 localuser localuser 8589934592 Nov 3 14:17 hpux-striped-disk-1.8gb.raw.dsk | |
-rw-r--r-- 1 localuser localuser 8589934592 Nov 3 14:17 hpux-striped-disk-2.8gb.raw.dsk | |
-rw-r--r-- 1 localuser localuser 343 Nov 1 01:51 qemu-supported-network-adapters.txt | |
-rwxr-xr-x 1 localuser localuser 36997400 Nov 3 02:50 qemu-system-hppa | |
-rwxr-xr-x 1 localuser localuser 36875104 Oct 13 07:23 qemu-system-hppa.bak | |
-rwxr-xr-x 1 localuser localuser 696 Nov 6 03:23 r.sh | |
-rwxr-xr-x 1 localuser localuser 988 Nov 2 01:37 run-hpux-11-11.sh | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ rm -i *raw.dsk | |
remove hpux-striped-disk-1.8gb.raw.dsk? y | |
remove hpux-striped-disk-2.8gb.raw.dsk? y | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ cd archive/ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ ls | |
first-boot.tar.bz2 hppa-firmware.img qemu-system-hppa r.sh | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ rm -i * | |
remove first-boot.tar.bz2? n | |
remove hppa-firmware.img? y | |
remove qemu-system-hppa? y | |
remove r.sh? y | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ sync | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ ls | |
first-boot.tar.bz2 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux/archive]$ cd .. | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ s ls | |
HP-UX networking related tools and commands - nixCraft.pdf | |
ISO | |
Running HP-UX 11.11 on qemu-system-hppa.pdf | |
archive | |
change-cd-rom-qemu.txt | |
compact-qcow2-disk.sh | |
hppa-firmware.img | |
hpux-inst-console.log | |
hpux-inst-qemu.log | |
hpux-striped-8gb-disk-1.qcow2.dsk | |
hpux-striped-8gb-disk-2.qcow2.dsk | |
qemu-supported-network-adapters.txt | |
qemu-system-hppa | |
qemu-system-hppa.bak | |
r.sh | |
run-hpux-11-11.sh | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ cat r.sh | |
#!/bin/sh | |
# | |
# Launches HP PARISC emulator and drops to QEMU monitor prompt | |
# Telnet to port CONSOLE_TELNET_PORT_NUM to access console | |
# | |
# -boot d -> Boot from CD ROM; -boot c -> Boot from Hard Disk | |
# | |
CONSOLE_TELNET_PORT_NUM=54321 | |
./qemu-system-hppa \ | |
-boot c \ | |
-m 512 \ | |
-drive if=scsi,bus=0,index=0,file=./hpux-striped-8gb-disk-1.qcow2.dsk,format=qcow2 \ | |
-drive if=scsi,bus=0,index=1,file=./hpux-striped-8gb-disk-2.qcow2.dsk,format=qcow2 \ | |
-cdrom ./ISO/hpux11-01.iso \ | |
-net nic,model=tulip \ | |
-net tap,ifname=tap4,script=no \ | |
-serial telnet::${CONSOLE_TELNET_PORT_NUM},server \ | |
-serial mon:stdio \ | |
-nographic \ | |
-d nochain ### -smp cpus=2 -accel tcg,thread=multi | |
sync;sync;sync | |
exit 0 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ls -l hpux-striped-8gb-disk-1.qcow2.dsk | |
-rw-r--r-- 1 localuser localuser 1596784640 Nov 6 03:29 hpux-striped-8gb-disk-1.qcow2.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ls -l hpux-striped-8gb-disk-1.qcow2.dsk[1P[1@2 | |
-rw-r--r-- 1 localuser localuser 1471414272 Nov 6 03:32 hpux-striped-8gb-disk-2.qcow2.dsk | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ########################################### | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ########################################## | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ########## STAT RT $$ ######################### | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ########################################## | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ########################################## | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ cat r.sh | |
#!/bin/sh | |
# | |
# Launches HP PARISC emulator and drops to QEMU monitor prompt | |
# Telnet to port CONSOLE_TELNET_PORT_NUM to access console | |
# | |
# -boot d -> Boot from CD ROM; -boot c -> Boot from Hard Disk | |
# | |
CONSOLE_TELNET_PORT_NUM=54321 | |
./qemu-system-hppa \ | |
-boot c \ | |
-m 512 \ | |
-drive if=scsi,bus=0,index=0,file=./hpux-striped-8gb-disk-1.qcow2.dsk,format=qcow2 \ | |
-drive if=scsi,bus=0,index=1,file=./hpux-striped-8gb-disk-2.qcow2.dsk,format=qcow2 \ | |
-cdrom ./ISO/hpux11-01.iso \ | |
-net nic,model=tulip \ | |
-net tap,ifname=tap4,script=no \ | |
-serial telnet::${CONSOLE_TELNET_PORT_NUM},server \ | |
-serial mon:stdio \ | |
-nographic \ | |
-d nochain ### -smp cpus=2 -accel tcg,thread=multi | |
sync;sync;sync | |
exit 0 | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ./run-hpux-11-11.sh | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ | |
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ./r.sh | |
qemu-system-hppa: -serial telnet::54321,server: info: QEMU waiting for connection on: disconnected:telnet::::54321,server | |
QEMU 4.1.50 monitor - type 'help' for more information | |
(qemu) | |
(qemu) i[K[Din[K[D[Dinf[K[D[D[Dinfo[K[D[D[D[Dinfo [K[D[D[D[D[Dinfo[K[D[D[D[Dinf[K[D[D[Din[K[D[Di[K[D[K[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ exit | |
Script done on Wed Nov 6 08:43:43 2019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment