Install Linux on an old PC by shrinking your existing Windows partition to create free space, then boot from a USB drive to run the installer. During installation, select "Something else" or "Manual Partitioning" to assign the new space to Linux while leaving the Windows partition untouched, ensuring both operating systems remain accessible via the GRUB bootloader.
Preparation and Backup
Before modifying partitions, it is critical to back up all important data. Partition manipulation carries a risk of data loss if something goes wrong during the disk layout changes. Ensure you have a full backup of your Windows files on an external drive or cloud storage. Additionally, disable Fast Startup in Windows 10 or 11, as this feature locks the NTFS filesystem and can prevent Linux from accessing Windows files or cause boot issues. You will also need a USB drive with at least 8GB of capacity and a tool like Rufus or Etcher to write the Linux ISO image to it.Creating Free Space for Linux
You cannot install Linux without unallocated space on the hard drive. If your old PC has limited storage, you may need to shrink the Windows partition. Boot into Windows and open Disk Management by right-clicking the Start button and selectingdiskmgmt.msc. Right-click your main C: drive and select Shrink Volume. Enter the amount of space to shrink in megabytes; this will become the unallocated space for Linux. For example, entering 30720 MB will provide 30GB for your new OS. If you are unsure how much space you need, refer to our guide on Extending Partition for Dual Boot Setup, which covers similar partition management concepts in reverse.
Booting the Linux Installer
Insert the prepared USB drive and restart the computer. Access the boot menu by pressing the appropriate key (often F12, F10, Esc, or Del) during startup. Select the USB drive from the list. Once the Linux live environment loads, connect to Wi-Fi if the installer requires downloading updates or drivers. Open the installer application. Most modern distributions like Ubuntu, Linux Mint, or Fedora will detect the existing Windows installation automatically. However, to ensure safety and control, we recommend choosing the manual installation option rather than the automatic "Install alongside Windows" option, which can sometimes misinterpret partition layouts on older hardware.Manual Partitioning Steps
Select Something else or Manual Partitioning when prompted for the installation type. You will see a list of existing partitions. Identify the unallocated space created earlier. Create a new partition for the root directory (/) using the ext4 filesystem. Assign about 20-30GB to this partition, depending on your needs. Next, create a swap partition. For older PCs with less than 4GB of RAM, set the swap size equal to your physical RAM. For systems with more RAM, a smaller swap (e.g., 2GB) or a swap file is often sufficient. Finally, identify the EFI System Partition (ESP) if your Windows installation uses UEFI. Do not format it; simply mount it at /boot/efi. If your system uses Legacy BIOS, you do not need an ESP. Set the bootloader device to the same drive where the ESP or the primary boot sector resides.
Completing Installation and Verification
Proceed with the installation. The installer will write the necessary files to the new partitions and configure the GRUB bootloader. Once complete, remove the USB drive and reboot. You should see a GRUB menu offering a choice between Linux and Windows. Select Windows to verify that your original OS still boots correctly. If Windows fails to appear, check the bootloader settings or refer to resources on Resolving Dual Boot Issues after Installing Linux Mint on Windows 10 for troubleshooting common bootloader conflicts. Regularly update both operating systems to maintain stability and security.Frequently Asked Questions
Will installing Linux delete my Windows files?
No, if you follow the manual partitioning steps correctly and do not format the existing Windows partition. Always double-check partition assignments before clicking install to avoid accidental data loss.How do I access my Windows files from Linux?
Linux can read NTFS partitions natively. Your Windows files will appear in the file manager under the mounted drive, usually labeled as Windows or C:. You may need to install additional packages likentfs-3g for full read-write support on some distributions.