You can cook all the hamburger you like and dry it. We've done it for years. It keeps a long time. I can't tell you how long exactly since we eat it regularly, but we've had some for over a year in the pantry and several years in the freezer.
We started with the Hungry Hiker's cookbook
and have dried tons of meals and/or ingredients for meals from when we were tent camping.
We got a free Ronco dehydrator by sitting through a timeshare campground sales pith over twenty years ago. It's still going strong!