Patent ID: 7617374

Claim:
A hard disk testing method under an extensible firmware interface (EFI), applicable to an environment of EFI, comprising: backing up a system file of the EFI of a hard disk test into a storage area of a memory; mapping backup area of the system file as a real hard disk; establishing a non-system file storage area in the memory, so as to store a non-system file from a file area of the hard disk test; acquiring information of the system file and the non-system file of the hard disk test, so as to generate a system file link table and a non-system file link table respectively; backing up the non-system file of the hard disk test into the non-system file storage area when performing the hard disk test; and accessing the system file link table and/or the non-system link table, so as to load the system file and/or the non-system file of the hard disk test directly from the storage area of the memory.