Upgrading a NAM using a USB stick
- A USB stick prepared with the
CMG-NAM-mk2firmware. 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).
- 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:
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:
sdc1sd 46:0:0:0: [sdc] Assuming drive cache: write through sd 46:0:0:0: [sdc] Attached SCSI removable disk
In this case, the kernel has called the device
sdc. The first partition on the device is identified by the device name followed by
1identifying the partition number. Replace the token
sdc1in 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
- Run the command:
- Reboot the NAM.