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@dandroid.app
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    8 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@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      8 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.

  • I_Am_Jacks_____@lemmings.world
    link
    fedilink
    arrow-up
    9
    ·
    8 months ago

    As @Vitaly@feddit.uk 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.

    • Ljubi@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      8 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?

      • I_Am_Jacks_____@lemmings.world
        link
        fedilink
        arrow-up
        4
        ·
        8 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@feddit.de
          link
          fedilink
          arrow-up
          3
          ·
          8 months ago

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

  • Dr_Willis@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 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@feddit.uk
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

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

  • 小莱卡
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    Is this a laptop? Otherwise i strongly recommend getting a separate SSD for each OS, it will save you a lot of headaches.

    • disheveledWallaby@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      8 months ago

      Just to piggyback back off this, when windows is installed on the same HD as your grub is installed windows can and in my experience eventually will over write your grub preventing you from booting into your Linux partition.

      This forces you to boot from live USB like bootrepair or chroot and reinstall grub. This can be a slightly complicated process if you have encrypted your Linux partition with luks.

      Best practice is to install each OS on their own HD and not to install grub on your windows HD. At least that’s my experience over the last 15 years.

      A great alternative to dual booting is installing windows to a KVM/qemu virtual machine. You can do this from virtmanager’s GUI. See your distro help pages for instructions for setting it up.

  • thisisbutaname@discuss.tchncs.de
    cake
    link
    fedilink
    arrow-up
    1
    ·
    8 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@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    8 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.