How did kurt create feedback with his guitar? Love buzz, school ect?

I’ve been trying to do this with my amp and fender distortion pedal but I can’t figure it out.