I found it easier to remove the pedal box when doing the clutch M Cylinder it might be the same for the brake, especially if you’re working alone.
 
just had problem removing bottom flange bolt on 2a master cyl had to remove pedal box.to avoid this problem in future i welded the bolt onto the pedal box making it easy to remove.
 

Similar threads