A mounting apparatus for mounting a data storage device that has a
protrusion protruding from a sidewall thereof includes a mounting board,
and a bracket. The mounting board includes a depressed portion for
holding the data storage device. The depressed portion includes a first
side wall. The bracket includes a leg member with an end pivotably
mounted to the first side wall of the depressed portion of the mounting
board. A first receiving slot for receiving the protrusion of the data
storage device is defined in a bottom of the leg member. A drive portion
is formed at a side of the receiving slot away from the end of the leg
member, for cooperating with a corresponding protrusion of the data
storage device when installing the data storage device.