A lot of those trains you cannot book far in advance are just regional or commuter trains. Just keep it simple and buy the ticket at the station when you are there. These trains are usually free seating, tickets are normally flexible, and there is little need to buy those tickets in advance.