The X1500 Sockets have an internal SD-Card which is used to hold the Operating System. In the event that an SD card fails, and a spare is not available, it is possible to run the Socket using a USB flash drive while waiting on a replacement.
This article describes the process of preparing, installing, and using a USB flash drive using a Windows desktop.
- Windows computer with at least one available USB-A port
- DiskGenius or other drive formatting software that supports Ext2
- Win32 Disk Imager or other disk imaging software
- Two USB Flash Drives
- 8+GB USB flash drive
- 16+GB USB flash drive
- Phillips screwdriver
- (optional) Serial cable
Preparing the USB Drives
- The first required step is to prepare an 8GB+ USB drive with the Socket Image. This will be used in a later step. Please complete the process detailed in the following article:
- X1500 How to Reset a Socket Using a USB Drive
- Once this step has been completed, please move to step 2.
- The next step is to format your second USB flash drive (16+ GB USB flash) to an Ext2 file type.
a. Plug the 16+ GB flash drive into the computer.
b. Run DiskGenius.
c. Right-click the USB flash drive and select Quick Partition(F6).
d. Under Partition Count, select Custom: and 1 next to Partitions.
e. Click OK.
f. If you get a warning that the USB flash drive already has partitions, click Yes to delete the existing partitions.
g. Right-click the new partition under the USB flash drive and select Format Current Partition(F).
h. Select Ext2 for File System and click Format.
i. Click Yes at the prompt.
j. Right-click the USB flash drive and select Safely Eject Disk (J).
k. Remove the USB flash drive from your computer and set it aside.
Preparing the Socket
Now that the USB drives are ready for usage, it is time to prepare the Socket for usage.
- Unplug the power cable from the Socket.
- Using a Phillips screwdriver, remove the three screws securing the lid of the Socket to the case. There is one screw on each side of the Socket and one screw on the bottom.
Side screw (x2):
- Remove the lid by sliding it toward the front of the Socket.
- Locate the SD card next to the fan on the side of the Socket.
- Slide the metal SD card cover toward the fan to unlock it.
- Lift the cover and remove the SD card.
- Lower the cover (without the SD card inserted) and slide it away from the fan to lock it.
- Slide the lid over the front of the Socket case.
- Fasten the three screws securing the lid to the case.
Implementing the USB Flash Drive
Now that the USB drives have been prepared, and the Socket is ready. The next step is implementing the USB flash drive to be used as a host for the Socket Operating System.
- Plug the 8+ GB USB flash drive into the USB port located on the right, as viewed from the back. This is referred to as USB2 on newer Sockets.
- Plug the 16+ GB USB flash drive into the left USB port as viewed from the back (USB1 on newer Sockets).
- (Optional) Connect a serial cable to the Socket’s console port and your computer and use a terminal to monitor the boot sequence. Set the baud rate to 115200.
- Plug the power cable into the Socket.
- The Socket will write the X1500 image from the 8 GB USB flash drive to the 16+ GB USB flash drive.
a. If the process completes successfully, the Socket will automatically power down about one to two minutes after the initial boot.
b. If a serial cable is connected to the Socket, the following output will display on the terminal when the process completes:
OS install done
[ 59.996128] udevd: starting version 3.2.4
[ 60.005390] udevd: starting eudev-3.2.4
[ 63.287620] Starting cron daemon
[ 63.295729] OK
[ 63.353904] Boot command: x1500_install, exit
[ 66.075231] Stopping X1500 socket service
[ 66.091761] Stopping cron daemon
[ 66.103955] OK
[ 66.184215] Done
[ 66.206945] Stopping X1500 boot config
[ 66.226141] Done
[ 69.657242] ACPI: Preparing to enter system sleep state S5
[ 69.662978] reboot: Power down
[ 972586] OS install done
- When complete, remove the 8+ GB USB flash drive from the right USB port (USB2).
- Unplug the power cord from the Socket and plug it back in. The Socket will boot normally from the USB flash drive in the left USB port (USB1).
- The Socket is now fully functional with the factory-default configuration.
a. If needed, access the Socket UI to configure static WAN IP addresses. Download the X1500 Socket Hardware Guide for instructions.
b. If the Socket fails to connect to the Cato Cloud, un-assign the socket from CC2 and assign it again.
If you need to repeat this procedure on the same Socket, remove all USB flash drives and power cycle the Socket to clear the memory of the bootable USB before proceeding.