How to re-image most Linux-based Endura Platforms using a Bootable USB Thumb Drive.

NOTICE

POTENTIAL FOR DATA LOSS.
The steps detailed in the resolution of this article may result in a loss of critical data if not performed properly. Before beginning these steps, make sure all important data is backed up in the event of data loss. If you are unsure, please contact Product Support Services prior to attempting the procedure below.

NOTICE

COMPLEX PROCEDURE REQUIRED.
The resolution of this article has many complex steps that may result in unforeseen results if not performed correctly. If you are at all unfamiliar with the requirements, please contact Product Support Services for assistance.

Issue

Linux or other Endura related Operating System component has become corrupt or otherwise malfunctional, disallowing login or other troubleshooting.

Product Line

Pelco Video Management

Environment

Cause

  • Failed/Failing Hard Disk Drive(s).
  • Excessive Heat or Vibration in installed environment.
  • Power outages or unstable/unclean power in installed environment.
  • Ungraceful restart/reboot of unit(s).
  • Compounding of minor Filesystem Corruptions caused by normal product use over time aka "wear and tear".
  • Possible Hardware or Software defect. 

Resolution

note: Pelco does not recommend these steps be attempted without supervision or recommendation from a Pelco Product Support Technician.
note: Except where directed, proceed through the steps of this article from top to bottom, in order they are presented. 
 

Getting Started

1. Obtain the appropriate product .GHO file needed for the specific Linux-based Endura Platform in question by contacting Pelco Product Support. 

2. Click here to Download the USB Bootable Ghost Application zip file. Extract the contents of this file to an accessible folder location.

2a. In this Article example, we have used extracted the files to C:\Chrome Downloads\USB_bootable_ghost_complete\ using 7zip.

 

3. Prepare a USB Thumb Drive as follows:

3a. Physically Insert a USB Thumb Drive into a Windows Workstation PC and copy (backup) from it any existing files which you do not wish to lose in this process.
3b. Launch the HPUSBFW.exe Application from the USB_bootable_ghost_complete folder (created from Step 2 above).

3c. Set the options to match the above screenshot as follows:
* Click the File System dropdown box and set for FAT32.
* Click to enable Quick Format.
* Click to enable Create a DOS Startup disk and using DOS system files located at:.
* Click the browse button (...), and then browse to the DOS folder location inside the USB_bootable_ghost_complete folder (created from Step 2 above) and press OK.

3d. Click the Start Button, and click Yes to execute the format and create the Bootable USB Thumb Drive.

WARNING: This will Erase all previous data present on USB Thumb Drive!

3e. When the format has finished, click the OK, and then click Close to exit the format utility.


3f. Copy the autoexec.bat and ghost.exe files from the USB_bootable_ghost_complete folder (created from Step 2 above) onto the Bootable USB Thumb Drive at root level.

3g. Copy the appropriate product .GHO file (obtained from Step 1 above) onto the Bootable USB Thumb Drive at root level.

3h. To ensure no data is lost, right-click the Bootable USB Thumb Drive from within Windows Explorer or the Windows System Tray USB Icon and select "Eject " or "Safely Remove Hardware".

3i. Physically remove the Bootable USB Thumb Drive from the Windows Workstation.

 

Preparing the Linux-based Endura Platform BIOS
The goal in this section is to setup the Linux-based Endura Platform BIOS to boot from your Bootable USB Thumb Drive.
Depending on which Linux-based Endura Platform you are re-imaging, the BIOS screens may vary; The below steps and screenshots are examples taken from DVR5300 and NSM5200, please contact Pelco Product Support if assistance is required.

1. Physically Insert the Bootable USB Thumb Drive into a rear-case(on motherboard) USB Port of the Linux-based Endura Platform needing re-imaging.

2. Power on (if off) or reboot (if previously on) the Linux-based Endura Platform, and immediately begin repeatedly pressing the appropriate keyboard key (indicated briefly onscreen, usually the delete [DEL], or F1 key) to enter the BIOS .

