Hopefully this doesn't sound too hair brained. I would take a old chain wrap it around the small cog and then with the extra length of chain I would pinch it together in a vice. This should hold the free wheel in place. Then I would take your rig there for the big cog but put it on a long 2x4 so I would have some extra leverage and turn that.