How to perform PBX reflashing procedure

Problem

The file system is broken on the PBX or the PBX doesn't switch on.

Solution

Perform a reflashing procedure as described below.

Important: this procedure can be applied only to PBXs with Atom and Celeron Processors (in production since 2015) having a MSATA SSD, see the picture below to know whether this procedure can be performed on your PBX

  • Eject a hard disk drive (HDD) from your PBX system

    Note: See the picture below to understand what the HDD looks like.

Important: perform this procedure only if HDD looks like on the picture below!

For example, you can use ZTC Enclosure Adapter: https://www.amazon.com/ZTC-Enclosure-Adapter-Support-ZTC-EN00-S/dp/B00RNECU36

  1. Connect HDD to your PC using USB mSATA adapter
  2. Download the disk image: WMS_5.04_x64_20220706.img / WMS_6.02_x64_20230519.img
  3. Use disk dump utility to burn the image to the HDD of your PBX
  4. The command syntax depends on your OS:

    – dd if=wms.img of=<dev_msata> //pat
  5. Install the HDD back to your PBX and boot the system

Console history example (Ubuntu)

//Locate relevant disk name, in the example case: /dev/sdc

carlton@nb-carlton:~/tmp$ sudo fdisk -l

Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disklabel type: dos

Disk identifier: 0xcb2c85f3

Device Boot Start End Sectors Size Id Type

/dev/sda1 2048 11718655 11716608 5.6G 82 Linux swap / Solaris
/dev/sda2 * 11718656 250068991 238350336 113.7G 83 Linux

Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x290c210e

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1953523711 1953521664 931.5G 83 Linux

Disk /dev/mapper/cryptswap1: 5.6 GiB, 5998379008 bytes, 11715584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdc: 14.9 GiB, 16013942784 bytes, 31277232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dosDisk identifier: 0xa4384306

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 3319807 3317760 1.6G 83 Linux

// Download image

carlton@nb-carlton:~/tmp$ wget http://wildix.com/image_pbx/03072017/WMS_3.85_03072017_atom.img
–2017-11-15 13:25:27– http://wildix.com/image_pbx/03072017/WMS_3.85_03072017_atom.img
Resolving wildix.com (wildix.com)… 23.251.143.78
Connecting to wildix.com (wildix.com)|23.251.143.78|:80… connected.
HTTP request sent, awaiting response… 200 OKLength: 1000000000 (954M) [application/octet-stream] Saving to: ‘WMS_3.85_03072017_atom.img’

WMS_3.85_03072017_atom.img 100%[================================================================================================================>] 953.67M 8.81MB/s in 2m 29s

2017-11-15 13:27:57 (6.39 MB/s) – ‘WMS_3.85_03072017_atom.img’ saved [1000000000/1000000000]

// Burn to mSATA drive

carlton@nb-carlton:~/tmp$ sudo dd if=./WMS_3.85_03072017_atom.img of=/dev/sdc status=progress; sync

981897728 bytes (982 MB, 936 MiB) copied, 75 s, 13.1 MB/s

1953125+0 records in

1953125+0 records out

1000000000 bytes (1.0 GB, 954 MiB) copied, 81.1959 s, 12.3 MB/s

carlton@nb-carlton:~/tmp$