Black holes move, just like any other body with mass. Except that if the LHC produces a black hole, it will be so small that it will consume such a small amount every year that the sun would flicker and die before it ate all of Earth, that is assuming that a black hole can even be that small without evaporating. The black hole would fall to the center of the earth and eventually just hang out there eating the core a little bit at a time.
By the time it’s an issue, we’ll either be transcendent beings of looping energy contained within magnetic klein bottles, or we’ll have killed ourselves with genetically-tailored viruses, nanites, or nuclear weapons. On the list of things that are out to get us, manmade black holes are pretty far down the list. To get an idea of how likely most scientists think this eventuality is, one of them said that there’s a greater chance of an extinction-of-all-life-sized asteroid hitting the earth in the next five minutes as there is that the LHC will make black holes in the whole span of its lifetime.
Not to belabor this point any further, the LHC is designed to do one thing: Create artificial cosmic rays. The things that will be flying around the LHC will be the same thing that bombard the earth and everything else in great quantity, and there are no rogue black holes flying around consuming the universe as a result. The only difference is that these will be controlled and collided against each other in an environment where they can be observed, rather than out in the cosmos.