<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I never tried this procedure with a 2008 R2 machine, only 2003 R2.
    So there is perhaps some gotchas here ? The proxmox wiki describes
    only the procedure for 2003....<br>
    <br>
    You should perhaps try the procedure that has been tested by Ernst
    Holger and Martin Maurer, that is use the vmware backup tool to
    backup to a shared storage, then use vzrestore, to restore the VM on
    Proxmox ? But I don't know if you have the full set of ESX tools.
    With ESXi, you don't have a backup option...<br>
    <br>
    Alain<br>
    <br>
    Le 04/07/2011 14:06, Muhammad Yousuf Khan a écrit :
    <blockquote
cite="mid:CAGWVfM=4gEh6iaLTjC8AYmFVejPAsvRG_VMK2wP8BZogShofBA@mail.gmail.com"
      type="cite">i tried both commands
      <div><br>
      </div>
      <div><span class="Apple-style-span" style="border-collapse:
          collapse; font-family: 'Liberation Mono','DejaVu Sans
          Mono','Courier New',monospace; font-size: 14px;">qemu-img
          convert vnware-raw.vmdk -O qcow2 proxmox.qcow2</span></div>
      <div><font class="Apple-style-span" face="'Liberation Mono',
          'DejaVu Sans Mono', 'Courier New', monospace"><span
            class="Apple-style-span" style="border-collapse: collapse;
            font-size: 14px;">qemu-img convert vnware-raw.vmdk -O raw
            proxmox.raw</span></font></div>
      <div><font class="Apple-style-span" face="'Liberation Mono',
          'DejaVu Sans Mono', 'Courier New', monospace"><span
            class="Apple-style-span" style="border-collapse: collapse;
            font-size: 14px;"><br>
          </span></font></div>
      <div><font class="Apple-style-span" face="'Liberation Mono',
          'DejaVu Sans Mono', 'Courier New', monospace"><span
            class="Apple-style-span" style="border-collapse: collapse;
            font-size: 14px;">output from the above command didnt help.</span></font></div>
      <div><font class="Apple-style-span" face="'Liberation Mono',
          'DejaVu Sans Mono', 'Courier New', monospace"><span
            class="Apple-style-span" style="border-collapse: collapse;
            font-size: 14px;"><br>
          </span></font></div>
      <div><font class="Apple-style-span" face="'Liberation Mono',
          'DejaVu Sans Mono', 'Courier New', monospace"><span
            class="Apple-style-span" style="border-collapse: collapse;
            font-size: 14px;">i already created VM with a raw file and
            tried in qcow2 VM also. hard disk shifting didn't work. i
            have </span></font><font class="Apple-style-span"
          face="sans-serif"><span class="Apple-style-span"
            style="border-collapse: collapse; line-height: 19px;">already
            installed mergeide.reg. although this is not my first time i
            can easily move VMs with clonezillah . i have migrated many
            Windows 2003 and XP VMs to proxmox with just clonzilla ISO.
            i have followed the same procedure as showed for physical
            machine with clonezilla in documentation and it worked for
            me for XP and 2003 but this is the first time with windows
            2008 that making me  irritate by showing this black screen.</span></font></div>
      <div><span class="Apple-style-span" style="border-collapse:
          collapse; line-height: 19px;"><font class="Apple-style-span"
            face="sans-serif"><br>
          </font></span></div>
      <div><span class="Apple-style-span" style="border-collapse:
          collapse; line-height: 19px;"><font class="Apple-style-span"
            face="sans-serif">Thank you,</font></span></div>
      <div><br>
      </div>
      <div><span class="Apple-style-span" style="font-family:
          sans-serif; font-size: 13px; line-height: 19px;"></span>On
        Mon, Jul 4, 2011 at 3:16 PM, Alain Péan <span dir="ltr"><<a
            moz-do-not-send="true"
            href="mailto:alain.pean@lpp.polytechnique.fr">alain.pean@lpp.polytechnique.fr</a>></span>
        wrote:</div>
      <div>
        <div>
          <div>
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                <div bgcolor="#ffffff" text="#000000"> Hi Muhammad,<br>
                  <br>
                  Why did you convert your image to qcow2 ? I always use
                  raw image file. I don't know if the problem lies here.
                  Obviously, If you created first a VM with qcow2 file
                  format, you must replace it also by a qcow2 file, but
                  I would create a VM with raw files...<br>
                  <br>
                  If the disk is IDE (and it must), you have to apply
                  first the ide reg patch (mergeide), because your HD
                  was certainly SCSI within vmware.... See :<br>
                  <a moz-do-not-send="true"
                    href="http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE"
                    target="_blank">http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE</a><br>
                  (<span>Windows systems specific P2V issues</span>)<br>
                  <br>
                  Alain<br>
                  <br>
                  Le 04/07/2011 11:48, Muhammad Yousuf Khan a écrit :
                  <div>
                    <div class="h5">
                      <blockquote type="cite">ok I followed your
                        suggession, still same black screen. no luck. i
                        followed the below steps.
                        <div><br>
                        </div>
                        <div>1) <span style="font-family: 'Liberation
                            Mono','DejaVu Sans Mono','Courier
                            New',monospace; font-size: 14px;">vmware-vdiskmanager
                            -r vmware-hd.vmdk -t 0 vmware-raw.vmdk</span></div>
                        <div><span style="font-family: 'Liberation
                            Mono','DejaVu Sans Mono','Courier
                            New',monospace; font-size: 14px;">2) copied
                            "vmware-raw.vmdk" to proxmox base in temp
                            folder</span></div>
                        <div><font face="'Liberation Mono', 'DejaVu Sans
                            Mono', 'Courier New', monospace"><span
                              style="font-size: 14px;">3)</span></font><span
                            style="font-family: 'Liberation
                            Mono','DejaVu Sans Mono','Courier
                            New',monospace; font-size: 14px;">qemu-img
                            convert vnware-raw.vmdk -O qcow2
                            proxmox.qcow2</span></div>
                        <div><font face="'Liberation Mono', 'DejaVu Sans
                            Mono', 'Courier New', monospace"><span
                              style="font-size: 14px;">4) finally i
                              attached the proxmox.qcow2 to a VM and hit
                              start but with same black screen</span></font></div>
                        <div><font face="'Liberation Mono', 'DejaVu Sans
                            Mono', 'Courier New', monospace"><span
                              style="font-size: 14px;"><br>
                            </span></font></div>
                        <div><font face="'Liberation Mono', 'DejaVu Sans
                            Mono', 'Courier New', monospace"><span
                              style="font-size: 14px;"><br>
                            </span></font></div>
                        <div><font face="'Liberation Mono', 'DejaVu Sans
                            Mono', 'Courier New', monospace"><span
                              style="font-size: 14px;">Thank you,</span></font></div>
                        <div><font face="'Liberation Mono', 'DejaVu Sans
                            Mono', 'Courier New', monospace"><span
                              style="font-size: 14px;"><br>
                            </span></font></div>
                        <div><font face="'Liberation Mono', 'DejaVu Sans
                            Mono', 'Courier New', monospace"><span
                              style="font-size: 14px;"><br>
                            </span></font>
                          <div><br>
                            <div class="gmail_quote">On Fri, Jul 1, 2011
                              at 5:06 PM, Alain Péan <span dir="ltr"><<a
                                  moz-do-not-send="true"
                                  href="mailto:alain.pean@lpp.polytechnique.fr"
                                  target="_blank">alain.pean@lpp.polytechnique.fr</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin: 0pt 0pt 0pt 0.8ex;
                                border-left: 1px solid rgb(204, 204,
                                204); padding-left: 1ex;">
                                <div bgcolor="#ffffff" text="#000000">
                                  Hi Muhammad,<br>
                                  <br>
                                  See a recent thread on this list
                                  'Vmware to Proxmox migration" and
                                  especially the answer from Ernst
                                  Holger. He meant to use the backup
                                  program from Vmware, to store the
                                  backup to a network share (NFS...),
                                  then use the backup program from
                                  proxmox, and the function 'restore',
                                  to restore the VM on Proxmox. Martin
                                  Maurer tested it and agreed it was the
                                  easiest solution.<br>
                                  <br>
                                  For the growable image file, it seems
                                  it is possible to convert it with
                                  vmware vdisk-manager. See for example
                                  this thread :<br>
                                  <a moz-do-not-send="true"
                                    href="http://communities.vmware.com/thread/155051"
                                    target="_blank">http://communities.vmware.com/thread/155051</a><br>
                                  <br>
                                  Alain<br>
                                  <br>
                                  Le 01/07/2011 13:42, Muhammad Yousuf
                                  Khan a écrit :
                                  <div>
                                    <div>
                                      <blockquote type="cite">ok, thats
                                        sounds interesting and new. can
                                        you please tell me what do u
                                        mean by exporting with VMWARE
                                        stuff ? unfortunately i am using
                                        VMware harddisk which increase
                                        the size when data inserted. :(.
                                        and i think we can not convert
                                        that type of harddisk with Qemu
                                        converter. make me right
                                        if mis-concept.
                                        <div> <br>
                                        </div>
                                        <div>Thank you,<br>
                                          <div><br>
                                            <div><br>
                                            </div>
                                            <div><br>
                                              <br>
                                              <div class="gmail_quote">On
                                                Fri, Jul 1, 2011 at 4:26
                                                PM, Laurent CARON <span
                                                  dir="ltr"><<a
                                                    moz-do-not-send="true"
href="mailto:lcaron@unix-scripts.info" target="_blank">lcaron@unix-scripts.info</a>></span>
                                                wrote:<br>
                                                <blockquote
                                                  class="gmail_quote"
                                                  style="margin: 0pt 0pt
                                                  0pt 0.8ex;
                                                  border-left: 1px solid
                                                  rgb(204, 204, 204);
                                                  padding-left: 1ex;">
                                                  <div>On 01/07/2011
                                                    13:15, Muhammad
                                                    Yousuf Khan wrote:<br>
                                                    > here is the
                                                    status.<br>
                                                    ><br>
                                                    > VMware to KVM
                                                    (migration)= not
                                                    working (with 30 GB
                                                    HD and 2 GB RAM)<br>
                                                    ><br>
                                                    > Fresh
                                                    installation =
                                                    worked (with 20gb HD
                                                    and 1GB RAM with
                                                    same DVD<br>
                                                    > image deployed
                                                    on VMWARE)<br>
                                                    ><br>
                                                    > now problem is
                                                    i am stuck in
                                                    migration from
                                                    VMware to KVM
                                                    haven't tried<br>
                                                    > migration from
                                                    real machine<br>
                                                    <br>
                                                    <br>
                                                  </div>
                                                  Hi,<br>
                                                  <br>
                                                  I would suggest the
                                                  following:<br>
                                                  <br>
                                                  - Export the image of
                                                  the VMWare VM using
                                                  VMWare stuff<br>
                                                  - Convert it with
                                                  qemu-img<br>
                                                         - qemu-img
                                                  convert -O raw
                                                  input_disk output_disk<br>
                                                  - d the output_disk
                                                  file onto the device<br>
                                                  <br>
                                                  I had to do this on
                                                  some VMs which were
                                                  exhibiting the same
                                                  black screen<br>
                                                  you're getting.<br>
                                                  <br>
                                                  Hope this helps.<br>
                                                  <div>
                                                    <div>_______________________________________________<br>
                                                      pve-user mailing
                                                      list<br>
                                                      <a
                                                        moz-do-not-send="true"
href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a><br>
                                                      <a
                                                        moz-do-not-send="true"
href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user"
                                                        target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                              </div>
                                              <br>
                                            </div>
                                          </div>
                                        </div>
                                        <pre><fieldset></fieldset>
_______________________________________________
pve-user mailing list
<a moz-do-not-send="true" href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a>
<a moz-do-not-send="true" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>
</pre>
                                      </blockquote>
                                      <br>
                                      <br>
                                    </div>
                                  </div>
                                  <div>
                                    <pre cols="72">-- 
==========================================================
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==========================================================</pre>
                                  </div>
                                </div>
                                <br>
_______________________________________________<br>
                                pve-user mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:pve-user@pve.proxmox.com"
                                  target="_blank">pve-user@pve.proxmox.com</a><br>
                                <a moz-do-not-send="true"
                                  href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user"
                                  target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
                                <br>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </blockquote>
                      <br>
                      <br>
                      <pre cols="72">-- 
==========================================================
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==========================================================</pre>
                    </div>
                  </div>
                </div>
                <br>
                _______________________________________________<br>
                pve-user mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
                <a moz-do-not-send="true"
                  href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user"
                  target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
                <br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
==========================================================
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==========================================================</pre>
  </body>
</html>