rhel5 problem creating virtual machine

clockwork at sigsys.org clockwork at sigsys.org
Wed Apr 11 02:34:58 UTC 2007


Well the only real gotcha with virt-install is that the install data has to
be accessible via nfs, ftp or http. You could post either the output/problem
from virt-install or the xm config file. (or both).

On 4/10/07, Susan Baur <susan at cdl.edu> wrote:
>
> Thanks for the suggestion. Unfortunately, I was unable to get past
> the location option in virt-install. I'm fairly certain my xm
> problems lie in the config file, but I'm not finding a lot
> information out there. I've made some progress though by changing the
> kernel line and adding a ramdisk line.
>
> --Susan
>
>
> On Apr 10, 2007, at 12:41 PM, clockwork at sigsys.org wrote:
>
> > You might want to look into using virt-install, its a lot cleaner
> > than using xm directly. Here are some notes to point you in the
> > right direction:
> >
> > http://fedoraproject.org/wiki/FedoraXenQuickstartFC6#head-
> > f266d304d6d690475bf4ca21e643679700a86c08
> >
> >
> > On 4/10/07, Susan Baur < susan at cdl.edu> wrote:I've just installed
> > rhel 5 on a test box wit the virtualization
> > kernel. I'd like to start exploring the virtualization that's part of
> > rhel 5 but when I try to create a guest operating system I receive
> > the following error.
> >
> > # xm create wg1 -c
> > Using config file "/etc/xen/wg1".
> > Error: destroyDevice() takes exactly 3 arguments (2 given)
> >
> > here are the non-comment lines from my wg1 config file
> > kernel = "/boot/vmlinuz-2.6.18-8.1.1.el5xen"
> > memory = 64
> > name = "WebGUI_1"
> > vif = [ '' ]
> > disk = [ 'phy:hda1,hda1,w' ]
> > root = "/dev/hda1 ro"
> > extra = "4"
> >
> > If I run it as a dryrun, i get the following
> > # xm create wg1  -n
> > Using config file "/etc/xen/wg1".
> > (vm
> >      (name WebGUI_1)
> >      (memory 64)
> >      (vcpus 1)
> >      (image
> >          (linux
> >              (kernel /boot/vmlinuz-2.6.18-8.1.1.el5xen)
> >              (root '/dev/hda1 ro')
> >              (args 4)
> >          )
> >      )
> >      (device (vbd (uname phy:hda1) (dev hda1) (mode w)))
> >      (device (vif))
> > )
> >
> > Any ideas on where to start? This is my first foray into Xen, so any
> > help would be appreciated
> >
> > --Susan
> >
> >
> > --
> > redhat-sysadmin-list mailing list
> > redhat-sysadmin-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
> >
> > --
> > redhat-sysadmin-list mailing list
> > redhat-sysadmin-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20070410/112c81a9/attachment.htm>


More information about the redhat-sysadmin-list mailing list