I forgot which file I modified
did you use gedit to modify it ?
if so then it automatically made a back up file ( same name but with a " ~ " after the name
it should be easy to find
also HOW did you install the nvidia driver ?
and what driver ?
the nvidia.run from the nvidia web site ?
or the kmod-nvidia in the cent repo
as in did you do this
yum install kmod-nvidia
download the .run
blacklist or REMOVE the nouveau driver
boot into int3
( adding a blank space and a "3" on the boot line DURING BOOT )
( hit "e" use the down arrow ,hit "e" add the 3 hit "b" )
install the kernel source and headers and gcc
( !!! rebuild the boot image using "dracut" !!! )
yum groupinstall "Development tools"
yum install kernel-devel kernel-headers
run the *.run
reboot into int5