OS X install failing with "Input/output error"
I have a MacBook from Mid 2007 and I cannot re-install OS X on it using an OS X 10.6.3 DVD.
At the beginning of July, I replaced the hard drive with a Samsung 840 120 GB SSD. I used the same DVD to install OS X in July. A few days ago, I rebooted and got a flashing folder with a question mark. I tried repairing the drive, but Disk Utility said it could not be repaired. I would have to re-install OS X. Today, I tried erased and repartitioned the drive. Now, OS X re-installation is failing.
The wizard says "Installation Failed. Mac OS X could not be installed on your computer. The Installer could not copy the necessary support files. Click Restart to restart your computer and try installing again." I've tried twice.
The end of the installer log says:
OSInstaller[139]: Retrieved package com.apple.pkg.AdditionalEssentials
OSInstaller[139]: reading from /System/Installation/Packages/BaseSystem.pkg: Input/output error
OSInstaller[139]: error processing data: Input/output error
OSInstaller[139]: Retrying file://localhost/System/Installation/Packages/BaseSystem.pkg after 1 failure(s)
OSInstaller[139]: reading from /System/Installation/Packages/BaseSystem.pkg: Input/output error
OSInstaller[139]: error processing data: Input/output error
OSInstaller[139]: Retrying file://localhost/System/Installation/Packages/BaseSystem.pkg after 2 failure(s)
OSInstaller[139]: reading from /System/Installation/Packages/BaseSystem.pkg: Input/output error
OSInstaller[139]: error processing data: Input/output error
OSInstaller[139]: Failed to retrieve file file://localhost/System/Installation/Packages/BaseSystem.pkg (Error Domain=NSPOSIXErrorDomain Code=5 UserInfo=0x128830e40 "The operation couldn't be completed. Input/output error")
OSInstaller[139]: Failed to download package from file file://localhost/System/Installation/Packages/BaseSystem.pkg and no alternate source.
OSInstaller[139]: Install failed: The Installer could not copy the necessary files.
OSInstaller[139]: Allowing machine sleep.
OSInstaller[139]: Memory statistics from 'Install Failed' pane:
OSInstaller[139]: Physical Memory Allocation: 446 MB wired, 4 MB trapped, 80 MB active, 1329 MB inactive, 189 MB free 1598 MB unusable, 2048 MB total
What do you think the issue is? How can I successfully install OS X?
MacBook (13-inch Mid 2007), Mac OS X (10.6.3)