The two media method used to determine the linear attenuation coefficients of irregularly shaped samples without the knowledge of the thickness of the sample has been verified. The linear attenuation coefficient values of regularly and irregularly shaped flyash material samples have been measured by the two media method using five different materials as media. The obtained values of the linear attenuation coefficient were compared with the results of the standard narrow beam gamma-ray transmission method. The results were in good agreement.