Undergraduate school affecting acceptance to a prestigious graduate school
Getting into a good grad school has more to do with demonstrating your potential for being a researcher than the quality of the school you attended as an undergraduate. If you don’t have any evidence of research, it’s unlikely that you’re going to get into a top-10 school. If you have an extensive body of solid research as an undergraduate, it can compensate for weak(ish) grades.