All major distributions are switching over or have already switched over to GRUB2 , but there are few which are still using GRUB Legacy. Below is a simple method of installing GRUB Legacy on debian which can be used on other distros also using their own package managers .
- Install grub package
- Edit /boot/grub/menu.lst (Use can use for sample /usr/share/doc/grub-0.97/menu.lst)
# Sample boot menu configuration file
   # Boot automatically after 5 secs.
    timeout 5# By default, boot the first entry.
     default 0
      title Linux
  kernel /boot/vmlinuz root=/dev/sda5
  initrd /boot/initrd.img(replace /dev/sda5 with your root partition name)
- Install loader to MBR
# grub-install /dev/sda
- Reboot system to check that bootloader works properly or not 
 
 
