27
submitted 1 year ago by Ljubi@lemmy.world to c/linux@lemmy.ml

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.

top 26 comments
sorted by: hot top controversial new old
[-] dandroid@dandroid.app 16 points 1 year ago* (last edited 1 year 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 3 points 1 year 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_____ 9 points 1 year 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.world 3 points 1 year 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_____ 4 points 1 year 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 3 points 1 year 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 5 points 1 year ago* (last edited 1 year 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.

[-] bennieandthez@lemmygrad.ml 3 points 1 year 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 3 points 1 year ago* (last edited 1 year 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.

[-] Vitaly@feddit.uk 3 points 1 year ago

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

[-] Ljubi@lemmy.world 1 points 1 year ago

Is this usable for gaming?

[-] Vitaly@feddit.uk 3 points 1 year ago

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

[-] Ljubi@lemmy.world 1 points 1 year ago
[-] Vitaly@feddit.uk 3 points 1 year ago* (last edited 1 year ago)

But it has gold on protondb, it should work. https://www.protondb.com/app/2399830 there is some good people that can help: https://discord.com/invite/6y3BdzC

[-] Ljubi@lemmy.world 1 points 1 year ago

Offline its playable. But you can not join any offical server and I also didnt found any unoffical servers without battle eye anti cheat software.

[-] Vitaly@feddit.uk 2 points 1 year ago

too bad that multiplayer is not supported, what GPUs do you have?

[-] Ljubi@lemmy.world 2 points 1 year ago

AMD 6800XT CPU Ryzen 5700x 32gbram

[-] I_Am_Jacks_____ 1 points 1 year ago

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

[-] zingo@lemmy.ca 3 points 1 year ago* (last edited 1 year 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.

[-] I_Am_Jacks_____ 1 points 1 year ago

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

[-] Ljubi@lemmy.world 1 points 1 year ago

Will battle eye and other anti cheat software work?

[-] I_Am_Jacks_____ 0 points 1 year 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.

[-] Ljubi@lemmy.world 2 points 1 year ago

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

[-] wmassingham@lemmy.world 1 points 1 year 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.

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 0 points 1 year 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.

this post was submitted on 27 Oct 2023
27 points (86.5% liked)

Linux

48186 readers
1072 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS