I am trying to follow the Xen guide to provision a domU using package installation of the Fedora 15 release (the dom0 is CentOS 5.6). I've run the rpm install command with an alternate root to a mounted root LV, but I keep running into this issue:
# rpm -ivh --nodeps --root /mnt/fedRoot fedora-release-15-1.noarch.rpm
warning: fedora-release-15-1.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 069c8460
Preparing... ########################################### [100%]
1:fedora-release ########################################### [100%]
error: unpacking of archive failed: cpio: Bad magic
I'm not sure where to begin with troubleshooting this.
As I understand it, rpm reads the "root" filesystem (which I've designated to the mounted drive) and bases its verification and install directory structure based on the "root" system. What is the cpio: Bad magic
bit? Any recommendations for making this rpm install work? let me know if more information is needed...
--nomd5
flag when I get home from work today. If that doesnt work I think I am going to need to compile a version of rpm that has all the bits needed for this :( I will update when I have a result. – Hari Seldon Jun 14 '11 at 10:58