This article explains how to reset an X1500B Socket to the factory image using an USB drive.
Note
WARNING! Cato has two certified Socket hardware models for x1500 sites (x1500 and x1500B). Make sure that you identify the exact Socket model before installing the image on the Socket.
For more information about the two X1500 Socket models, see Overview of Reimaging Cato Sockets.
In May 2022, Cato introduced a second hardware model for the x1500 Socket. The new hardware model is referred as X1500B and it uses a different image than the X1500 Socket.
There are two ways to identify the X1500B model, the PSU (power supply unit) port on the back panel, and the sticker on the underside of the Socket.
-
PSU on the back panel
-
Sticker on the underside
If you install the X1500 image on an X1500B Socket, you can cause the Socket to stop working.
-
Download the X1500B mage file.
For more information about getting the image file, see Socket and vSocket Image Files. -
Untar the image.
-
Get a USB drive with at least 8GB of storage space available.
This section explains how to burn the Socket image to the USB drive for Windows, macOS, and Linux.
After you untar the image, compute the file hash of the uncompressed DD image file and then compare it to the Cato verified, correct file hash. This confirms the disk image integrity before writing the Socket firmware to the hard drive.
-
Untar the image, from the elevated Powershell in the same directory as both files, run
tar -xf <archive-filename>
Note
Note: Common decompression software (such as Winzip, 7zip or Winrar) will corrupt the image, resulting in a file that is ~135MB in size. Extracting the file using the Windows CLI tar command should result in a file size that is larger than 1GB.
-
Run the following command to compare the file hash of the Socket image:
(Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1500B_BR2_16851_socket-production-16386_v17.0_2023_06_01.dd).Hash -eq (gc .\X1500B-hash.txt).split()[0]
The command returns True when the hashes are the same.
-
Download and install disk imager software, such as Win32 Disk Imager.
-
Write the image to the USB drive. (You may need to show all the files with *.* to see the DD file)
-
Connect the USB drive.
-
Open a terminal window.
-
Identify the new drive using the command
diskutil list
-
Unmount the identified drive using
diskutil unmountDisk diskN
-
Untar the image.
-
Run the following command to compare the file hash of the Socket image:
shasum -a 256 <archive-filename>
Compare the output of this command with the verified hash above.
-
Run this command
dd if=./<file name> of=/dev/diskN bs=16m
(WARNING: MAKE SURE YOU WRITE THE IMAGE ON THE USB DRIVE AND NOT ON YOUR HARD DISK)For example
dd if=./IMAGE_INSTALL_socket_X1500B_BR2_16851_socket-production-16386_v17.0_2023_06_01.dd.tgz of=/dev/diskN bs=16m
-
Connect the USB drive to your Linux machine
-
Identify which device is your USB /dev/sdb or /dev/sdc
-
Untar the image.
-
Run this command
dd if=./<file name> of=/dev/sdX
(WARNING: MAKE SURE YOU WRITE THE IMAGE ON USB AND NOT ON YOUR HARD-DISK)For example
dd if=./IMAGE_INSTALL_socket_X1500B_BR2_16851_socket-production-16386_v17.0_2023_06_01.dd of=/dev/sdX
- X1500B-hash.txt148 Bytes
2 comments
Updated article for v13.0 Socket image
Updated article for v17.0 Socket image
Please sign in to leave a comment.