The arrangement of quantized magnetic flux lines (vortices) in a Nb superconductor was observed in different magnetic fields up to 200 Gauss by a cryo-Lorentz electron microscope. The interaction of vortices with dislocations in the specimen could directly be clarified. Edge-on dislocations, having been parallel to the vortex core, were identified to pin individual vortices effectively at magnetic fields below 100 Gauss. In higher magnetic fields the formation of a regular hexagonal vortex lattice started preferentially at in-plane dislocations. At 200 Gauss the Abrikosov vortex lattice was formed almost completely and it revealed domains of vortex lattice with slightly different orientations. The dislocations were observed in the centre part of the domains, showing their important role on the formation of the vortex lattice.