[Qemu-discuss] How to convert "splitted" vmdk disc to qcow2 ?

2017-08-07 Thread nous

I have tried qemu-img but it converts only the 1rst vmdk vmware disk...
and I have 20 other ones...

And did someone someday success in doing that ?

Thanks
PC



Re: [Qemu-discuss] How to convert "splitted" vmdk disc to qcow2 ?

2017-08-07 Thread Fam Zheng
On Mon, 08/07 09:37, nous wrote:
> I have tried qemu-img but it converts only the 1rst vmdk vmware disk...
> and I have 20 other ones...
> 
> And did someone someday success in doing that ?

What are your vmdk files like?

The splitted VMDK images have a description file, you need to pass that to
qemu-img, not the individual extent files.

Fam



Re: [Qemu-discuss] How to convert "splitted" vmdk disc to qcow2 ?

2017-08-07 Thread Pierre Couderc

On 08/07/2017 09:50 AM, Fam Zheng wrote:

On Mon, 08/07 09:37, nous wrote:

I have tried qemu-img but it converts only the 1rst vmdk vmware disk...
and I have 20 other ones...

And did someone someday success in doing that ?

What are your vmdk files like?

The splitted VMDK images have a description file, you need to pass that to
qemu-img, not the individual extent files.


Thnk you very much.
 I have these files :
-rwxr-x--- 1 nous nous 1.3K Aug  5 19:40 TOLL-XPVM.vmdk
-rw-r- 1 nous nous0 Aug  5 19:40 TOLL-XPVM.vmsd
-rwxr-x--- 1 nous nous 3.6K Aug  5 19:40 TOLL-XPVM.vmx
-rwxr-x--- 1 nous nous 2.9K Aug  5 19:40 TOLL-XPVM.vmxf

It may be one of thoses ?
 






Re: [Qemu-discuss] How to convert "splitted" vmdk disc to qcow2 ?

2017-08-07 Thread Fam Zheng
On Mon, 08/07 10:10, Pierre Couderc wrote:
> On 08/07/2017 09:50 AM, Fam Zheng wrote:
> > On Mon, 08/07 09:37, nous wrote:
> > > I have tried qemu-img but it converts only the 1rst vmdk vmware disk...
> > > and I have 20 other ones...
> > > 
> > > And did someone someday success in doing that ?
> > What are your vmdk files like?
> > 
> > The splitted VMDK images have a description file, you need to pass that to
> > qemu-img, not the individual extent files.
> 
> Thnk you very much.
>  I have these files :
> -rwxr-x--- 1 nous nous 1.3K Aug  5 19:40 TOLL-XPVM.vmdk
> -rw-r- 1 nous nous0 Aug  5 19:40 TOLL-XPVM.vmsd
> -rwxr-x--- 1 nous nous 3.6K Aug  5 19:40 TOLL-XPVM.vmx
> -rwxr-x--- 1 nous nous 2.9K Aug  5 19:40 TOLL-XPVM.vmxf
> 
> It may be one of thoses ?

Probably the TOLL-XPVM.vmdk. The content should look like this example:

---8<---

# Disk DescriptorFile
version=1
CID=9c7d77b0
parentCID=
createType="twoGbMaxExtentSparse"

# Extent description
RW 4194304 SPARSE "a-s001.vmdk"
RW 4194304 SPARSE "a-s002.vmdk"
RW 4194304 SPARSE "a-s003.vmdk"
RW 4194304 SPARSE "a-s004.vmdk"
RW 4194304 SPARSE "a-s005.vmdk"

# The Disk Data Base
#DDB

ddb.virtualHWVersion = "4"
ddb.geometry.cylinders = "20805"
ddb.geometry.heads = "16"
ddb.geometry.sectors = "63"
ddb.adapterType = "ide"

--->8---

Fam



Re: [Qemu-discuss] How to convert "splitted" vmdk disc to qcow2 ?

2017-08-07 Thread Pierre Couderc



On 07/08/2017 10:25, Fam Zheng wrote:

On Mon, 08/07 10:10, Pierre Couderc wrote:

On 08/07/2017 09:50 AM, Fam Zheng wrote:

On Mon, 08/07 09:37, nous wrote:

I have tried qemu-img but it converts only the 1rst vmdk vmware disk...
and I have 20 other ones...

And did someone someday success in doing that ?

What are your vmdk files like?

The splitted VMDK images have a description file, you need to pass that to
qemu-img, not the individual extent files.

Probably the TOLL-XPVM.vmdk.
Thank you very much, silly of me not to have tried this one. I have 
tried and it seems to work.

I have another problem now, but I think it  is better to open another topic.



[Qemu-discuss] "Error loading OS" ?

2017-08-07 Thread Pierre Couderc

After converting a vmdk disk to qcow2, I get this error trying to boot.

