These days I customize CentOS5.4,I boot my ISO on vm , after I select languages and keyboard type, I meet this error:
The CentOS CD was not found in any of your CDROM drives.Please insert the CentOS CD and press OK to retry.
I compare the files of the offical ISO and my ISO, I find a file named “.discinfo” is not present in my ISO.Copy it to my ISO and the problem is solved.
Now I know “cp -a” will not handle the hidden file.