How do I make a dual Boot for Windows 10. When i already have fedora. I want to use a single SSD for both systems. Also is it possible without loosing my current data.

  • Dandroid
    link
    fedilink
    15
    edit-2
    11 months ago

    I would recommend removing your SSD with Linux then installing Windows on a fresh SSD. Otherwise the Windows install could fuck with your Linux install.

    Once both OSes are installed on separate SSDs, put them back in and choose the boot device from bios.

    • @Bluefruit
      link
      311 months ago

      I did something similar but used grub to be able to choose the OS at startup.

      Both Windows and Linux (I used Ubuntu at the time) had thier own separate drives and grub was on the Windows install. That was the main boot drive that would launch grub so that i could choose to boot into either Windows or Ubuntu at start up.

      I dont remeber the guide i used and this was a couple years ago so there may be something more up to date at this point. I liked the way it worked though.

      That being said, another way would be to use two different pcs and use a kvm to switch between them. Dual boot is cool but having to power off is annoying. Or you can virtualize windows from your linux install or vice versa. Really depends on what you need.

      For me, Windows is likely going to serve as my music making OS so having it bare metal makes more sense for me. I’m going to be using a mini pc for windows and my main rig will be for Linux. At least thats the plan for now.

  • @[email protected]
    link
    fedilink
    911 months ago

    As @[email protected] said, I’d virtualize it if you can. But if there is a reason you want to use actual hardware with Windows (gaming, installing firmware that requires Windows, VR, etc), I’d install a dedicated disk for Windows.

    If you can’t do either of those things, look at gparted to resize your partitions.

    • @LjubiOP
      link
      311 months ago

      So if i resize it with gparted, can i pick the resized storage when in bios. And no existing storage would be lost?

      • @[email protected]
        link
        fedilink
        411 months ago

        Well, you boot from the Windows install medium. And instead of picking an existing partition to install on, you create a new partition from unpartitioned space

        • Johanno
          link
          fedilink
          311 months ago

          Especially you should make sure you don’t pick the wrong partition as it would wipe your linux system

  • @[email protected]
    link
    fedilink
    English
    5
    edit-2
    11 months ago

    make proper backups before you try messing with partitions. Have windows reinstall media made ahead of time, just in case things go badly.

    what you want to do is possible, but mistakes happen.

  • Vitaly
    link
    fedilink
    311 months ago

    i use virt manager for this, not what you want but just try it, it is a lot faster than virtual box

    • @LjubiOP
      link
      111 months ago

      Is this usable for gaming?

      • Vitaly
        link
        fedilink
        311 months ago

        some people do game on it, but it is a bit difficult to set up, what games do you want to play?

      • @[email protected]
        link
        fedilink
        111 months ago

        If you have a desktop and can install a dedicated GPU for Gaming, libvirt should be able to game a full speed

        • @[email protected]
          link
          fedilink
          3
          edit-2
          11 months ago

          Sorry, but wouldn’t you need 2 video cards for that to work?

          One for regular desktop and one for the VM to access to game properly?? (GPU pass though)

          Edit: Or does it work on Intel CPUs aa the desktop could use the igpu while the windows VM uses the dedicated one?

          Ryzen users is shit outta luck if that’s true. Ramming 2 dedicated GPUs in one computer might be a more expensive affair.

          • @[email protected]
            link
            fedilink
            111 months ago

            That’s what I meant by “dedicated GPU for Gaming” presuming the desktop already had a video card for regular use.

        • @LjubiOP
          link
          111 months ago

          Will battle eye and other anti cheat software work?

          • @[email protected]
            link
            fedilink
            011 months ago

            Sure. Why not. The game wouldn’t know you’re in a VM. The GPU is presented to Windows so it SHOULD all just work. There’s plenty on Youtube for getting this to work.

            • @LjubiOP
              link
              211 months ago

              Okay i will try that. Thank you so much you helped me a lot.

            • @wmassingham
              link
              111 months ago

              It can easily see you’re in a VM. For example, the OVMF UEFI firmware is a dead giveaway. Nobody runs that on physical hardware.

  • thisisbutaname
    link
    fedilink
    111 months ago

    I don’t know how much the windows installer lets you choose regarding partitions, but assuming you can and given my probably dated knowledge still applies:

    You’ll have to install windows to it’s partition and then force a boot into Linux from the BIOS to reinstall grub, and then you’ll be able to choose your starting system.

  • @Yeahboy92
    link
    011 months ago

    You need Windows installed first, set up your partitions, then install Linux. You could backup your data and then restore it. That’s the easiest way if you choose not to use a windows vm.