Grub2

From wikinotes
grub-install /dev/sda						# install grub into MBR
grub-mkconfig -o /boot/grub/grub.cfg	# generate grub.cfg from /etc/grub.d/*

### os-prober
# You may also want to install "os-prober" package which integrates 
# with "grub-mkconfig" and adds OS's to the 30_os-prober section.

### custom grub2 entries
# Each file in '/etc/grub.d/' is a shell script that is run to generate
# the final '/boot/grub/grub.cfg' which is the final generated list of 
# entries when grub is loaded.
#
# You can disable any one of these simply by making it no longer executable
# ex:   chmod -x /etc/grub.d/40-custom
#
# To Create Custom Entries
# custom grub2 entries can be entered in '/etc/grub.d/40-custom'
# A simple grub menu entry example is:

menuentry "Windows 7" {
  set root=(hd0,3)
  chainloader (hd0,3)+1
}