Formula One world championship leader Sebastian Vettel put Ferrari on pole position for his home German Grand Prix on Saturday after title rival Lewis Hamilton's Mercedes broke down on track.
Hamilton's Finnish team mate Valtteri Bottas will start alongside on the front row, with Ferrari's Kimi Raikkonen third and Red Bull's Max Verstappen fourth.
Hamilton, eight points behind Vettel after 10 races, qualified 14th.
Earler, Hamilton stopped on track, and then tried to push his car, in another setback for the Mercedes driver's title chances.
The Briton stepped out and leaned across to steer as marshals gave a helping hand, before giving up the battle as the first session ended.
He then crouched down next to the stricken car after it had been wheeled off the track, resting his helmeted head on the front in apparent shock.
A Mercedes spokesman said Hamilton, who is eight points behind Ferrari's Sebastian Vettel in the title battle at the halfway point in the season, had lost hydraulic pressure.
"Gears won't change," Hamilton had reported over the team radio.
"Guys, I need to make it back," he added.
"Stop, stop, stop, stop," Mercedes responded with some urgency.
The team said it was important to stop the car to prevent "heat soak damage" to the power unit as happened to team mate Valtteri Bottas in Austria last month.
Hamilton had been only fifth fastest in the opening qualifying session, with speculation -- dismissed by the team -- earlier on Saturday that he was either feeling unwell or suffering from a stiff leg.
'Depleted India might just get the best out of resources available'
Saha to undergo shoulder surgery in Manchester: BCCI
Warner returns to action in Australia, eyes national recall
Why Dhoni's World Cup place is in doubt
Tour de France: Sagan wins third stage, Thomas retains overall lead