Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to import an ovf appliance created for VMWare into our Xen infrastructure. The imported image uses hda rather than sda, and the appliance has some hard references that appear to be failing and/or creating problems. The appliance does a CentOS 5 kickstart, and I was able to modify that to work, but then the server itself installs with embedded references to sda that are in compiled code (found by using grep on the install files).

I'm new to Xen and have done a lot of searching that hints at the type of problem but can't figure out if it's possible to change, and how. These systems do not have an /etc/xen folder; some pages referenced editing the DomU config file and passing some kernel parameters, but I haven't been able to map that to what is running.

This is for XenServer 5.6.0, using local storage (LVM). Existing VMs use the xvd* devices, and if I mount the storage on another VM it shows up as xvdb, but the appliance VM sees it as hda.

share|improve this question

Once you are "somewhat" able to boot your appliance on Xen, have you tried setting udev rules to rename hda to sda? Here is tutorial on how to do that

share|improve this answer
Thanks, that's helpful. I ended up just going through the appliance and figuring out the references; it wasn't as bad as it could have been (none of the actual application code references sda). I probably wouldn't do this just because of the level of maintenance required, but could be handy elsewhere. – Josh May 4 '13 at 1:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.