Upgrading a CMG-NAM using a USB stick
Requirements
- A USB stick prepared with the
CMG-NAM
,CMG-NAM64
and/orCMG-NAM-mk2
firmware. Please see Preparing a USB stick for upgrading Platinum modules for preparation details. - Command line access to the NAM (either via a serial cable or using ssh over the network).
Procedure
- Do not connect the USB stick yet.
- Log in to the NAM as root.
- Issue the following commands, which will switch off automatic disk access. Ignore any errors or messages:
svc Pt-storage stop svc rdisk stop
- Connect the USB stick.
- The kernel will automatically assign a name to the USB stick: this will be sd (standing for SCSI disk - an historical legacy) followed by a single, lower-case letter identifying the device. Check the kernel log to see what the device was called with the following command:
dmesg
In the last few lines of output there should be something like:
sd 46:0:0:0: [sdc] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB) sd 46:0:0:0: [sdc] Write Protect is off sd 46:0:0:0: [sdc] Mode Sense: 43 00 00 00 sd 46:0:0:0: [sdc] Assuming drive cache: write through sd 46:0:0:0: [sdc] Assuming drive cache: write through sdc:
sdc1
sd 46:0:0:0: [sdc] Assuming drive cache: write through sd 46:0:0:0: [sdc] Attached SCSI removable diskIn this case, the kernel has called the device
sdc
. The first partition on the device is identified by the device name followed by1
identifying the partition number. Replace the tokensdc1
in the command below with the partition name that was allocated on your system. - Mount the USB stick with the command:
mount -o ro -t ext2 /dev/sdc1 /mnt
If this does not work, try the following:
- Wait 10 seconds and try again, allowing another ten seconds for the kernel to recognise the device and assign it a name.
- Try again, changing the filesystem type from
ext2
toext3
orext4
If this still fails, the unit may need to be upgraded by some other method: please contact support for assistance.
- Run the command:
/mnt/upgrade
- Reboot the CMG-NAM.