CDRouter Support

NTA1000 Factory Reset

knowledge-base version 13.9

This article provides instructions for rebuilding your system disk(s) using the latest NTA1000 disk images from QA Cafe. Reasons for doing this include recovering from a disk crash, corrupted files, accidental deletion of operating system files.

Note that rebuilding your disk(s) using this procedure will not necessarily install the same underlying operating system it had when you first received it. This will install the latest and currently shipping Rocky Linux disk images.

NOTE: The instructions below are for NTA1000v5, NTA1000v6, or NTA1000v7 hardware platforms only. If you have an older NTA1000(v1,v2,v3,v4), please contact the QA Cafe Support team support@qacafe.com.

NOTE: The instructions below will require the use of a separate CentOS or Rocky Linux system with Internet access. This system will be used to download and run a python script that will create a bootable USB drive. The USB drive that is created will then be used to install Rocky Linux 8 on your CDRouter system.

Step 1: Download the nta1000-create-image package

Connect to a CentOS or Rocky Linux system that is connected to the Internet and download the nta1000-create-image directly from the QA Cafe rpm repository.

  • Download Link: nta1000-create-image
  • File Size: 11,516 bytes
  • MD5 Checksum: c9776f0e99aa82c9cb6165a06c52dc5e
  • SHA1 Checksum: 49351e9a9e217ac931109e2a5e5871520bf7074e
  • SHA256 Checksum: 30cffa0cb6184f3784dbf8100443d251cea00bb77c0847f0190b6fe9344564ba

Step 2: Install the nta1000-create-image package

Install the nta1000-create-image package using the yum command on a CentOS or Rocky Linux system that is connected to the Internet:

yum install <path_to_rpm_file>/nta1000-create-image-1.1-1.noarch.rpm

This will install a python script in the /usr/share/nta1000/bin directory. This script will be used in the next step.

Step 3: Create the bootable USB drive

The nta1000-create-image.py script creates a bootable USB drive that is used to clone a new Rocky Linux 8 operating system image to the drive(s) of the NTA1000.

  • To get started, plug a USB drive into the system used in the previous step.

  • Next, run the nta1000-create-image.py script using the following command:

    /usr/share/nta1000/bin/nta1000-create-image.py --offline
    

    The script will verify that a properly sized USB drive (>= 4GB) exists and will abort if one is not found.

  • If a properly sized USB drive is found, the script will prompt for the serial number of the NTA1000 that you plan to work on. The serial number is located on a white sticker on the back of the system. It will be in the format similar to either NTA1000vx-xxx or NTA1000-10xxx.

  • Next, the script will download and copy the appropriate QA Cafe Disk Image Utility from the QA Cafe repository server and then burn it to the USB drive. You will use this utility to factory reset your NTA1000 to the Rocky Linux operating system.

  • Eject and remove the USB drive from the system before continuing to the next step. This USB drive will now be used to boot your NTA1000 system.

The following screenshot shows an example of what you should see when running the steps above.

Step 4: Boot the NTA1000 from the USB drive

  • Move to your NTA1000 system.

  • Connect a keyboard, mouse, and monitor to the NTA1000. Power off the system from the desktop or open a terminal and enter the following command:

    shutdown -h now
    
  • Once the system has powered down, move the power switch on the rear of the NTA1000 to the off position.

  • Insert the bootable USB drive created in the previous step and power on the NTA1000.

  • Press the F7 key to get to the boot menu when the initial splash screen is displayed on the monitor.

  • Select the USB drive and press enter. DO NOT select any USB entry with UEFI Note that the screenshot below is only an example of what may be displayed; the exact output may be different in some cases.

Step 5: Install Rocky Linux 8 from USB drive

  • After the NTA1000 boots from the USB drive, the QA Cafe NTA1000 Disk Image Utility will start and display the menu below.


    Important - If you do not see the “Factory reset one or both of your drives” option in the menu, STOP! Please contact the QA Cafe Support team support@qacafe.com to get the latest release of the NTA1000 Disk Image Utility before proceeding any further.

  • Select (f) Factory reset one or both of your drives - this will take you to the Factory reset menu, shown below.

  • You now have the choice to rebuild either your system drive or your data drive. If you plan on doing both, the order does not matter.

  • After the imaging process completes, the menu will be displayed again.

  • Remove the USB drive, then select (r) Reboot to reboot your system.

Step 6: Install CDRouter Software and License

The NTA1000 should be running Rocky Linux 8 once rebooted. This may be verified by running the following command in a terminal window:

cat /etc/redhat-release

Output should be:

Rocky Linux release 8.4 (Green Obsidian)

Now that the one or more drives have been successfully rebuilt, CDRouter must be reinstalled.

Please follow the instructions in the Manual installation using the command line section of the CDRouter Installation Guide.

Once CDRouter has been reinstalled, an active CDRouter license file must also be installed. This can be done automatically by running the following command:

cdrouter-cli -update-license

The following command may be used to verify that CDRouter and a valid, active license file have been properly installed:

cdrouter-cli -info

CDRouter’s web UI, and all CDRouter data should now be available.

Contents

×

About CDRouter

QA Cafe CDRouter is a comprehensive and powerful test automation solution focused on feature, security, and performance testing for broadband and enterprise edge gateways, Wi-Fi and mesh systems, and other CPE.

Get in touch via our Contact page or by following us on your favorite service: