Updated

Rookie Ivan Nova set aside any worries he had about a Major League Baseball investigation and earned his first career win, Marcus Thames hit another homer and the New York Yankees beat the Chicago White Sox 2-1 on Sunday.

It was an impressive outing for Nova (1-0), who allowed one run and five hits with seven strikeouts and one walk in 5 2-3 innings. He outpitched Gavin Floyd (9-11) in his second start, a day after reports surfaced that the league is investigating him and a former minor league teammate for allegedly injecting each other with B-12 shots.

The vitamin is not on baseball's list of banned substances.

MLB is focused on the issue of whether Nova and pitcher Wilkin De La Rosa injected each other last season at Double-A Trenton and wants to make certain the shots were in fact B-12. The New York Post first reported the story.

Thames led off the second with his fifth homer in as many games and ninth overall, and Brett Gardner singled in a run in the third to make it 2-0. Francisco Cervelli chipped in with a career-high four hits and the Yankees hung on to take two of three from the White Sox.

The loss was the ninth in 14 games for Chicago, which retired Frank Thomas' number and then wasted a solid effort by Floyd. Ozzie Guillen also got ejected for the fifth time this season by first-base umpire Bob Davidson in the ninth for calling Brett Gardner safe on what the manager thought should have been a double play.

That capped another rough afternoon for the White Sox.

They got an RBI single from Juan Pierre in the fifth but left the bases loaded in the sixth.

Nova left with a runner on first and two outs after retiring Andruw Jones on a fly to center, and things got real interesting after that.

Former White Sox pitcher Boone Logan came in, and A.J. Pierzynski reached on a slow roller down the third-base line that was ruled a hit after the throw from Eduardo Nunez pulled Nick Swisher off the bag.

Kerry Wood then threw a wild pitch to Alexei Ramirez and walked him to load the bases before Mark Teahen grounded out to end the threat.

Joba Chamberlain allowed one hit over 1 1-3 scoreless innings. Mariano Rivera worked the ninth for his 27th save in 29 chances, walking Gordon Beckham with one out before Pierre forced him and Omar Vizquel fouled to the catcher.

Floyd allowed two runs and seven hits over 6 2-3 innings. He left after giving up a two-out walk to Nunez and single by Cervelli, before Chris Sale struck out Gardner.

The Yankees threatened to add to their lead in the eighth but came away empty-handed when Bobby Jenks retired Austin Kearns on a force with the bases loaded.

Thames, who went deep twice on Saturday, started the second by driving a 2-2 pitch from Floyd beyond the left-field bullpen. The White Sox ended the inning with a highlight reel double play. Ramirez, the shortstop, made a diving stop on Nunez's grounder up the middle and delivered a glove-handed flip while on his belly to second baseman Beckham, who barehanded it and fired to first.

NOTES: A fan seated near the first-base dugout got struck in the head by a line-drive foul by New York's Curtis Granderson leading off the seventh. He was tended to for several minutes before walking away, still apparently woozy, holding a bandage. ... The Yankees scratched 1B Mark Teixeira from the lineup because of a bruised right thumb. He hurt it making a diving stop on Friday and left Saturday's game after two innings.