Sunday, September 19, 2010

Linux: How to Replace Grub2 with Grub Legacy

RHEL 6 Beta 2 is still pushing grub legacy forward. No doubt it's going to stay with RHEL for some couple of years more. It somehow gives a little hint that grub2 is still little too complicated and experimental. However, if you are not that panicky Redhat/Centos person, you will get grub2 imposed upon you. Because the the rest of the distributions in Linux world has already been moved to grub2 land of boot configuration.

If you are one among those looking to replace grub2 with grub legacy, follow the few steps to achieve just that. The steps here pertain to Debian Testing, Ubuntu, Mint and other Debian/Ubuntu derivatives. You might have to change the steps as per your special distribution and its packaging system.

  • Open a terminal, be the super user - sudo su if you are using Ubuntu and the likes, su for pure debian and the rest
  • Remove grub2 - apt-get remove grub-pc
  • Instal grub legacy - apt-get install grub
  • Install grub in MBR or wherever you think appropriate for your condition - grub-install /dev/sdx (replace "x" with appropriate character as per your partition tree)
  • Update grub legacy - update-grub

Have a look at my menu.lst (click on the screenshot below) file in grub legacy on Ubuntu Lucid setup. Is not it simple and sane?

No comments:

Share your thoughts