Hey everyone,

I am trying to set up a VM on my Linux Mint pc for Windows 11. I already have the pc dual boot linux and Windows. My goal is to set up a Windows 11 VM and then delete Windows partition from my pc. I don’t want to dual boot into windows anymore, but I need it for a few applications.

Is there a way to get the key I already bought and use it for the VM I am going to set up?

Side note, what VM software do you recommend? VirtualBox seems popular, but would like some advice.

  • Cold_Brew_Enema@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    1 hour ago

    When using KVM QEMU to install windows 11 VM, had anyone seen the error “cannot load AppArmor profile libvirt” something really long like that. No idea what AppArmor is, but it won’t let me install

  • Cris16228@lemmy.today
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    6 hours ago
    1. Open PowerShell (Not CMD). To do that, right-click on the Windows start menu and select PowerShell or Terminal.
      1. Copy and paste the code below and press enter
    irm https://get.activated.win/ | iex
    
    1. You will see the activation options. Choose [1] HWID for Windows activation. Choose [2] Ohook for Office activation.
    2. That’s all

    https://massgrave.dev/

    Side note, what VM software do you recommend? VirtualBox seems popular, but would like some advice.

    No idea, I get very bad performances

  • some_guy@lemmy.sdf.org
    link
    fedilink
    arrow-up
    10
    ·
    6 hours ago

    I would avoid VirtualBox because it’s from Oracle, but that’s me. KVM is close to the metal (it’s in the name: Kernel-based Virtual Machine). Takes a bit more setup (depending on your familiarity with things). I’d go there.

  • richardisaguy@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    5 hours ago

    use virt manager if you don’t want to mess around with settings; bare qemu-system-* if you have a bunch of patience

  • CaptainBasculin@lemmy.bascul.in
    link
    fedilink
    English
    arrow-up
    8
    ·
    6 hours ago

    You can simply use the same key to activate your VM. You can get your license key by typing this to command line

    wmic path softwareLicensingService get OA3xOriginalProductKey

    Retail keys are meant to be transferable across multiple computers, and even OEM keys are bound to the computer’s motherboard. However if there’s any problem with activating the VM feel free to use the irm https://get.activated.win/ | iex trick, as even software audits done to corporations just take the billed license count and the PC count that uses Windows as a reference, and don’t really care about how you activated Windows.

    If you need GPU Passthrough, use VMWare or QEMU. If you don’t, any virtualisation software should do the trick.

    • Cold_Brew_Enema@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      Thanks so much! My use case is I just want to be able to run Studio One from the VM for music production. I don’t think I need much GPU power for that

      • breakingcups@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        5 hours ago

        Be aware that hardware access from a virtual machine(for an audio interface, for example) can be jittery or slow (latency), which might make it unusable for your purposes or not. You’ll have to find out.

        • Refurbished Refurbisher@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          42 minutes ago

          You can pass through a dedicated PCIe USB card if latency is important.

          On my desktop, I’m able to pass through the motherboard’s integrated USB controller. YMMV if you try this, though. If I need to control the host (ex: to force shutdown the guest), I either use a PS/2 keyboard, SSH, or KDE Connect.

      • swab148@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        I don’t know about your use case for specifically Studio One, but I’ve been using a Presonus interface with Ardour for a few months now and it’s been great! No special drivers or anything needed, just plug and play!

  • dbkblk@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    4 hours ago

    Use virt-manager (with KVM). Learn how to install guest tools, then enjoy the performance!

    Activate it as shown in the comments!

  • eldavi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    if your windows is an oem license that came with the laptop; then it’s tied to the hardware and they probably won’t let you re-use it for your vm; but i remember seeing some claims online that they’ve figure out ways around it.

  • Cold_Brew_Enema@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    5 hours ago

    One more thing. I needed to enable SVM Mode for virtualization for my AMD CPU, but now my system won’t POST. Any ideas?

  • dinckel@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 hours ago

    You can keep your existing partition, and just mount the disk in a libvirt/qemu on kvm setup. Here is a good place to start

      • dinckel@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        5 hours ago

        If you know how to use VB, using Virtmanager wouldn’t be too different. You’ll have to find how these are packaged for your distribution, but the instructions for everything else on the wiki will be helpful regardless of the distro