Xen Project Q&A Forum: First Line Help for Simple Questions
This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.
I am running Xen 4.1.2 over Ubuntu server 12.04 - LTS, and I am trying to create VMs using an NFS shared folder, the installation process starts, but when the installation checks the hardware, it says that was not found a HD device and the installation cannot continue. I thought that when I use the NFS option in .cfg files the Xen would emulate a HD device to the guest O.S mapped by /dev/nfs.
Here is my configuration file:
# # Configuration file for the Xen NFS-root instance ubuntu-openstack. # Created by xen-tools 4.2.1 on Fri Aug 23 22:47:02 2013. # # # Common stuff. # kernel = '/xen/imagens/ubuntu-netboot/vmlinuz' ramdisk = '/xen/imagens/ubuntu-netboot/initrd.gz' memory = 2048 vcpus = 2 # Name name = 'ubuntu-openstack' hostname = 'ubuntu-openstack' # # Networking # dhcp = 'dhcp' vif = [ '' ] # NFS options nfs_server = 'ip address' nfs_root = '/srv/nfs4/xen/vms' root = '/dev/nfs'
Any ideas in how to work this around ?
Accepted AnswerRussell PavlicekOffline0Interesting question. I've never done this, but I found the following article on the subject:
I noted the section right after the line: "First, you’ll need to make some changes to the domU’s kernel to enable root on NFS:"
Have you done something similar to make sure the result will work? Or is the error coming before that point?