Transfer virtual machines to Proxmox

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 73

  • @sethbrown1763
    @sethbrown1763 ปีที่แล้ว +8

    +1 for brevity and accuracy, a rare combination on TH-cam!
    You've earned another subscriber.

    • @Divgitally
      @Divgitally  ปีที่แล้ว

      Thank you! I really appreciate it!

    • @joepalovick1915
      @joepalovick1915 6 หลายเดือนก่อน

      Same here. That was perfect. I just subbed too.

  • @sethbrown1763
    @sethbrown1763 ปีที่แล้ว +2

    Ok, so my sob story is that I seem to have lost a drive on my file server :(
    I'm in the process of moving stuff to other machines coz you know, lightning DOES strike twice!
    Anyhow, in the course of moving files around, I cam across an old VM that I used to generate OpenVPN keys for some clients way back at the beginning of the pandemic and had forgotten all about it.
    But the monkey brain said, "You need to put this somewhere becoz ONE DAY it's going to come back and bite you in the arse".
    Your video was EXACTLY what I needed at EXACTLY the right time and got to EXACTLY the right point without all the self aggrandisement that's way too common wit these kind of videos.
    So, thank you for the content and thank you again for your concise delivery.

    • @Divgitally
      @Divgitally  ปีที่แล้ว

      Yeah it is not worth tempting lightning!
      Thank you for your story. I really enjoy knowing I was able to be helpful with my hobbies!
      There are plenty of people i enjoy watching to learn about programs and systems, but for getting something up and running I want to know what to do. Learning about it can be done when i have it up and running to play with it.
      And thank you for teaching me about two words i had not heard much of before: brevity and aggrandisement. Always happy to learn something new!

    • @partypooper2591
      @partypooper2591 ปีที่แล้ว

      @@Divgitally Ah well, if it's stories you like, let me tell you the VM that I was recovering, contained a TurnkeyLinux OpenVPN appliance (I noticed you prefer Bitnami).
      But unexpectedly, it also contained a working installation of Odoo v11.0 and Asterisk.
      I was really over-achieving back in May 2020, for whatever reason.
      I _do_ remember that I set up a Guacamole server for remote access and an AWS system running Odoo as well.
      So, that VM must have been some kind of test run for the eventual solution.
      I was NOT able to steer the client towards a Proxmox solution sadly.
      Ah, the key in the gate, the ladies are home, finally. Now, I can get some dinner :)
      Take care, and thanks again!

    • @Divgitally
      @Divgitally  ปีที่แล้ว

      @@partypooper2591 Thank you too! I'm happy the video was helpful to you!
      To be honest, Bitnami was the first thing i learned about so it is the first thing i think about.
      I do use TurnKey but i add them as Linux containers right in Proxmox in the CT Templates section.
      I like to be able to set up something myself, but sometimes I just want to throw something up to test it.
      Odoo seemed interesting and something i think i have to try out!
      Again thank you for your story!

  • @The411
    @The411 11 หลายเดือนก่อน +1

    Thank you! Other channels have droned on and on about why they want to move to proxmox... This was accurate and straight to the point for busy admins.

    • @Divgitally
      @Divgitally  11 หลายเดือนก่อน

      I know the feeling! Sometimes, the solution is all that is needed. I'm glad you like the video, and thank you for the message!

  • @DenisBach
    @DenisBach 2 ปีที่แล้ว +4

    Very useful and straight to the point. I love it! Awesome, thnx! 😊

    • @Divgitally
      @Divgitally  2 ปีที่แล้ว +1

      Thank you for the message. I really appreciate it!

  • @skynight263
    @skynight263 5 หลายเดือนก่อน +1

    Thanks bro that helps me alot. Great stuff here. You have earned a subscriber

    • @Divgitally
      @Divgitally  5 หลายเดือนก่อน

      Happy I could help! nd hopefully, I get time to make more videos so I can keep you as a subscriber!

  • @erenyeager4223
    @erenyeager4223 2 ปีที่แล้ว +2

    This is great, may the algorithm be ever in your favor

    • @Divgitally
      @Divgitally  2 ปีที่แล้ว

      Haha! Thank you!

  • @zzsql
    @zzsql 10 หลายเดือนก่อน +1

    For a particular OVA I get this error. I (of course) googled it, no useful responses which work. (yet)
    warning: unable to parse the VM name in this OVF manifest, generating a default value
    invalid host ressource /disk/vmdisk2, skipping

    • @Divgitally
      @Divgitally  10 หลายเดือนก่อน

      Would be interesting to see what was inside the OVF file. You should be able to open it with a text editor or at least visual studio code or similar. Might be something in there that Proxmox disagrees with.

    • @zzsql
      @zzsql 10 หลายเดือนก่อน +1

      @@Divgitally Thanks for responding to my message. I examined the XML/OVF file but nothing stood out as inappropriate. Some OVFs import perfectly, no luck with OVAs nor vmdks though.

    • @Divgitally
      @Divgitally  10 หลายเดือนก่อน

      @@zzsql of course! I might be slow but i do try to answer! Did you download the VM from a place or is it one you set up yourself and wanted to move?

  • @alphaomega5017
    @alphaomega5017 7 หลายเดือนก่อน +1

    I have Windows 11 installed on a Physical drive where in i would like to convert to VHDk file and then import to Proxmox, so the will i be able to import the vhdk file as per the guide you have mentioned

    • @Divgitally
      @Divgitally  7 หลายเดือนก่อน

      I have not tried converting everything, but as far as I know, you should be able to convert most things!

  • @navyglass1242
    @navyglass1242 2 หลายเดือนก่อน

    How do i do this if im running proxmox on a server, not a computer or laptop. So i just access proxmox via the online interface?

  • @thomastexwilson7323
    @thomastexwilson7323 5 หลายเดือนก่อน +1

    How about a VM from KVM? There is an .xml file and the data file. Can I recreate the VM solely from the disk image (qcow2)?

    • @Divgitally
      @Divgitally  5 หลายเดือนก่อน +1

      Hello! That is no problem! You will just have to "create" the VM first. By that i mean you do everything you need to create a VM in Proxmox, but you dont include a harddrive for that VM. Then you convert and import the disk image into that VM.

    • @thomastexwilson7323
      @thomastexwilson7323 5 หลายเดือนก่อน +1

      @@Divgitally Excellent! Thanks! I just need to hear that if the .xml was required and it is not from what you are telling me... EXCELLENT!!!!!

    • @Divgitally
      @Divgitally  5 หลายเดือนก่อน

      @@thomastexwilson7323 That is correct. You just need the "hard drive".

  • @issamzgybi9761
    @issamzgybi9761 ปีที่แล้ว +1

    My man :)

    • @Divgitally
      @Divgitally  ปีที่แล้ว

      Thanks man! I appreciate the message!

  • @loickopperngounou6090
    @loickopperngounou6090 ปีที่แล้ว +1

    Thank you, very helpfully

    • @Divgitally
      @Divgitally  ปีที่แล้ว +1

      Hello. thank you for the message. I'm glad you found it helpful!

  • @marcpatihk
    @marcpatihk 9 หลายเดือนก่อน

    Can you scp directly in to a storage container first and then use the disk to make a VM ?

    • @Divgitally
      @Divgitally  9 หลายเดือนก่อน

      I have not tried that myeself, but i don't see why it should not work!

  • @vklab24
    @vklab24 8 หลายเดือนก่อน +1

    what about moving VM's between nodes?

    • @Divgitally
      @Divgitally  8 หลายเดือนก่อน +1

      That is actually pretty annoying. I want to make a video on it one day. So far, I have been lazy and just set up a Proxmox backup server and added it to both nodes. Back up the VM, then restore it on the other node.
      It can easily be done when they are clustered, but don't do that unless you actually plan on having them in a cluster.

    • @vklab24
      @vklab24 8 หลายเดือนก่อน +1

      @@Divgitally ​ i've a cluster with 2 nodes - so basically two hardware pieces (laptops) so how to move this?

    • @Divgitally
      @Divgitally  8 หลายเดือนก่อน

      @@vklab24 Apologies, but i don't remember and i am currently not running any clusters. I like to be able to kill nodes without the extra cleanup.
      a quick google search didn't give me much so i should setup a cluster and make a video about it.
      I have a bit under a week and ill be done with my exam (Hopefully) and can start making videos again.

  • @makayud
    @makayud ปีที่แล้ว +1

    Hi, when I start the VM with Windows, I get a blue screen with the message "inaccessible boot device", what can be done? Thanks in advance!

    • @Divgitally
      @Divgitally  ปีที่แล้ว

      Hello! I'm not sure what it causes that, but there might be something wrong with VM options. I would start by looking at boot order making sure it points to the correct hard drive.
      If that does not help, you can come over to the Discord server i have linked in the description. It's not very lively, but its a bit more easy for me to help if i can see some screenshots.

    • @ivanromero7274
      @ivanromero7274 หลายเดือนก่อน

      Maybe that Windows is 2000 o XP ? before migrating, you need to install IDE drivers in that Windows. Hope this help you.

  • @supernoob5217
    @supernoob5217 ปีที่แล้ว +1

    wanna ask brother...
    why you create 2 VM brother? vm 103 n 105... Is that different vm? im confused

    • @Divgitally
      @Divgitally  ปีที่แล้ว +1

      Hello! There is no specific reason for the VM ID, and the only reason for the two VM's is to show the difference in importing them. I thought about actually using the VM's after they were set up but cut that away.

    • @supernoob5217
      @supernoob5217 ปีที่แล้ว +1

      @@Divgitally I have a problem when importing the disk. The VM running on VmWare with full version OS.
      When I importing OVA n WMDK to Proxmox, the OS need new key. wkwkwk

    • @Divgitally
      @Divgitally  ปีที่แล้ว +1

      What type of VM is it? Both of the ones I imported were linux, but Windows may be different. If that's the case, I can try to look into it.

    • @supernoob5217
      @supernoob5217 ปีที่แล้ว

      @@Divgitally Mikrotik for networking management. Appreciate it if you try look into it. I got the ova file from here: th-cam.com/video/J3bdGM6Hkc0/w-d-xo.html

    • @supernoob5217
      @supernoob5217 ปีที่แล้ว +1

      @@Divgitally ova file
      drive.google.com/file/d/1ll-9FFZV7oI7OyfklayxDfGboun2EQqK/view

  • @PetervanderPlaat
    @PetervanderPlaat 2 ปีที่แล้ว +1

    Thanks for this usefull tutorial

    • @Divgitally
      @Divgitally  2 ปีที่แล้ว

      Thank you for the comment, I'm glad you found it usefull!

  • @mandeepmails
    @mandeepmails 9 หลายเดือนก่อน +1

    Epic 👍

    • @Divgitally
      @Divgitally  9 หลายเดือนก่อน +1

      Thanks! I appreciate the message!

  • @virtualizeeverything
    @virtualizeeverything ปีที่แล้ว +1

    i will need to play with the ovf some more my first try it did not work

    • @Divgitally
      @Divgitally  ปีที่แล้ว

      I remember I had some issues trying to get an Aruba wlan controller up and running. What are you trying to set up?

  • @sp4c33
    @sp4c33 ปีที่แล้ว +3

    Except if it is a windows vm, you gonna see a lot of blue screens, also I would export "Files of folder" so you do not need to unpack the image...

    • @Divgitally
      @Divgitally  ปีที่แล้ว

      I'll try to look into that. There might be some settings that can be changed to help that.
      Extracting and storage of files can be done multiple ways. I like to do it that way and use the tmp folder so the files are removed after a reboot.

    • @sp4c33
      @sp4c33 ปีที่แล้ว +1

      @@Divgitally For me it was to delete hdd controller and add it again as SATA.

    • @Divgitally
      @Divgitally  ปีที่แล้ว +1

      @@sp4c33 Cool! It's interesting how many ways software can decide not to work.

    • @oxxysaurus
      @oxxysaurus 9 หลายเดือนก่อน

      Yep, came here for exactly that information. All this video covers if OVA's. Dont need a video for that.

  • @cl0206
    @cl0206 2 ปีที่แล้ว

    nice, short and sweet

    • @Divgitally
      @Divgitally  2 ปีที่แล้ว

      just like... I mean, thank you for the message. i really appreciate it!

  • @mcbabydoibura
    @mcbabydoibura 2 หลายเดือนก่อน

    niceeee

  • @norbertopace7580
    @norbertopace7580 3 หลายเดือนก่อน

    Great

  • @ankyb2891
    @ankyb2891 ปีที่แล้ว +1

    Hi
    i am getting this error :
    qm importdisk 105 /var/lib/vz/images/mksoftdbserver.vmdk local -format raw
    importing disk '/var/lib/vz/images/mksoftdbserver.vmdk' to VM 105 ...
    Formatting '/var/lib/vz/images/105/vm-105-disk-0.raw', fmt=raw size=726532096 preallocation=off
    transferred 0.0 B of 692.9 MiB (0.00%)
    qemu-img: Could not open '/var/lib/vz/images/mksoftdbserver.vmdk': invalid VMDK image descriptor
    copy failed: command '/usr/bin/qemu-img convert -p -n -f vmdk -O raw /var/lib/vz/images/mksoftdbserver.vmdk zeroinit:/var/lib/vz/images/105/vm-105-disk-0.raw' failed: exit code 1
    i have 2 Files :
    1) /var/lib/vz/images/mksoftdbserver-flat.vmdk (100GB)
    2) /var/lib/vz/images/mksoftdbserver.vmdk (692.9MB)

    • @Divgitally
      @Divgitally  ปีที่แล้ว +1

      Could you try it with removing -format raw?

    • @ankyb2891
      @ankyb2891 ปีที่แล้ว +1

      @@Divgitally qm importdisk 105 /var/lib/vz/images/mksoft.vmdk local
      importing disk '/var/lib/vz/images/mksoft.vmdk' to VM 105 ...
      Formatting '/var/lib/vz/images/105/vm-105-disk-0.raw', fmt=raw size=726532096 preallocation=off
      transferred 0.0 B of 692.9 MiB (0.00%)
      qemu-img: Could not open '/var/lib/vz/images/mksoft.vmdk': invalid VMDK image descriptor
      copy failed: command '/usr/bin/qemu-img convert -p -n -f vmdk -O raw /var/lib/vz/images/mksoft.vmdk zeroinit:/var/lib/vz/images/105/vm-105-disk-0.raw' failed: exit code 1

    • @Divgitally
      @Divgitally  ปีที่แล้ว +1

      Hmm, have you configured the local partition to hold vm disks? If not, try to change local to local-lvm

    • @TheJoBlackos
      @TheJoBlackos ปีที่แล้ว

      @@ankyb2891 depending on the version you may need to use "qm disk import"