Hamilton will start his first race for Ferrari from eighth, with Lando Norris on pole.