I've been using Linux for a little while now and I decided to set up a dual boot on another PC. However, I'm running into some problems that I haven't been able to find answers to. When I tried to shrink my drive in Windows, I noticed an entry in the event viewer saying \$Mft::$DATA. I've looked up various solutions but none of them have worked out. I ended up defragging my SSD multiple times, which isn't great since it decreases the SSD's lifespan. Does anyone have any idea how to fix this issue with the \$Mft/Data file?
3 Answers
I’ve faced a similar issue before! Windows can restrict how much you can shrink a drive due to unmovable files. In your case, that \$Mft$Data file is the likely culprit. Check your disk for pagefile or hibernation files and consider disabling them temporarily to free up space for resizing. You really have to catch those unmovable files to get the partitions sorted out correctly.
You really shouldn't be defragging your SSD, as it doesn't help its performance and can actually shorten its lifespan. Instead of trying to fit Linux on that existing drive, I recommend installing it on a USB SSD. I’ve had a lot of trouble with dual boot setups on old drives; they can get buggy when faced with intensive operations. If you use an external drive, just set the bootloader to that drive, and you can boot from it by selecting it at startup. A 1TB USB SSD is fairly affordable these days and way more reliable for this purpose.
Don't defrag your SSD—it’s not worth it! SSDs don't have moving parts, so defragging won't improve performance at all. Also, can you clarify your situation a bit more? You mentioned trying to partition the drive and looking in the event viewer, but what errors are you encountering during the partitioning process? That information is crucial for troubleshooting.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures