Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating an Oracle Linux PVM Using virt-install

epretoriousFeb 10 2013 — edited Feb 14 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
What is causing these failures?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 (compared to the CentOS installation media, shown above ) that causes this failure? Is there a workaround?

Eric Pretorious
Truckee, CA
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2013
Added on Feb 10 2013
15 comments
2,007 views