Ah, ok. Your problem is that you are trying to fdisk a mounted drive, not a block device. The drive's name is hda, with the first partition being hda1.
What you want to do is talk to the block device directly. fdisk /dev/hda . You may need to open a special shell, or use sudo, in order to have the permissions to do that; but it should work.