Can I safely erase my Windows C: partition without breaking Linux?
Asked by
!+volleyball serve~
I set up a Windows/Linux dual boot some time ago, but I now want to reclaim the space used by Windows. I'm currently viewing the Windows C: partition from Linux and moving files into folders called "probably delete" and "keep," but I'm unsure whether Linux or its bootloader might depend on anything stored there. Is it safe to erase the Windows partition, and what should I check first?
Answers
Usually, yes. Linux bootloaders normally live in the EFI System Partition, or in the diskโs boot sector on older BIOS systemsโnot inside the Windows NTFS C: partition. However, verify which partitions contain your Linux system and EFI files before deleting anything. If the Windows partition is listed in /etc/fstab, remove or update that entry after erasing it, and unmount the partition first.
Reply to this answer
The EFI partition can be on the same physical drive as Windows, but it is a separate partition, so deleting C: normally wonโt remove it. Check where your system is booting from before making changes, and keep a bootable Linux recovery USB nearby in case the boot configuration needs repair afterward.
Reply to this answer
Donโt manually delete Windows system files one by one. If youโre finished with Windows, back up anything important, confirm the partition youโre targeting with a partitioning tool, and delete or reformat that entire partition. Be especially careful not to select your Linux root, home, swap, or EFI partition. If the goal is to enlarge another partition, the freed space must be adjacent to it, and moving or resizing partitions can take additional steps and carries some risk.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions