Re: Ahem. @ BlueGreen
Other forms of transport will still need some form of oil, and battery technology is unlikely to change that, due to the energy density needed for lorries, aircraft and shipping.
Sorry, there are no fundamental problems here, just a need to migrate to new technologies as and when they become cost-effective (mostly here, because the old ones become more expensive because of fossil-fuel depletion).
Lorries can go electrical in the same way cars can go electrical. The "problem" in both cases is recharge time. We need batteries that can recharge at a higher current, or a standardised battery-swap technology with recharging being done slowly at the fuelling stations. The latter could be done with today's tech. Both would need a huge investment in infrastructure which is unlikely to happen while oil remains at its current price. (There's also compressed natural gas, which is already replacing diesel to some extent in the USA and elsewhere where NG is cheaper than diesel, but that's a short-term work-around).
Oh, and if you segregated freight from cars to a degree, trolley-lorries would be another viable approach. Wire up the M-ways and main A-roads, build pull-overs for HGVs to unhitch themselves, their batteries would be fully charged after an hour or so travelling along the wire, for an onward local delivery. ISTR this was actually implemented somewhere in the FSU.
Shipping could use liquified natural gas. Post fossil fuel it could revert to "sail". Modern wind technology wouldn't look anything like the square meters of canvas of yore. Think vertical powered rotating cylinders (Bernoulli effect) and/or huge computer-controlled kites, plus energy generated from wind to charge battery banks for use in close-quarters manouvering or escaping port during dead calms. (Low tech batteries: sail ships need heavy ballast so they can tack, may as well be lead-acid batteries? ) Finally add in modern weather forecasting and telemetrics. The sail ships of tomorrow would never become becalmed because they'd know where the calms were going to be, and navigate elsewhere. Really BIG ships, if needed at all, might be nuclear-powered.
Which leaves aircraft, and the simplest (only?) solution there is that we go back to the 1920s. The very rich or those sent by rich employers fly in craft powered by (necessarily expensive) biofuel. The rest of us stay on the ground. Mass air tourism and most air freight is not a necessity, it's a luxury.