I had the same problem, My machine turned out to have been freezing due to a bad vid card, It was a top of the line asus gforce2 and would happen intermitenly. After searching for the problem I found other users were having the same differculty for different reasons, but having the same hardware as mine
1, In your bios if you are using a AGP card, make sure it is set to AGP, sometimes they are set up to PCI thru there own setup program and cause your machine to freeze.
2. Check to see if fastwrite is enabled,and check your card specs to see if this is supported. Online if you don't have the book.
Hope one of these helps, post more info on your machine and hardware if neither of these seem to be it. Also depending on your video card or motherboard, you can check the power being supplied to your components either in the bios screen or a program such as Asus's smart doctor in the task bar which would also raise havoc if it is inconsistent.
As i said mine this this exact same thing and would not allow me to change the setting and other times it would bootup and be perfect only to freeze later and come back stupid!!!As if it had the wrong drivers.