Not really sure how dualbooting or vms work at their core. I’m kind of over windows and want to swap, always liked the customizability aspect and have been using Linux more and more for self hosting purposes. Was wondering if I setup linux on my external ssd using a vm if I could change it from vm to a dualboot drive after I’m done setting it up. That way I could setitup and swap to it while keepign my original ssd with my windows install,. and not have to deal with dualbooting and going back and forth while setting up?

Can I make a vm of my current windows machine backup and run that in a linux setup?

  • @[email protected]
    link
    fedilink
    210 hours ago

    That would definitely be a technical challenge, but also it’s absolutely possible.

    I used to do dual-boot Windows + Linux and I could run the Linux installation from a VM in Windows as well as the Windows installation from a VM in Linux.

    When rebooting between metal and VM, Windows would always spend a few minutes “doing things” before continuing to boot, but it worked.

    Linux would not even fret. It would just boot normally without any complaints.

    I don’t remember exactly which distro I had at the time, but probably it was Linux Mint.

    • @Magister
      link
      2
      edit-2
      10 hours ago

      yup, I did the “linux running metal” and using the same partition with a VM in Windows and it worked fine. It was years ago, certainly Ubuntu or MX Linux. IIRC the linux partition cannot be on the same drive than the linux partition, it needs to be a different drive.

      • @[email protected]
        link
        fedilink
        19 hours ago

        For me it was the same drive. I remember I had to generate a special file to convince VirtualBox to use the physical partition as if it was part of a different drive. I don’t remember the details. Quite hacky perhaps, but it worked.