Dual Booting

There are numerous scenarios in which you may want a dual boot to work. This Dual booting guide is based on Fedora and Windows 10. The concepts tend to remain the same on other Windows versions and Linux distros.

Maybe you have fedora but want windows installed or the other way around. Regardless of this just keep the following in mind:

Windows and the other OS both need their own partitions to work. Don't make the mistake of overwriting a partition you need.

Minimum size requirements:

Windows 10: 16GB for a 32-bit OS; 20GB for 64-bit OS

Fedora: 10GB of space.

Go ahead and install windows (or not if you already have it).

During installation, make sure not to take up all the available space. shrink the partitions so that you have enough for what you need but keep in mind the 10GB for fedora as a minimum.

If you already have windows installed, simply go into disk management and safely shrink down a partition. Windows will not always let you do this if the partition is in use but if that's the case we can actually shrink partitions in fedora.

Shrinking the partition in Windows: When on the desktop, hit the windows key and search for create and format hard disk partitions and hit enter.

You will see partitions in here that you can shrink and extend.

Right click the partition and select "shrink volume" and follow the on-screen steps while selecting options that make sense for your set up.

During the installation process in Fedora, under installation destination, select custom for manual partitioning (as is the usual practice alongside encryption). Inside here under "unknown" you will see windows partitions, which are usually "NTFS". You can change the size of these by changing the number in "desired capacity". After trying to break this it seemed to only let you go as low as the data that is in the partition, but I would be cautious with this and double check the amount you have used in windows itself and also take into consideration the fact that windows is going to need some space for updates and files.

Fedora installed but not Windows:

Simply go through the windows installation set up as usual until you can configure partitions. When you are in here, make sure you don't delete the Fedora partitions and create a suitable windows partition. Make sure you have shrunk Fedora beforehand

possible issues and fixes:

Unable to boot into any OS: This only happened once, but it seemed to be when windows attempted to repair itself after shrinking the windows partition in Fedora. After booting into Windows, the partition had not shrunk, and upon restarting to see if fedora was installed still, there was no OS at all showing up. The fix was to simply reinstall Fedora and the issue did not repeat itself. It seems that windows was simply taking back what it expected to be there which destroyed Fedora and the boot manager.

No option to boot into Fedora after install. Windows seems to not like sharing and so far this has been dependant on the laptop that is being used, but using the following command in a administrator command prompt can fix the issue. To change the boot manager. bcdedit /set {bootmgr} path \EFI\fedora\grubx64.efi