This is a very helpful page for learning the major pentatonic scale for guitar. The images below covers all the major pentatonic scale patterns in all positions on guitar. (guitar major pentatonic scale five positions) You can easily pass one position to other and practice all the major pentatonic scale guitar positions using this page. The sample scale is given in G and all the red notes refers to root note.
You can practice these major pentatonic box patterns just shifting the position (using a different root note). We recommend you to memorize this box patterns in string and position pairs like 3th position-root is on A string, and so on.
Another good thing for you to practice is to open How to play intervals on guitar fretboard lesson and try to understand the intervals used in major pentatonic scale. It also will improve your ability to find intervals on guitar fretboard.
And again please remember to practice all these major pentatonic scale patterns in all keys. Get your guitar, turn on the radio and find the key of a song, try major blues scale, minor blues scale or pentatonic scales over it.
Good luck !!