Mitch Burroughs set up the winning drive when he returned a punt 25 yards to the Boise State 44 yard line. Moore completed an 11-yard pass to Gabe Linehan and a 14-yarder to Pettis with 1:29 left before finding the 6-foot-3 senior for the game-winner.
Moore finished 23-of-38 passing for 214 yards, three touchdowns and no interceptions for the Broncos (1-0).
Pettis grabbed two TDs among his five receptions for 66 yards. Titus Young hauled down six catches for 80 yards.
Doug Martin chipped in with 83 yards rushing in 12 carries and scored for Boise State.
The Hokies (0-1) were led by quarterback Tyrod Taylor, who accounted for 258 yards, 185 through the air and 73 rushing on 17 carries. Taylor went 15-of-22 passing, notching a pair of touchdowns.
Texas principal bans speaking Spanish, stirs controversy
Toddler uninjured after being knocked over by Obama family dog