its more than likely that the center viscus coupling in your gearbox is shot.
this small unit is what transfers torque to the front wheels via a chain inside the gearbox and transferbox.it is the drive to the front wheels that will be lost,you will always have rearwheel drive
if this is the case i,m afraid its a box removal and coupling replacement,or a recon one from a specialist.