I am running in pe2 mode using usb boot disk to test a pc's hard-drive. I want to create an automatic configuration to test the hd.
My problem is that I do not know if the hd is formatted or not. Going to the first hd does not work in case of non formatted hd as the application identifies the usb as hd.
A priory all I know is that there is a single hd and I want to test it.
I made a small script that checks the type of the hd - if it is IDE I assume it was formatted so I run a regular hd test, otherwise a raw test. There are cases that this script fails since the hd was formatted but was not labled as ide (i.e. ata).
My problem is that I do not know if the hd is formatted or not. Going to the first hd does not work in case of non formatted hd as the application identifies the usb as hd.
A priory all I know is that there is a single hd and I want to test it.
I made a small script that checks the type of the hd - if it is IDE I assume it was formatted so I run a regular hd test, otherwise a raw test. There are cases that this script fails since the hd was formatted but was not labled as ide (i.e. ata).
Comment