The major scale contains seven modes. They are, from the first up (in the key of C Major):

The guitar pattern for the scale is:

======
##||||
||##||
######
||||||
######
||||##
||||||
||||||
||||||

The bass pattern for the scale is:

====
##||
||##
####
||||
####
||||
||||
||||
||||

The piano pattern for the scale is:

C  D  E  F  G  A  B  C
1  2  3  1  2  3  4  5

Source: The Keyboard Grimoire (book), Advanced Scale Concepts and Licks for Guitar (book