taoj2@cs.rpi.edu
2007-Mar-05 20:16 UTC
[Fedora-xen] Problem about creating virtual machine in FC6
Hi, I installed FC6 and I was trying to create a new virtual machine with the virtual machine manager. I selected to use FC6 again as the guesting OS of the new virtual machine. Everytime after I finishing install of the guest OS, It gave me a prompt to reboot the guest system. But After I click the "reboot" button, the vitual machine gone. It''s weird. I think the reboot shouldn''t make the guest OS crash. I use the /var/lib/xen/images/box1 as the storage space of the guest OS. I found that the file box1 is still there. So I was trying to use the "restore saved machine" of virtual machine manager to reload it, However it said that "Error restoring domain ''/var/lib/xen/images/box1''. Is the domain already running?" SO I use the "xm list" to show all domains, only domain0 is there. Anybody knows how to fix the above problem? Why did the newly created virtual machine disappeared whenever I rebooted it? How to make it won''t disapper? Or how to load it into system again? Regards, Angel
Sadique Puthen
2007-Mar-09 07:11 UTC
Re: [Fedora-xen] Problem about creating virtual machine in FC6
taoj2@cs.rpi.edu wrote:> Hi, > > I installed FC6 and I was trying to create a new virtual machine with the > virtual machine manager. I selected to use FC6 again as the guesting OS of > the new virtual machine. > > Everytime after I finishing install of the guest OS, It gave me a prompt > to reboot the guest system. But After I click the "reboot" button, the > vitual machine gone. It''s weird. I think the reboot shouldn''t make the > guest OS crash. > > I use the /var/lib/xen/images/box1 as the storage space of the guest OS. I > found that the file box1 is still there. So I was trying to use the > "restore saved machine" of virtual machine manager to reload it, However > it said that "Error restoring domain ''/var/lib/xen/images/box1''. Is the > domain already running?" >"restore saved machine" is to restore machine which is saved using Virtual Machine -> save, not to start vms which are shut down. As of now, virt-manager is only capable of managing active/running vms. Managing inactive domains using virt-manager is something for future... You sould use "xm crate <config file name>" to boot a machine.> SO I use the "xm list" to show all domains, only domain0 is there. > > Anybody knows how to fix the above problem? Why did the newly created > virtual machine disappeared whenever I rebooted it? How to make it won''t > disapper? Or how to load it into system again? > > Regards, > Angel > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > >
John Summerfield
2007-Mar-09 10:55 UTC
Re: [Fedora-xen] Problem about creating virtual machine in FC6
Sadique Puthen wrote:> taoj2@cs.rpi.edu wrote: >> Hi, >> >> I installed FC6 and I was trying to create a new virtual machine with the >> virtual machine manager. I selected to use FC6 again as the guesting >> OS of >> the new virtual machine. >> >> Everytime after I finishing install of the guest OS, It gave me a prompt >> to reboot the guest system. But After I click the "reboot" button, the >> vitual machine gone. It''s weird. I think the reboot shouldn''t make the >> guest OS crash. >> >> I use the /var/lib/xen/images/box1 as the storage space of the guest >> OS. I >> found that the file box1 is still there. So I was trying to use the >> "restore saved machine" of virtual machine manager to reload it, However >> it said that "Error restoring domain ''/var/lib/xen/images/box1''. Is the >> domain already running?" >> > > "restore saved machine" is to restore machine which is saved using > Virtual Machine -> save, not to start vms which are shut down. > As of now, virt-manager is only capable of managing active/running vms. > Managing inactive domains using virt-manager is something for future... > You sould use "xm crate <config file name>" to boot a machine.s=crate=create>> SO I use the "xm list" to show all domains, only domain0 is there.Read the documentation, the explanation''s there. -- Cheers John who will be very cross if anyone replies to him off-list. -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu Please do not reply off-list
Daniel P. Berrange
2007-Mar-09 13:52 UTC
Re: [Fedora-xen] Problem about creating virtual machine in FC6
On Fri, Mar 09, 2007 at 12:41:05PM +0530, Sadique Puthen wrote:> taoj2@cs.rpi.edu wrote: > >Hi, > > > >I installed FC6 and I was trying to create a new virtual machine with the > >virtual machine manager. I selected to use FC6 again as the guesting OS of > >the new virtual machine. > > > >Everytime after I finishing install of the guest OS, It gave me a prompt > >to reboot the guest system. But After I click the "reboot" button, the > >vitual machine gone. It''s weird. I think the reboot shouldn''t make the > >guest OS crash. > > > >I use the /var/lib/xen/images/box1 as the storage space of the guest OS. I > >found that the file box1 is still there. So I was trying to use the > >"restore saved machine" of virtual machine manager to reload it, However > >it said that "Error restoring domain ''/var/lib/xen/images/box1''. Is the > >domain already running?" > > > > "restore saved machine" is to restore machine which is saved using > Virtual Machine -> save, not to start vms which are shut down. > As of now, virt-manager is only capable of managing active/running vms. > Managing inactive domains using virt-manager is something for future... > You sould use "xm crate <config file name>" to boot a machine.libvirt in FC6 does now have support for starting & listing inactive domains. You can list them with virsh list --all or virsh list --inactive Start them with virsh start <name|uuid> Delete an inactive config with virsh undefine <name|uuid> And finally create a new inactive domain from an XML description virsh define <xml file> Once its had more tsting I''ll push out an update virt-manager which can managed them too - this is already in F7 rawhide. Dan. -- |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|