Allocating Free Disk Space for Dual Boot (Fedora & Windows)

Abstract: Resolves the problem of creating unallocated disk space for a Fedora and Windows dual boot by shrinking the Windows partition via Disk Management.

Created: 2026-10-09 by
To allocate free disk space for a dual boot system with Fedora 40 and Windows 10, you must first shrink the Windows partition to create unallocated space. This is done using the built-in Disk Management tool in Windows before installing or resizing the Linux partition. The process requires careful attention to partition types and file systems to ensure both operating systems can coexist without data loss. By reserving space correctly, you allow the Fedora installer to recognize the available drive area and configure the bootloader properly.

Preparing Windows 10

Before touching any Linux tools, you need to carve out room on your hard drive from the perspective of Windows. This ensures that the physical sectors are marked as free and ready for a new file system. Start by backing up important data, as partitioning operations always carry a slight risk of corruption if interrupted. Press Win + X and select Disk Management from the context menu. Alternatively, you can run diskmgmt.msc from the Run dialog. Locate your main Windows partition, which is typically labeled as C: and formatted as NTFS. Right-click this volume and choose Shrink Volume. Windows will query the volume to determine how much contiguous free space is available. Enter the amount of space to shrink in megabytes (MB). For example, entering 51200 will create 50 GB of unallocated space. Click Shrink and wait for the operation to complete. You should now see a black bar labeled "Unallocated" next to your C: drive.

Booting into Fedora Installation Media

Insert your Fedora 40 USB installer and boot from it. During the startup process, select the option to install Fedora. When you reach the installation type screen, choose Custom Partitioning or Blivet-GUI depending on your preferred interface. The default automatic installation might try to resize existing partitions, which can be risky if not configured correctly. If you use the default Anaconda installer, look for the option to manually configure storage devices. Select the disk that contains the unallocated space. It is crucial to identify the correct disk to avoid wiping your Windows data. The unallocated space will appear as a large block with no file system assigned. For a standard dual-boot setup, you do not need to create complex RAID or LVM configurations unless you have specific performance needs. Simple ext4 partitions are sufficient for most users. Ensure that the EFI System Partition (ESP) is shared between Windows and Linux. This allows GRUB to manage the boot process for both OSes.

Configuring Partitions in Fedora

In the custom partitioning view, select the unallocated space. Create a new mount point for your root file system. Set the size to your desired allocation, leaving some space for swap if you prefer a separate swap partition over a swap file. Modern Fedora versions often use a swap file within the root partition, so a dedicated swap partition is optional. Format the new partition as ext4. Assign the mount point as /. If you create a home partition, format it as ext4 and assign /home. Verify that the ESP is mounted at /boot/efi. This is critical for the bootloader to function correctly. After configuring the partitions, review the summary. The installer should show that it will write changes to the disk. Proceed with the installation. Once finished, reboot the machine. You should see the GRUB menu offering choices for Fedora and Windows Boot Manager.

Post-Installation Verification

After logging into Fedora, open a terminal to verify the disk layout. Use the command lsblk to list all block devices. You should see your new partitions listed alongside the Windows drives. Check the sizes to ensure they match what you allocated during the shrinking phase. Run df -h to confirm that your root and home partitions are mounted correctly and have the expected capacity. If you created a separate swap partition, check its status with swapon --show. If using a swap file, verify it exists in the root directory. It is also wise to test booting into Windows 10 from the GRUB menu. This confirms that the shared EFI partition is accessible to both operating systems. If Windows fails to boot, you may need to repair the bootloader using Windows recovery media. However, proper initial configuration usually prevents this issue. For more details on managing disk layouts after installation, consider reading about Resizing Non-Primary Disk Partitions: Windows and Linux Coexistence. This resource provides deeper insights into adjusting space later if needed.

Frequently Asked Questions

Can I shrink my Windows partition while it is running?

Yes, you can shrink the C: drive while Windows is active using the Disk Management tool. This creates unallocated space without needing to boot from external media. Always ensure you have enough free space within the volume to perform the shrink operation successfully.

What happens if I delete the wrong partition during Fedora installation?

Deleting the wrong partition will result in permanent data loss for the files stored on that volume. Always double-check the disk labels and sizes before confirming any deletion in the installer. Using custom partitioning mode gives you full control and reduces the risk of accidental formatting.

Do I need to format the unallocated space before installing Fedora?

No, you do not need to format the space beforehand. The Fedora installer handles the creation of the file system automatically. Attempting to format it in Windows or another tool might interfere with the installer's ability to detect the raw space.

How do I switch between Fedora and Windows at startup?

You switch between operating systems using the GRUB bootloader menu that appears when you start your computer. Select the desired entry using the arrow keys and press Enter. If the menu does not appear, hold the Shift key during boot or check the BIOS settings for boot order.

Is it safe to keep Windows and Linux on the same physical drive?

Yes, it is safe and common to dual boot on a single drive. Both operating systems can access their respective partitions without interfering with each other. Just ensure they share the EFI partition correctly to maintain a unified boot experience.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More