Whitacre will be replaced as CEO and board chairman by GM board member Dan Akerson.