Using grub-legacy in Debian 6.0 Onwards


Debian 6.0 onwards on amd64 and i386 uses the grub-pc (Grub 2) boot loader by default. It's large and over complicated if you only want to boot a single operating system. Changing to the simpler grub-legacy can be done with the following commands:

apt-get --purge remove grub-pc

apt-get install grub-legacy

grub-install /dev/sda 


The above commands remove grub-pc along with all of its configuration files, and install grub-legacy in the Master Boot Record (MBR) of the first hard disk /dev/sda. If you want it somewhere else, modify the grub-install line accordingly. The update-grub command generates the /boot/grub/menu.lst file, without which the system won't boot, so don't leave it out.

Index       Contact

Last updated January 13 2016