Upgrading a CMG-NAM using a USB stick
Requirements
- A USB stick prepared with the
CMG-NAM
,CMG-NAM64
and/orCMG-NAM-mk2
firmware. - Command line access to the NAM (either serial cable or ssh).
Procedure
- Do not connect the USB stick at this time.
- 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
- 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: [sdb] 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 diskUse the token
sdc1
(or whatever it is called on your system) in the commands below. - Mount the USB stick with the command:
mount -o ro -t ext2 /dev/sdc1 /mnt
If this does not work, try the following:
- Ensure you have waited 10 seconds
- Try changing
ext2
toext3
orext4
If this still fails, the unit will need to be upgraded by some other method.
- Run the command:
/mnt/upgrade
- Reboot the CMG-NAM.