The invention relates to a mining vehicle (1) and a method of moving a boom (4) of a mining vehicle. The boom is provided with several boom joints (5a-5e) and there is a mining work device at a distal end of the boom (10). One or more boom joint positions are determined and stored in a memory medium (28). A control unit (18) of the mining vehicle may automatically move the boom to a predetermined position.