I have a Windows 2008 VMWare 2.0 VM built using IDE with a flat file. I ran the following command to convert it to an image file: qemu-img convert 2008server-flat.vmdk 2008server.img When I try and boot off the img file in xen I get a missing operating system. I have not tried to boot off the 2008 cd to see if I could repair it, but that''s my next step. I''ve using this process to convert win2k and win2k3 machines, but this is my first attempt at 2008. Anyone tried this and know if it works? Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Page 161 of Running Xen mentions using qemu-img command to do this (great book). I am planning to try it as our bugzilla db runs on VMWare now and I need it as a domU. I don''t really have an ETA so perhaps you can try it and let us know. I think all I did was yum install qemu. - Brian On Feb 18, 2009, at 1:13 PM, James Pifer wrote:> I have a Windows 2008 VMWare 2.0 VM built using IDE with a flat > file. I > ran the following command to convert it to an image file: > qemu-img convert 2008server-flat.vmdk 2008server.img > > When I try and boot off the img file in xen I get a missing operating > system. I have not tried to boot off the 2008 cd to see if I could > repair it, but that''s my next step. I''ve using this process to convert > win2k and win2k3 machines, but this is my first attempt at 2008. > > Anyone tried this and know if it works? > > Thanks, > James > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2009-02-18 at 13:33 -0800, Brian Krusic wrote:> Hi, > > Page 161 of Running Xen mentions using qemu-img command to do this > (great book).Have the book, yes, great book.> > I am planning to try it as our bugzilla db runs on VMWare now and I > need it as a domU. > > I don''t really have an ETA so perhaps you can try it and let us know.I think you misunderstood. I''ve already run that and tried to boot the disk img in xen. I get a missing operating system. I didn''t use the -f vmdk and -O raw. I could try that next, but I''ve never specified those parameters before. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ahh, I see. Well, I''ll try it and give some feedback. - Brian On Feb 18, 2009, at 1:46 PM, James Pifer wrote:> On Wed, 2009-02-18 at 13:33 -0800, Brian Krusic wrote: >> Hi, >> >> Page 161 of Running Xen mentions using qemu-img command to do this >> (great book). > > Have the book, yes, great book. > >> >> I am planning to try it as our bugzilla db runs on VMWare now and I >> need it as a domU. >> >> I don''t really have an ETA so perhaps you can try it and let us know. > > I think you misunderstood. I''ve already run that and tried to boot the > disk img in xen. I get a missing operating system. > > I didn''t use the -f vmdk and -O raw. I could try that next, but I''ve > never specified those parameters before. > > James > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2009-02-18 at 14:00 -0800, Brian Krusic wrote:> Ahh, I see. > > Well, I''ll try it and give some feedback. > > - BrianI tried it again using those parameters and got the same thing. I''m pretty sure it defaults to those parameters anyway. So next I booted off the win2k8 cd thinking maybe I could repair the installation. Well, it doesn''t see any local drives! That could be a problem! The VMWare machine was built using IDE, not scsi. The guy that built it used VMWare Server 2.0. Wonder if that has anything to do with it. Anyone know why win2k8 install does not see a disk? Could explain why the I get the Missing Operating System error when I ty to boot the domU. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, 2009-02-19 at 14:46 -0500, James Pifer wrote:> On Wed, 2009-02-18 at 14:00 -0800, Brian Krusic wrote: > > Ahh, I see. > > > > Well, I''ll try it and give some feedback. > > > > - BrianI got this working. I''m not sure what my original problem was, but I have a hunch. I think when I originally ftp''ed the vmdk I forgot to make sure I ftp''ed it in binary mode. That''s my hunch, but here''s what I did to get it working. My coworker built the VM using VMWare Server 2.0. My server runs VMWare Server 1.0. 1) ftp''ed entire VMWare VM to my server running VMWare 1.0 (Windows) 2) Ran VMWare converter and converted it to a 1.0 VM with a growable disk 3) Ran vmware-vdiskmanager and created a flat disk file (think I could have done this as part of step 2) 4) ftp''ed flat disk file in binary mode to xen server 5) ran qemu-img to convert it do a growable qemu img file 6) ran cp --sparse=always of the disk file so it''s not using all the space 7) boot with xen That''s it. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for the feedback, very helpful. I''ll let you know how mine goes. - Brian On Feb 19, 2009, at 5:50 PM, James Pifer wrote:> On Thu, 2009-02-19 at 14:46 -0500, James Pifer wrote: >> On Wed, 2009-02-18 at 14:00 -0800, Brian Krusic wrote: >>> Ahh, I see. >>> >>> Well, I''ll try it and give some feedback. >>> >>> - Brian > > I got this working. I''m not sure what my original problem was, but I > have a hunch. I think when I originally ftp''ed the vmdk I forgot to > make > sure I ftp''ed it in binary mode. That''s my hunch, but here''s what I > did > to get it working. > > My coworker built the VM using VMWare Server 2.0. My server runs > VMWare > Server 1.0. > > 1) ftp''ed entire VMWare VM to my server running VMWare 1.0 (Windows) > 2) Ran VMWare converter and converted it to a 1.0 VM with a growable > disk > 3) Ran vmware-vdiskmanager and created a flat disk file (think I could > have done this as part of step 2) > 4) ftp''ed flat disk file in binary mode to xen server > 5) ran qemu-img to convert it do a growable qemu img file > 6) ran cp --sparse=always of the disk file so it''s not using all the > space > 7) boot with xen > > That''s it. > > James > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users