By Dan Levine

SAN JOSE, California (Reuters) - A U.S. judge on Friday granted Apple Inc's request for a pre-trial injunction against the sale of Samsung Electronics Co Ltd's <005930.KS> Galaxy Nexus phone, handing the iPhone maker its second legal victory against Samsung in a week.

Apple and Samsung, the world's largest consumer electronics corporations, are waging legal war in several countries, accusing each other of patent violations as they vie for supremacy in a fast-growing market for mobile devices.

Friday's decision, by U.S. District Judge Lucy Koh in San Jose, California, comes days after she also slapped a pre-trial ban on sales of Samsung's Galaxy Tab 10.1, a tablet computer that runs on Google Inc's Android and goes toe-to-toe with the iPad.

The back-to-back triumphs - significant because pre-trial injunctions are rarely granted - meant Apple had a better week in court than last week, when Chicago federal court judge Richard Posner ruled the iPhone maker could not pursue an injunction against Google's Motorola Mobility, effectively ending that case.

"Apple has made a clear showing that, in the absence of a preliminary injunction, it is likely to lose substantial market share in the smartphone market and to lose substantial downstream sales of future smartphone purchases and tag-along products," Judge Koh said in Friday's ruling.

Koh scheduled a hearing on Monday to consider whether to put the Galaxy Nexus injunction on hold pending appeal. And she said in court that she might rule on Sunday whether or to similarly put on hold the earlier injunction on the Galaxy Tab.

Apple has waged an international patent war since 2010 as it seeks to limit the growth of Google's Android system, the world's most-used mobile operating platform. Opponents of Apple say it is using patents too aggressively in a bid to stamp out competition.

Spokeswoman Kristin Huguet reiterated her previous statement, accusing Samsung of copying the look and feel of its products. Samsung was not immediately available for comment.

As a condition of the injunction, Apple was ordered to post a bond of more than $95 million, to secure payment of damages sustained by Samsung should the injunction be deemed a wrongful decision later. The order shall become effective upon posting of the bond.

The case in U.S. District Court, Northern District of California, is Apple Inc v. Samsung Electronics Co Ltd et al, 12-00630.

(Reporting By Dan Levine and Poornima Gupta; Editing by Edwin Chan, Carol Bishopric and Richard Chang)