Problem
How to install UnixWare 7D or OpenServer 6D on linux KVM
Solution
Configuration Notes-Make sure you have enough space in your /var/lib/libvirt/images directory to fit the size of the UW7D or OSR6D virtual machine.
-Optionally you can make a softlink to another filesystem having more space available. The virtual machine disk then will be created on the other
filesystem:
# mv /var/lib/libvirt/images /<mountpoint of filesystem>/images
# ln -s /<mountpoint of filesystem>/images /var/lib/libvirt/images-Check if your linux system has an unconfigured network interface. If so, this interface can be used as dedicated interface for the VM.
During VM configuration, set the VM NIC interface as "macvtap" (network source), "VEPA" (source mode) of an unconfigured linux network card. Set the name of the interface to an unused linux interface name.
If no dedicated linux interface is available, then a software bridge should be created. See note1 at the end of this document.
-Configure KVM to accommodate XinuOS products:Place the UW7D or OSR6D DVD ISO into directory /var/lib/libvirt/images/
Mount the Definitive ISO and install the osinfo-db RPM which is
provided on the recut ISO in the .venv directory at the top-level of ISO
directory hierarch:
# mount -oloop /var/lib/libvirt/images/<Definitive>-DVD.iso /mntOn Redhat, Rocky and Suse linux install the osinfo-db-xinuos package from DVD:
# rpm -iv /mnt/.venv/osinfo-db-xinuos-<version>.noarch.rpmOn Ubuntu install the correct osinfo-db-xinuos rpm package using:
$sudo alien -i /mnt/.venv/osinfo-db-xinuos-<version>.noarch.rpm-Installation of UW7D or OSR6D Definitive with "virt-manager": Start the "virt-manager" GUI and create a new Virtual Machine and choose "Local Installation Media".
When you select the Definitive DVD ISO image, the XinuOS profile will be automatically detected with a sufficient minimum of hardware resources. A default VM will use 1GB of RAM, 2 CPUs, 30GB "vtblk" disk, IDE dvd/cdrom and a "virtio" network card.
Change the network selection from NAT to the "macvtap" (network source), "VEPA" (source mode) of the additional linux network card. Set the name of the interface to an unused linux interface name.
Check the "Customize configuration before installation" box and select "Finish". Select 'IDE CDROM', navigate to 'Advanced options' and select Disk-bus: SATA. Apply to save.
If any "Tablet" hardware is in the VM configuration, then remove this. Tablet hardware will slow down or hang your Xinuos OS.
Change any other details as desired, then choose "Begin Installation"
Note: On Unixware7, when the cdrom installation is completed, you will be asked to remove the CDROM. Move to the "Hardware details tab' select CDROM and press the cross behind the iso name to delete the name. Press 'Apply' to apply the change. Then move to the virt-manager 'Graphical Console' again and press <Return> to shutdown and restart to finish the installation.
Note: If no second network card is available, then a network "bridge" is needed. Some Linux distributions configure a network "bridge" as part of the software installation, this can also be done via an administration tool, manually or with an example script like this:
===
#!/bin/sh
#Find Ethernet device
DEV=`nmcli device| grep -i ethernet |head -n1| awk '{print $1}'`
nmcli connection down "$DEV"
nmcli connection delete "$DEV"
nmcli connection add type bridge autoconnect yes con-name br0 ifname br0
nmcli connection modify br0 ipv4.method auto
nmcli connection add type bridge-slave autoconnect yes con-name $DEV ifname $DEV master br0
nmcli connection up br0
=== See also
TA128041 - Which Linux distributions and KVM hypervisors are known to work with UW7D or OSR6D Definitive?