NOW, with many restaurants finding it hard to get employees. You could actually work in a restaurant while in school, or learning more about it. The best way to get the experience to eventually run it is to live it. A chef I trained under once said it is all trial by fire in this business, meaning the best way to learn is to work the jobs. As an owner, the buck stops with you, if you are short staffed one night you may have to fill in cooking and or seating tables, or serve food. It is a good idea to gain comfort with all these areas. I probably would try to find a restaurant that has management training also. Let them teach you to run a restaurant, then go pursue your own when you have the money.
Micheal is right it takes a lot of money. Other things to consider our you have to have enough to run the restaurant for a year not making any profit. So that means payroll food and alcohol, taxes, advertising etc. Owning your own restaurant is a great goal but work for a few years ot make sure that you have the passion before you invest.