My command line is :

kvm -drive file=TOLL-XPVM.qcow2   -net nic,macaddr=00:0C:29:F6:8D:BE 
-net tap   -uuid 564d6522-2227-cda9-d1c7-390c71f68dbe



I have extracted  macadr and uuid  from vmware files, but this does not 
seem to be the point as it does not go very far


By goggling I see I am not alone, but I see nothing very clear...





Re: [Qemu-discuss] ESXi prebuilt image

2017-08-07 Thread Kevin Wilson
Hi,

Thanks for your reply, Jan.

Where do I get this
"VMware-VMvisor-Installer-6.5.0.update01-5969303.x86_64.iso" file ?
I googled for it, and it gave me links to sites under:
https://my.vmware.com

I had logged in to that site, and when I try to download that iso it gives me:

"You either are not entitled or do not have permissions to download
this product.
Check with your My VMware Super User, Procurement Contact or Administrator.

If you recently purchased this product through VMware Store or through
a third-party, try downloading later."

Any ideas where it is hosted so me (and others) can download it ?

Regards,
Kevin


On Sun, Aug 6, 2017 at 4:51 PM, Jan Schermer  wrote:
> You can’t redistribute that image legally, which is probably why you didn’t 
> find any.
>
> Solution:
>
> virt-install --connect=qemu:///system -n esxi --cpu=host --vcpus=2 \
> --ram 4096 --os-type=linux \
> --cdrom=/tank/images/VMware-VMvisor-Installer-6.5.0.update01-5969303.x86_64.iso
>  \
> --disk \
> path=/dev/zvol/tank/volumes/esxi,bus=ide \
> --hvm --network bridge=br-vm,model=e1000 --virt-type=kvm --arch=x86_64 \
> --graphics spice --accelerate --video qxl --channel spicevmc
>
> Jan
>
>
>
>> On 6 Aug 2017, at 15:33, Kevin Wilson  wrote:
>>
>> Hi, qemu community,
>> Is there anywhere a prebuilt ESXi image for quemu ?
>>
>> I am newbie to qemu, and in the google search I did, I got many
>> recommendations about
>> how to create such an image. I would prefer to use a prebuilt image
>> which is known to work under
>> Ubnutu.
>>
>> Regards,
>> Kevin
>>
>



Re: [Qemu-discuss] ESXi prebuilt image

2017-08-07 Thread Jan Schermer
I simply navigated there with my VMware account (no entitlements or something 
like that), not sure if you need to sign up for some kind of trial (I did 
because I was also downloading vCenter), but ESXi is free so it should let you 
download…

https://my.vmware.com/en/web/vmware/evalcenter?p=free-esxi6 



Jan

> On 7 Aug 2017, at 13:09, Kevin Wilson  wrote:
> 
> Hi,
> 
> Thanks for your reply, Jan.
> 
> Where do I get this
> "VMware-VMvisor-Installer-6.5.0.update01-5969303.x86_64.iso" file ?
> I googled for it, and it gave me links to sites under:
> https://my.vmware.com
> 
> I had logged in to that site, and when I try to download that iso it gives me:
> 
> "You either are not entitled or do not have permissions to download
> this product.
> Check with your My VMware Super User, Procurement Contact or Administrator.
> 
> If you recently purchased this product through VMware Store or through
> a third-party, try downloading later."
> 
> Any ideas where it is hosted so me (and others) can download it ?
> 
> Regards,
> Kevin
> 
> 
> On Sun, Aug 6, 2017 at 4:51 PM, Jan Schermer  wrote:
>> You can’t redistribute that image legally, which is probably why you didn’t 
>> find any.
>> 
>> Solution:
>> 
>> virt-install --connect=qemu:///system -n esxi --cpu=host --vcpus=2 \
>> --ram 4096 --os-type=linux \
>> --cdrom=/tank/images/VMware-VMvisor-Installer-6.5.0.update01-5969303.x86_64.iso
>>  \
>> --disk \
>> path=/dev/zvol/tank/volumes/esxi,bus=ide \
>> --hvm --network bridge=br-vm,model=e1000 --virt-type=kvm --arch=x86_64 \
>> --graphics spice --accelerate --video qxl --channel spicevmc
>> 
>> Jan
>> 
>> 
>> 
>>> On 6 Aug 2017, at 15:33, Kevin Wilson  wrote:
>>> 
>>> Hi, qemu community,
>>> Is there anywhere a prebuilt ESXi image for quemu ?
>>> 
>>> I am newbie to qemu, and in the google search I did, I got many
>>> recommendations about
>>> how to create such an image. I would prefer to use a prebuilt image
>>> which is known to work under
>>> Ubnutu.
>>> 
>>> Regards,
>>> Kevin
>>> 
>>