This can be done wherever there is a magnetic ceiling, such as the first one encountered in Death Mountain Mines.
First equip the boots to the D-pad but donít put them on. Go under the magnetic field and equip the boots. In mid flight up to the ceiling press the - button and put an item where the iron boots were on the D-pad, and make sure the Iron boots are not anywhere on the D-Pad. Unpause the game and finish flying onto the ceiling. You should be on the ceiling with the Iron boots off and you will stay there and be able to walk faster.
To get down walk off the magnetic part of the ceiling or equip and unepuip the Iron Boots.