Incorrect storage capacity detected on your device.
Incorrect storage capacity detected on your device.
Hi, I'm using Kali Linux 2018.1. It was working well until xfce stopped functioning, and I've fixed it so I can access the desktop. However, I notice something odd with disk space: when I run df, it shows 0% free space, but the available and used sections still display around 200MB. I've tried removing unnecessary packages, but it doesn't seem to free any space. It seems the issue persists even after booting normally. The problem might be related to how the virtual box is linked to the actual disk.
Using du -h --max-depth=1 helps locate where the data resides. k4dirstat works well in a GUI environment. Exercise caution when running du from the root; it may traverse /proc and generate numerous errors that disrupt output. Try extracting around a few hundred MB and check if df reflects any changes. This assumes you're not storing all data in a single, large trash bin.
The problem likely stems from insufficient free space on the system. Many applications require temporary storage, and 127MB is insufficient for most tasks.
Building on QXC's comments, executing du -sh * in the root directory (since you're root) will display a summary of each folder and file's size. This is the standard method I use to check storage usage.
Thanks for letting me know about the issue. I didn’t realize I was transferring my friend’s SD card to the disk. It’s now 6.5GB and everything is working again. Appreciate the help!
df displays human-friendly results while df -m uses megabytes. They work differently yet remain practical. When comparing df and du, the latter focuses on disk space, whereas du highlights actual file sizes. Using du is better for identifying storage consumption.
You're looking for a way to see free disk space without getting the wrong title. The person was interested in file and folder sizes, not just overall space.