Using grub-legacy on Debian 6.0


Index

Debian 6.0 on amd64 and i386 uses the grub-pc (Grub 2) boot loader by default. It's complicated and there are still some problems with setting grub passwords. Changing to the simpler grub-legacy can be done with the following commands:

apt-get remove grub-pc

dpkg --purge grub-pc 

apt-get install grub-legacy

grub-install /dev/sda 

update-grub 


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 November 14 2011