Unable to shrink 930GB Windows partition to make room for Linux installation

Abstract: Resolve grayed out shrink volume option in Windows Disk Management by disabling unmovable system files to create space for Linux.

Created: 2026-10-09 by
You can shrink a large Windows partition to create space for Linux by using the built-in Disk Management tool or the command-line diskpart utility. If the "Shrink Volume" option is grayed out, it is likely due to unmovable system files blocking the operation. This guide details how to disable these blockers and successfully allocate free space for your dual-boot setup without data loss.

Why the Shrink Option Fails

When you attempt to shrink a 930GB NTFS partition in Windows, the system calculates the maximum shrinkable space based on the location of the last allocated cluster. Often, this limit is determined by unmovable files such as the page file, hibernation file, or volume shadow copies located near the end of the drive. Even if you have hundreds of gigabytes of free space at the beginning of the partition, Windows cannot move these specific system files during a standard shrink operation. Consequently, the available shrink size appears much smaller than the actual free space, preventing you from creating a sufficient partition for Linux.

Step-by-Step Guide to Shrink Using Disk Management

The most straightforward method uses the graphical Disk Management interface. Follow these steps to initiate the process:

  1. Open Disk Management: Press Win + X and select Disk Management from the menu. Alternatively, press Win + R, type diskmgmt.msc, and hit Enter.
  2. Select the Partition: Locate your primary C: drive (or whichever partition holds Windows). Right-click on it and choose Shrink Volume.
  3. Enter Shrink Amount: In the dialog box, enter the amount of space to shrink in megabytes (MB). For example, to create a 50GB partition for Linux, enter 51200. Click Shrink.

If this succeeds, you will see an Unallocated block next to your Windows partition. You can proceed directly to installing Linux into this space. If the option fails or yields insufficient space, proceed to the troubleshooting section below.

Handling Unmovable Files

If the shrink amount is limited by unmovable files, you must temporarily disable them. Perform these actions in order:

  • Disable Hibernation: Open Command Prompt as Administrator and run powercfg /hibernate off. This removes the hiberfil.sys file, which often sits at the end of the partition.
  • Turn Off System Protection: Go to System Properties > System Protection tab. Select your drive and click Configure, then choose Delete to remove restore points. Disable protection for the drive after deletion.
  • Defragment the Drive: Run defrag C: -U in an elevated Command Prompt. This helps consolidate free space and may allow the defragmenter to move certain files closer to the start of the disk.
  • Restart and Retry: Reboot your computer. Return to Disk Management and try shrinking again. The unmovable file barrier should now be removed.

Advanced Method: Using DISKPART

For more precise control, use the diskpart utility. This method is useful if the GUI is unstable or if you need to verify partition boundaries.

diskpart
list disk
select disk 0
list volume
select volume 1
shrink desired=51200
exit

Replace volume 1 with the correct volume number corresponding to your Windows partition. The desired parameter specifies the exact MB to free up. If diskpart reports that it cannot shrink further, it confirms that unmovable files are still present. Ensure you have followed the disabling steps in the previous section before retrying.

Preparing for Linux Installation

Once you have unallocated space, do not format it within Windows. Leave it as Unallocated. When you boot from your Linux USB installer, the partition manager will recognize this empty space. Most modern installers (like Ubuntu, Fedora, or Arch) offer an "Install alongside Windows" option that automatically configures the bootloader (GRUB or systemd-boot) and creates the necessary ext4 or btrfs partitions. If you choose manual partitioning, ensure you create a separate /boot/efi partition if your system uses UEFI, sharing it with Windows rather than duplicating it.

After installation, reboot your machine. You should see a boot menu allowing you to choose between Windows and Linux. If you encounter boot issues, refer to our guide on Troubleshooting Windows Boot and Partitioning Issues for recovery steps.

Frequently Asked Questions

Can I shrink the partition while running?

Yes, but you must close all applications and ensure no background processes are locking files on the drive. Disabling hibernation and page file usage beforehand significantly increases the likelihood of success. Always restart after making system changes before attempting to shrink.

What happens if I delete the recovery partition?

Deleting the Windows Recovery Partition does not affect your ability to boot Windows or install Linux. However, you lose the ability to reset Windows to factory settings using the built-in recovery environment. You can recreate it later if needed, but it is generally safe to ignore it during dual-boot setups. See Windows Recovery Partition Still Accessible After Deleting It for more context.

Is it safe to use third-party partition tools?

Third-party tools like GParted or MiniTool Partition Wizard can often move unmovable files that Windows Disk Management cannot. They are generally safe if you create a backup first. However, native Windows tools are preferred because they avoid potential filesystem corruption risks associated with external software modifying active NTFS structures.

How much space do I need for Linux?

A minimal Linux installation requires about 20-25GB. For a comfortable experience with development tools, media, and multiple kernels, allocate at least 50-100GB. Ensure you leave enough space for future updates and swap space if you do not plan to use a dedicated swap partition.

Will shrinking my Windows partition slow down performance?

No, shrinking the partition does not impact read/write speeds. However, leaving a small amount of unallocated space at the end of the drive can help prevent fragmentation over time. It is best practice to keep some buffer space to maintain optimal NTFS performance.

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