Do not type "write mem" before rebooting.
if you are copying the flashbackup from one controller to the other you need to:
1. Backup flash on controller #1
2. Copy flashbackup.tar.gz file to controller #2
3. Restore flash onto controller #2 by typing "restore flash"
4. DO NOT type "write mem"
5. paste in the licenses for controller#2 (because restore flash restores unusable licenses from controller#1)
6. DO NOT type "write mem"
7. Reboot