Seeing as there are people out there that can't even make it out of college, I think you'll be fine! I've seen plenty of people with GPAs around 2.5 who are looking into grad school. I'm not sure how easy the road is to get there, but I highly doubt it is impossible. Good news is you have above 3.0 in your major GPA. Those are your more important classes anyway.
At worst, you'll either stay in undergrad perhaps a little longer and raise the GPA (maybe spend an extra year and pick up another minor? Maybe retake some classes?), or you'll get into a masters program that isn't ranked at the top, but you'll be able to work hard, excel, and have a good masters GPA. You can easily explain away a bad undergrad GPA if you have a masters GPA that is from a more recent time and is above your undergrad GPA. Plus you'd only be taking classes in your field, which you seem to be better at anyway!
That then makes your application look good for either a job or a PhD!
To relate to you, I went through a really really rough time my second year at college, had the same thoughts as you, and also ended up really sick and had to drop out for one semester, which only added to the stress. Put me behind a semester and in turn, a year, since I don't plan on applying to grad school for spring (hard to get funding). I pretty much thought I was screwed and better off gone at the time, but kinda derped along through college anyway. Over the past couple years I've kinda learned to not get so caught up in things. Why freak out over the little things? What happens will happen. If you want to do something, go for it. If it doesn't work out, then maybe come up with a new plan and try again. It's not the end of the world bud! A 2.5-2.6 gpa is not something to end your life over! At most, it just delays what you want to do for a little.