Soldier survived for three weeks on onions