Retirement tax questions

I thought you could convert the whole IRA if you wanted to - you would just have to pay the big tax bill.  How can I identify the extra money (over the amount of the distribution) as a contribution when I am no longer working and have no earned income.  I thought contributions were dependent on earned income.