can't partition hard drive I tried to make a partition on my macbook for windows. I was unable to do so, because, apparently, the hard-drive has been damaged. Since I do not have osx installation cd, I tried to recover using 1) disk utility and 2) from command line (exiting the desktop, at boot).

In both cases I failed. In particular, doing that by command line seemed to be fine (the output message was something like "disk recovered"). But then, again, when partitioning I always get the error message that the disk is corrupted.

Do you know how could  I possibly solve this problem without osx cd?
One suggestion is to grab this recovery CD. If you like you can use a USB stick instead but I find the CD to be easiest.

Of course, you'll need a functioning computer and CD burner to make this happen so perhaps this isn't possible for you.

If it is possible, burn the .iso, insert the CD, and when booting up, press 'C' immediately after the startup tone plays.

You'll be presented with some options. Just click Enter for these until you find yourself in a live Linux environment that looks like this. You'll be able to use the graphical tool GParted to see what's going on with your partitions. GParted is a very powerful utility. In an (almost) worst case scenario you'll at least be able to recover your data from the HDD.