My Oracle Support Banner

How to create an Oracle VM 2.x guest without Oracle VM Manager i.e. using virt-install (Doc ID 960014.1)

Last updated on MAY 22, 2024

Applies to:

Oracle VM - Version 2.1 to 2.1.5 [Release OVM21 to OVM215]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86 *** ***

Goal

You wish to create an Oracle VM guest Virtual Machine (VM).
However, you do not wish to use the Oracle VM Manager application normally employed for this purpose.
Attempts to use the virt-install utility in interactive mode resulting in an unusable image.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Prepare A Graphical Environment For The VM Guest
 1B.  Microsoft Windows(tm)
 2. Confirm That Installation Media Is Accessible
 2A.  Fully-virtualized (HVM) Guests
 2B.  Para-virtualized (PVM) Guests
 3. Create A VNC Password File
 4. Run the virt-install command to build the proper type of VM guest
 4A.  Creating An HVM Guest
 4B.  Creating A PVM Guest
 5.  The "virt-install" command sometimes shows an odd message on console, but these are able to be ignored:
 6.  After running virt-install, it takes several minutes to create the virtual machine image file (/OVS/running_pool/sn_EL5U2[PH]VM64/System.img in our example).  Please be patient.
 7. After you see the message:
 9.  Headless server install

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.