When changing operating systems, I’d say simply redo it.
Otherwise you’ll soon be looking at how to edit the database directly.