As an employee of a major tyre brand, a 25mm rim is either too narrow, too wide or absolutely spot on for a 2.4″ tyre… Depending on who you speak to…
Certainly there’s a reason most DH rims are still around 25mm wide internal width and the tyres are in the 2.4-2.5″ range. I know Chris Porter is a big fan of DT Swiss EX471 rims and 2.3-2.4″ tyres and have conversed in detail with him about the “fashion led” reasons behind wider rims that have in some cases forced the hand of some tyre manufacturers to make their tyres work better on wider rims when they already worked very well on narrower rims.
Anyway… The real answer is I wouldn’t obsess about it. For sure, there’s differences between 2.4″ tyres, some are wider than others, some more aggressive. But if your rim is anywhere in the 25-30mm internal width range, the tyre is going to work just fine and you’ve nothing to worry about. If it’s wider than 30mm it’ll probably still be fine to a point, albeit it’ll be a little squarer than ideal, and narrower than 25mm it’ll still work fine it’s just it might be a little more susceptible to tyre roll under hard cornering than on a wider rim. I’ve run a 2.8″ Michelin Comp 32 back in the day on a 21mm internal Mavic 821 rim and it didn’t kill me, and I have friends who’ve ridden 2.3″ High Rollers on 35mm internal width rims too and they’re still alive… Even if their bikes were a little hard to turn and stood up on their own when they dismounted them! 😉