Boot the machine with Centos installation CD and then type linux rescue at the prompt to boot into the rescue mode and once done that you will be asked to configure/enable network interfaces and then to mount the filesystem, you can skip both and after skipping you will get a shell prompt.