3. Wait for BIOS to Launch, and then Navigate (using keyboard arrows) to Advanced BIOS Features and press Enter/Return.

4. Navigate to Boot Sequence and press Enter/Return.

5. Press Enter/Return on Hard Disk Boot Priority.

6. Re-arrange the Boot Order using your and - keys, the goal is to have your Prepared USB Thumb Drive (as detected by BIOS, naming convention will vary based on brand/model and BIOS) to be the first boot device (1.), with the local HDD or SDD OS Boot drive 2nd or 3rd, behind nothing else other than CDROM if present.
You can press Enter/Return or Escape to go back to the previous menu, and use the arrowsspacebarenter/return, and and - keys to continue and adjust the Boot Sequence as needed.

7. Press F10, Y, then Enter to save and exit the BIOS.


The Linux-based Endura Platform will now reboot onto the Bootable USB Thumb Drive, and automatically launch into the Symantec Ghost Re-Image Utility.



Executing the Linux-based Endura platform Re-Image

Following the above sections, you should now be into the Symantec Ghost Re-Image Utility.


1. Press OK, and then use your keyboard or mouse to navigate to "Local > Disk From Image" (click or press Enter/Return).

2. Using the keyboard to navigate (TAB, Arrows, and Spacebar), select the .GHO file that was copied onto your Bootable USB Thumb Drive during Getting Started, Step 3g above.

note: In the above screenshot, the File name box is empty because we have not yet pressed the appropriate keyboard keys (TAB, Arrows, or Spacebar) to select it.
note:  The above screenshot is taken from an Endura DVR5300, as in our screenshots in prior sections.

3. After ensuring the File name box has been populated appropriately, continue using the Arrows or Spacebar keys to navigate to the Open Button, and then click or press Enter/Return.

note:  The directly-above screenshot is - and all further screenshots moving downward are - taken from an Endura NSM5200.

4. Select the OS Boot Drive of the Linux-based Endura Platform in question, and click or press Enter/Return on the OK button.
1

Important notes on this step:
The above screenshot is taken from an Endura NSM5200. Other Linux-based Endura Platforms you are re-imaging will vary in selection availability.
The goal is to select the appropriate Operating System Disk Drive as the destination for our re-image procedure, which is done via process of elimination as follows:

  • The first Drive listed (Drive 1) is usually (not always) your Bootable USB Thumb Drive, you can verify this by its size (if it is not the same size as the OS drive we are going to re-image to, or by its text which can sometimes show up in red; This is not  the Drive we want to select.
  • The 2nd or 3rd (if present) Drive is our desired target. If it is exceptionally large (such as Drive 2 in the above screenshot), this indicates it is a RAID 5 or RAID 6 Video Data Drive; This is not  the Drive we want to select.
  • Select the remaining (un-eliminated) Drive and click or press Enter/Return on the OK button.
     

5. Modify nothing on the next screen which is presented, again simply press Enter/Return on the OK button.

Note: If you don't have a mouse connected, press ALT+o to select OK


6. Click or press Enter/Return on the Yes button to confirm and proceed with Re-Image.

7. Wait for the re-image to complete. If errors are presented, please contact Pelco Product Support for assistance.

8. Once Complete, click or press Enter/Return on the Reset Computer button, and then Physically Remove the Bootable USB Thumb Drive from the Rear USB Port.

 

Verify Resolution
After reboot, wait at least 15 minutes, and then test System functionality as desired.
Depending on the Linux-based Endura Platform in question and the specifics of the situation, your device may require additional configuration steps, such as ship_prep if SM5000 .GHO file version 01.04.0035, or downgrading NSM5200 from v2.2 to a lower revision; Please contact Pelco Product Support if further assistance is required.

Tip: Keeping a prepared Bootable USB Thumb Drive (from the "Getting Startedsection at the beginning of this article) on hand near the equipment onsite is a time saver!
You can decide to have just 1 (copy the appropriate .GHO file from a PC Workstation onto it as needed when a re-image is required), or keep several on hand, each prepared with a different appropriate .GHO file for each Linux-based Endura Platform present onsite!