Use of .qcow2 as "image"

EpicFrench

New Member
Jun 12, 2013
11
0
1
Hello !

Thanks in advance for your future help,

Now here's come the "problem"

I'm actually on an company which used to use VMWare ESXi 5.1 and now for some reasons want to use ProxMox VE 3.0.

So what I actually did was to copy and convert some files I needed to restore the VM which I did. (Thanks to http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE)

Now that I have my .qcow2 file I don't know how to make it understand " Use this .qcow2 extension to boot ".

Thanks,

Best regards.
 
I would create a VM from proxmox web interface, hd type qcow2, etc. then replace the generated empty file with the one you want to use for that vm.
i.e. for VM 105 something like that:
# cp myhd.qcow2 vm-105-disk-2.qcow2 /var/lib/vz/images/105/vm-105-disk-1.qcow2
 
Thanks a lot, apparently same error occured, so I think it's my copy from VMWare VM which actually fail. Which file should i convert, the .vmdk one or the flat.vmdk ?

Thanks,

Best regards.
 
Thanks a lot, apparently same error occured, ...

Hi,
what do you mean with "same error occured"??
If you start the VM, do you see anything?
Do you get any error messages?
What is the output if you start the VM from the console?
Code:
qm start VMID
Please post also the VM-config
Code:
cat /etc/pve/qemu-server/VMID.conf
Which system is inside the VM (Linux, Windows, Version?) and which kind of disk was defined in ESX - I assume scsi?

Udo
 
Hi, thanks a lot for your answer !

I'll give you all of theses informations tomorrow @ work.

Thanks.

Best regards
 
Hi,
what do you mean with "same error occured"??
If you start the VM, do you see anything?
Do you get any error messages?
What is the output if you start the VM from the console?
Code:
qm start VMID
Please post also the VM-config
Code:
cat /etc/pve/qemu-server/VMID.conf
Which system is inside the VM (Linux, Windows, Version?) and which kind of disk was defined in ESX - I assume scsi?

Udo

Actually I would, use a Windows Server 2008 R2 inside, and yes, it's a SCSCI one.

Here's the VMID.conf

"
boot : c
bootdisk : scsi0
cores : 2
ide2: none, media=cdrom
memory: 2048
name: SRV-WEB
net0: e1000=9E:9E:30:66:C5:17, bridge=vmbr0
ostype: win7/2008r2
scsci0 : local:102/vm-102-disk-1.qcow2, format=qcow2, size 8G
sockets: 1

Thanks a lot,

Best regards
P.S : Here is my error message
Capture1.JPG
 
Last edited:
Hi,
it's looks that somethings goes wrong during the convertion.

But your *-flat.vmdk is one huge big file, right?
In this case it's allready an raw-image of an hdd. Simply copy the file to the pve-host, named /var/lib/vz/images/102/vm-102-disk-1.raw and select this as disk0 (start with ide. because the right scsi-driver is normaly not installed in windows).
With file you should get an answer like this (in this case it's an non bootable hdd)
Code:
file /var/lib/vz/images/102/vm-102-disk-1.raw
/var/lib/vz/images/102/vm-102-disk-1.raw: x86 boot sector; partition 1: ID=0x83, starthead 0, startsector 2048, 207667 sectors, extended partition table (last)\011, code offset 0x0
So you VM.conf should look like
Code:
boot : c
bootdisk : ide0
cores : 2
ide2: none, media=cdrom
memory: 2048
name: SRV-WEB
net0: e1000=9E:9E:30:66:C5:17, bridge=vmbr0
ostype: win7/2008r2
ide0 : local:102/vm-102-disk-1.raw, size 8G
sockets: 1
Udo
 
Hi,

Thanks for your reply i'll give it a try ASAP
But as it looks i don't have any .raw extension, strange.

Thanks,

Best regards
 
Ok seems, we can access the Start Windows or use back up system like rescue tools (something like that I have french version ).
And now we have Blue screen with 0x0000007B and can't do anything.

Thanks.

Best regards
 
If the vmdk is created on a VmWare 5.x it might be worth a try first to convert this image to a VmWare 4.x vmdk before converting to qcow2.
 
Seems we get through this problem, actually we have the BSOD 0x000007B issue
 
Last edited:
BUMP, Does anyone have any idea about this BSOD 0x00007B Error ?

I tried so many things, I'm running out of ideas.

Thanks,

Best Regards
 
hi!

the wiki article you cited on the first post explains how to get around those errors... look for "inaccessible boot device" just at the top...
in my experience, all the times it was that. Check also the boot.ini is loading the right partition

Marco
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!