How To
Summary
This document provides step-by-step instructions for verifying the integrity of an IBM PowerVM (VIOS) image/file when a checksum or hash file is not provided.
Environment
Steps
- Download the image by using Download Director on ESS. If no errors are generated, then the VIOS image is correct.
- For ISO images, you can use the following procedure;
If the size does not match, you know its truncated and need to try again.
If the ISO does not mount, the ISO structure is corrupted and you need to try again.
Run script to verify each file:
From ISO-mounted directory, run the following commands (save them in a shell script)
cd ISO_mount_point/installp/ppc
for bff in *bff; do
if ! restore -Tvqf “${bff}” >/dev/null 2>&1; then
echo “ERROR: unable to extract contents from the file: ${bff}” >&2
break;
fi
done
If you get an “ERROR: ...” message for a bff file, manually run the command:
restore -Tvqf BFF_FILE
to understand the error.
But in general, you can extract the contents of each bff file without errors.
- For other images that are not ISO, such as .gz or .zip;
If the size does not match, you know its truncated and need to try again.
If an error occurs while using the correct syntax for the type of file, then the file
may be truncated and try again.
Extract the contents of the files in a temporary directory
Then, run the following commands:
cd installp/ppc
for bff in *bff; do
if ! restore -Tvqf “${bff}” >/dev/null 2>&1; then
echo “ERROR: unable to extract contents from the file: ${bff}” >&2
break;
fi
done
If you get an “ERROR: ...” message for a bff file, manually run the command:
restore -Tvqf BFF_FILE
to understand the error.
But in general, you can extract the contents of each bff file without errors.
- You can also open a case with IBM Software Support where the downloaded image would be compared with a downloaded image tested by IBM.
Additional Information
| SUPPORT |
|---|
|
If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract. 1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue. 2. Capture any logs or data relevant to the situation. 3. Contact IBM to open a case: -For electronic support, see the IBM Support Community: 4. Provide a clear, concise description of the issue. - For more information, see: Working with IBM AIX Support: Describing the problem. 5. If the system is accessible, collect a system snap, and upload all of the details and data for your case. - For more information, see: Working with IBM AIX Support: Collecting snap data |
Related Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
14 April 2022
UID
ibm16376482