Migrate a Intel Debian GNU Linux VM to Apple Silicon

Discussion in 'Linux Virtual Machine' started by HeikoG1, Jan 26, 2025.

  1. HeikoG1

    HeikoG1 Junior Member

    Messages:
    11
    I have a Parallels Debian Gnu Linux VM running on a Intel Mac mini.
    I switched to a Mac mini M4 pro Apple Silicon and would like to run my old Debian Gnu Linux VM there.
    How can I migrate it?

    Thanks for your help, Heiko
     
  2. fully_defined

    fully_defined Bit poster

    Messages:
    2
    Heiko,

    The instructions are here: https://kb.parallels.com/130217

    I want to try x86 emulation of LinuxCNC on my M4 Mac. Would you consider creating a fresh VM for me test? I don't have an Intel Mac anymore! I just posted this a few minutes ago, explaining what I need: https://forum.parallels.com/threads/need-x86-vm-to-try-new-x86-emulation.366531/
     
    HeikoG1 likes this.
  3. JamesF23

    JamesF23 Member

    Messages:
    63
  4. HeikoG1

    HeikoG1 Junior Member

    Messages:
    11
    Hello James.
    That's interesting.
    Could you please tell me how you created the virtual machine with UTM?
    I am new to UTM....

    Thank you, Heiko
     
  5. JamesF23

    JamesF23 Member

    Messages:
    63
    I install QEMU from MacPorts in order to use the command line utility to convert the VMDK to qcow2 format used by UTM: qemu-img convert -O qcow2 covfefe-disk1.vmdk covfefe-disk1.qcow2
    After converting the drive, I created a new x86+64 architecture machine with 4 GB. I had to delete the drive that was automatically created in order to use the drive that I converted attaching via the SCSI connection and selecting the drive.
     
  6. HeikoG1

    HeikoG1 Junior Member

    Messages:
    11
    I managed to create the covfefe-disk1.qcow2 file.
    Can you please tell me how you created the new x86+64 architecture machine with 4 GB?
    (The only x86-system I found on the UTM-gallery is Windows XP)

    Thanks a lot for your help! Heiko
     
  7. HeikoG1

    HeikoG1 Junior Member

    Messages:
    11
  8. JamesF23

    JamesF23 Member

    Messages:
    63
    I am glad that you got it created. I had created a blank machine in UTM rather than using something from the Gallery.
     
  9. HeikoG1

    HeikoG1 Junior Member

    Messages:
    11
    Yeah, I created a blank machine too.

    Short question:
    Did you do the exercise yourself?
    I am absolutely new to forensics, but find it very interesting.
    I really like to learn more about it.
    Could you give me some pointers how to get a good start?

    Cheers from Heiko
     
  10. JamesF23

    JamesF23 Member

    Messages:
    63
    I have been working with various virtualization products over the years, VirtualPC, Hyper-V, VMware Workstation & Fusion, as well as attempting to use VirtualBox (suggesting to avoid VirtualBox like the plague), so using UTM was similar in practice. As I tell my students, you should get comfortable using virtualization products as a first step. You should have ideally all three platforms setup as test machines. I would suggest setting up a Kali Linux virtual machine as well. UTM does not support Windows as well as Parallels Desktop.
     
  11. HeikoG1

    HeikoG1 Junior Member

    Messages:
    11
    Hi James.
    I did some „Hack the Box" challenges using parrot Linux on UTM.
    I managed to install missing tools like burpsuite and a newer Java-version it needed.
    When I tried installing git-dumper via pip I realized that it is not possible, because the system is managed. And it wasn't possible to install via apt install (package not found).
    After spending a day trying to, I decided to install Kali-Linux via the UTM gallery and was happy, that pip install git-dumper worked without a hitch.
    I updated Kali-Linux to the newest version and got superb hints from the system, when there was a problem.
    Kali-Linux is very user-friendly and I think, I will keep using it for my ""hacking experience".
    Thanks a lot for you recommending it to me.
    Cheers from Heiko
     
  12. HeikoG1

    HeikoG1 Junior Member

    Messages:
    11
    Hi James.
    I keep on learning...
    After updating Kali-Linux to the newest version, pip install git-dumper didn't work either.
    One has to use pipx to install python utilities in a managed system.
    so I did a sudo apt install pipx on both systems (Parrot and Kali) and was able to use git-dumper on both :)
    Cheers, Heiko
     

Share This Page