Deleting files from windows partition using linux, why are they permanently lost?



As an IT administrator, you might be wondering why it is not possible to delete files from a Windows partition using Linux. The answer is quite simple. The two operating systems are designed differently and use different file systems.

Windows uses a proprietary file system called NTFS (New Technology File System). The NTFS file system uses a different structure to store files than Linux, which uses the ext4 file system. As a result, when you delete a file in Linux, it does not actually remove the file from the Windows partition. Instead, it just marks the file as deleted in the ext4 structure. The file still exists, but the Windows operating system does not recognize it.

In order to permanently delete files from a Windows partition using Linux, you must first reformat the partition to an ext4 file system. This will erase all the existing data on the partition, including any deleted files. Be aware that this is a destructive operation and should only be used as a last resort.

If you do not want to reformat the partition, there are a couple of other options for deleting files from a Windows partition using Linux. The first is to use a tool called X-Ways Forensics. This tool can be used to search for deleted files in NTFS partitions and then delete them permanently. The second option is to use a tool called NTFS-3G. This tool provides a read-write access to NTFS partitions, allowing users to directly delete files from the partition.

Although it is possible to delete files from a Windows partition using Linux, the process is not straightforward. Linux and Windows use different file systems, so it is not possible to directly delete files from one operating system to another. In order to permanently delete files from a Windows partition using Linux, you must either reformat the partition or use a specialized tool to do so.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo