[virt-tools-list] Unable to Create an Oracle Linux VM Using virt-install or virt-manager

Eric epretorious at yahoo.com
Tue Feb 12 22:50:37 UTC 2013


I've copied the contents of the Oracle Linux 6.3 installation media to an directory that's exported via NFS:


san2:~ # ls -1 /srv/md128/repositories/oracle/6.3/os/x86_64/
EFI
EULA
eula.en_US
eula.py
GPL
HighAvailability
images
isolinux
LoadBalancer
media.repo
Packages
README-en
README-en.html
RELEASE-NOTES-en
RELEASE-NOTES-en.html
RELEASE-NOTES-x86_64-en
RELEASE-NOTES-x86_64-en.html
RELEASE-NOTES-x86-en
RELEASE-NOTES-x86-en.html
repodata
ResilientStorage
RPM-GPG-KEY
RPM-GPG-KEY-oracle
ScalableFileSystem
Server
supportinfo
TRANS.TBL
UEK2

...and tried to use the directory to install an Oracle Linux VM with virt-install:


xen2:~ # virt-install -p --name dns2 --ram 786 --disk 
/dev/disk/by-id/scsi-14945540000000000705f69534353492d73616e315f310000 
--location nfs://192.168.0.2/srv/md128/repositories/oracle/6.3/os/x86_64/ --graphics none

...but virt-install complains:


Starting install...
ERROR    Couldn't find xen kernel for Red Hat Enterprise Linux tree.

If I use the NFS respository with virt-manager, virt-manager complains...


Error: coercing to Unicode: need string or buffer, instance found

This is a tried-and-true methodology: I use this method for installing CentOS & SuSE regularly:


san2:~ # ls -1 /srv/md128/repositories/centos/6.3/os/x86_64/
CentOS_BuildTag
.discinfo
EFI
EULA
GPL
images
isolinux
Packages
RELEASE-NOTES-en-US.html
repodata
RPM-GPG-KEY-CentOS-6
RPM-GPG-KEY-CentOS-Debug-6
RPM-GPG-KEY-CentOS-Security-6
RPM-GPG-KEY-CentOS-Testing-6
.treeinfo

xen2:~
 # virt-install -p --name dns2 --ram 786 --disk 
/dev/disk/by-id/scsi-14945540000000000705f69534353492d73616e315f310000 
--location nfs://192.168.0.2/srv/md128/repositories/centos/6.3/os/x86_64/ --graphics none

What is it that's different about the Oracle Linux installation media that causes this failure? Is there a workaround?

Eric Pretorious
Truckee, CA 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130212/484e78fa/attachment.htm>


More information about the virt-tools-list mailing list