I must say Jwar, after looking at the output you posted, I’m just about stumped. I’ve never seen anything like that. I was expecting to find that you had an old abandoned Windows partition on the drive that you’d forgotten about, but that’s apparently not the case. Cfdisk is showing just two partitions, a 500MB swap (extended) partition and a 9GB primary partition. The amount of space you’re using is not excessive for a full Knoppix install - Knoppix installs around 2GB of files, and I guess you may have added a few apps, plus your own data. Also, some space gets eaten up by the Firefox cache and Email trashcan if you’re not emptying it. There are also log files which grow over time, unless you delete them and turn logging off. So 2.5GB, which is what you’re using, is reasonable. But over 4GB seems to be unaccounted for. I can’t agree with Yingfan’s theory - a journal eats up some space, but not such a huge amount.
Here’s a guess - your hard disk is going to pot. If it’s only a 10GB hard disk, it must be pretty old - it’s been over five years since I’ve seen one that small for sale anywhere. There are some Linux utilities for checking a hard disk. First, just for grins, try this:
dmesg | grep -i error
If that gives you no output, that’s good! But it doesn’t mean you’re out of the woods. Since /dev/hda1 is ext3 partition, you can use a utility called e2fsck. It’s included with Knoppx and Kanotix, but BIG word of caution - you have to run it on an unmounted hard disk. That means, you’ve got to reboot with the Knoppix CD, then “su” to become root, then this:
e2fsck /dev/hda1
See if that gives you any error messages. If it doesn’t, one more utility (also on the Knoppix disk) is called “badblocks”. You run it the same way:
badblocks /dev/hda1
It will take quite some time to run (depending on the size and speed of your hard disk), so go drink some coffee while waiting.
If there are still no errors, you could attempt a reinstall. I don’t find re-installs so traumatic, especially since it gives you the excuse to download the latest Kanotix and install it. Of course, back up your data before proceeding (you do back up regularly, don’t you?).
If you decide to do a re-install, take the opportunity to learn how to manually partition your disk rather than letting Knoppix do it for you.
Boot Knoppix/Kanotix, open an Xterm, su to root, and manually configure your hard disk partitions with cfdisk. Delete the two partitions you’ve got, create two new ones, make them both “primary” partitions (as opposed to a primary and extended, as you have now). I usually make /dev/hda1 my swap and /dev/hda2 my main partition. You must set partition type - swap is 82 and Linux (your main partition) is 83. Save and exit. Then format the partitions. Assuming that /dev/hda1 is swap and /dev/hda2 is for everything else, do this:
mkswap /dev/hda1
mkfs.ext3 /dev/hda2
That’s all. Just fire up knoppix-installer (or kanotix-installer) and follow the instructions. Easy (isn’t it?). You just can’t have this kind of fun with Windows.
cheers,
DB