Where do opening balances come from?
For a business that has been running, they come from last year's closing balance sheet. The bank balance, the customers who still owed money, the suppliers still to be paid, the van and the loan all existed on the last day of the old year and still exist on the first day of the new one. Profit and loss accounts start the new year at zero; balance sheet accounts carry forward.
For a business moving from a spreadsheet, a previous system or nothing at all, opening balances are the snapshot of everything the business owned and owed on the day the new books begin. Getting that snapshot right is most of the work of switching. Get it wrong and every bank reconciliation afterwards is out by the same amount, and the accountant spends the year end finding it.
The one figure that cannot be looked up is the balancing one. Once every asset and liability is entered, the difference between them is the owner's capital or retained profit, and it is posted last to make the two sides agree.