tinyapps.org / docs / SCO OpenServer P2V; or, How to Virtualize a SCO Box

Virtualized SCO server running in VirtualBox

I. Environment

II. Procedure

Image drive

  1. Remove hard drive from ancient PC and connect to modern PC via SCSI to USB adapter
  2. Image the SCO disk (/dev/sdb in this example) with dd or similar, e.g.,
    ddrescue /dev/sdb image.dd

Convert dd image to virtual machine

  1. VBoxManage convertdd image.dd image.vdi --format VDI
  2. Change ownership of image.vdi from root to user:
    chown user image.vdi

Setup new virtual machine  📺

  1. Launch VirtualBox and click New
  2. Click Next
  3. Enter desired name
  4. Select "Other" for Operating System and "Other/Unknown" for Version
  5. Select desired memory size and click Next
  6. Click "Use existing hard disk" and then click the Browse icon
  7. Browse to image.vdi and click Open
  8. Click Next
  9. Click Create
  10. Click Start
  11. Enjoy your virtualized SCO Unix box!

III. Notes

The medium 'foo.vdi' can't be used as the requested device type.

If you forget to change ownership of image.vdi (as I did), the following error appears when attempting to set it in step 11:

Failed to open the hard disk image.vdi.

The medium 'image.vdi' can't be used as the requested device type.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Medium
Interface: IMedium {longstring}
Callee: IVirtualBox {longstring}

Cannot register the hard disk foo with UUID bar...

If you move or copy the virtual machine to another host, you may receive a "Cannot register the hard disk" error. Avoid by cloning the VDI or changing its UUID.

IV. Special thanks to...

created: 2013.04.14