Make absolutely sure that the external sd is unmounted before restarting