Remove Mac OS X from disk without erasing it
The simplest and safest method would be to make sure your backup is up-to-date, erase the disk and restore that part which you want to keep.
Other methods run the risk of deleting something you want to keep or keeping something that you want to delete.