Skip to content
View zqidev's full-sized avatar

Highlights

  • Pro
Block or Report

Block or report zqidev

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. P2V on Apple Silicon - Converting a ... P2V on Apple Silicon - Converting a Physical Apple Silicon MacBook to a Virtual Machine on another Apple Silicon device (M1, M2, M3) on Apple's Virtualization Framework
    1
    Outline: Having recently bought a MacBook Pro (M3 Max) to replace my MacBook Air (M2), I decided it would be a good idea to start fresh and reinstall everything on my new Mac. However, I always like to keep a backup of my old data, so I thought it would be a good idea to virtualize my old machine on my new machine. Having much previous experience working with Windows P2V's (Physical to Virtual), I figured it would be as simple as Clone, Copy, Restore, and Boot. However, with the advent of Apple's new Signed System Volume, as well as the differences in file systems, APFS containers, and all, this ended up being a project that took about 2 days of nonstop researching, debugging, when I expected it to be a project which would last as long as it would take to clone my drive. I was very wrong. However, with all of my newfound knowledge in this subject, I finally found a way to make it work. 
    2
    
                  
    3
    Starting off, virtualization was already rough. I had recently purchased Parallels, and running Windows was pretty difficult - I used many different Windows 11 images, from the one Parallels downloads itself, to tiny11 for arm, and many others. However, they would all end up extremely unstable and unusable, most of them having no UWP support - it would start off fine, but there would be a popup saying "App is not working. App needs an update" (App being Microsoft Store, by the way), and then failing afterwards. I ended up solving that by joining Windows Insider, downloading a vmdk, converting it in Parallels, and then running my own updates and etc. Also, I transferred over a Windows 11 license to an installation I thought was working, but ended up not, so I lost a windows license too. But, tangents over. 
    4
    At first, I thought the steps would be as followed: Make a macOS VM on my new computer, connect my old computer to my new computer, and use USB passthrough to use Migration Assistant to replicate my old computer. However, I realized a really big issue early on: Because I am virtualizing macOS, you have to use Apple's Virtualization Framework. Apple's Virtualization Framework is currently in its early days: it does not support USB passthrough, snapshots, changing hardware, etc. So, I would have to figure out an alternate solution.
    5
    If you've read this far, I applaud you. This had basically nothing to do with what you probably came here for. I'm just writing this for myself aswell, for future reference, so I don't forget if I ever attempt something like this again.