解:由题意,设这个立方体的表面边长为$a\mathrm {cm}$
$a=\sqrt 2x,$$EF=\sqrt 2a=2x\mathrm {cm}$
∴$x+2x+x=24,$$x=6$
∴$a=6\sqrt 2$
∴$V=a^3=(6\sqrt 2)^3=432\sqrt 2\ \mathrm {cm^3}$
$(2)$设该包装盒的表面边长为$a\mathrm {cm},$高为$h\mathrm {cm}$
∴$a=\sqrt 2x,$$h=\frac {24-2x}{\sqrt 2x}=\sqrt 2(12-x)$
∴$S=4ah+a^2=-6(x-8)^2+384$
∵$0<x<12$
∴当$x=8$时,面积$S$最大为$384\ \mathrm {cm^2}$