Retirement tax questions

According to the new owners it is was a trustee to trustee transfer and so not reportable. Intriguing... The old owners gave me a W2 because I needed to pay ordinary income tax on it. What remains unclear is whether the amount has a cost-basis from the IRS perspective. I fear I will be double taxed when time comes to do distribution. Oh well. that's many years away 🙂 Thanks for the feedback.