# Migration Proxmox -\> Harvester

**URL:** <https://forums.suse.com/t/migration-proxmox-harvester/35942>\
**Category:** SUSE Virtualization\
**Created:** [October 22, 2021, 12:42pm UTC](https://forums.suse.com/t/migration-proxmox-harvester/35942 "2021-10-22T12:42:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vobo70](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vobo70/32/7138_2.png) [@vobo70](https://forums.suse.com/u/vobo70)\
**Post date:** [October 22, 2021, 12:42pm UTC](https://forums.suse.com/t/migration-proxmox-harvester/35942/1 "2021-10-22T12:42:25Z")

</div>

Hi,  
Is there any way to migrate VM from Proxmox to Harvester?  
(I would like to try that not to loose OS licenses)  
regards,  
Maciek

---

<div class="post-metadata">

**Author:** ![vobo70](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vobo70/32/7138_2.png) [@vobo70](https://forums.suse.com/u/vobo70)\
**Post date:** [December 5, 2021, 8:12am UTC](https://forums.suse.com/t/migration-proxmox-harvester/35942/2 "2021-12-05T08:12:03Z")

</div>

Hi,  
No one have clue how to do it?  
regards,  
Maciek

---

<div class="post-metadata">

**Author:** ![rizky.md](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/rizky.md/32/9035_2.png) [@rizky.md](https://forums.suse.com/u/rizky.md)\
**Post date:** [May 25, 2022, 12:52am UTC](https://forums.suse.com/t/migration-proxmox-harvester/35942/4 "2022-05-25T00:52:23Z")

</div>

Hi,  
Please try convert from inside the system to qcow2.

Boot system using live linux distro ( i use kubuntu)

# provide local ip address (networking)

_# apt install qemu-utils screen_

Create image from existing disk.  
Check the correct disk / image source ( in my case it’s /dev/sda )  
_# fdisk -l_  
Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors  
Disk model: Virtual disk  
Units: sectors of 1 \* 512 = 512 bytes  
Sector size (logical/physical): 512 bytes / 512 bytes  
I/O size (minimum/optimal): 512 bytes / 512 bytes  
Disklabel type: dos  
Disk identifier: 0x23e4b144

Device Boot Start End Sectors Size Id Type  
/dev/sda1 \* 2048 87889919 87887872 41.9G 83 Linux  
/dev/sda2 87891966 104855551 16963586 8.1G 5 Extended  
/dev/sda5 87891968 104855551 16963584 8.1G 82 Linux swap / Solaris

Disk /dev/loop0: 3.06 GiB, 3289141248 bytes, 6424104 sectors  
Units: sectors of 1 \* 512 = 512 bytes  
Sector size (logical/physical): 512 bytes / 512 bytes  
I/O size (minimum/optimal): 512 bytes / 512 bytes

Mount SMB server for temporary image transit  
_# mkdir /mnt/transit_  
_# mount.cifs -w //$your\_smb\_server/shares/ /mnt/transit -o user=$USERNAME,pass=$PASSWORD,file\_mode=0777,dir\_mode=0777,nobrl_  
_# screen_  
_# qemu-img convert -p -O qcow2 /dev/sda /mnt/transit/$image\_name.qcow2_

After the conversion finished, we can upload $image\_name.qcow2 to Harvester image, if the size is larger than 5GB use URL (provide web server) instead of File.

Hope this help
