Let's look at it from the switch side first.
1. ensure dn length has not changed.
2. ensure the same dn's for vm are used before the move.
Now for the flash.
Run the feature inquiry utility. f**9383788
Enter installer password.
Press first. press test. Remove all unused codes. Power down the unit, then power up.
If f983 works enter the "xxxxxx" password then press ok. Press ok at the key screen.