So this is how it goes. In a terminal:
Code: Select all
sudo cp /etc/default/grub /etc/default/grub.old
sudo cp -R /etc/grub.d /etc/grub.d.old
sudo cp -R /boot/grub /boot/grub.old
Code: Select all
sudo apt-get purge grub-pc
Code: Select all
sudo apt-get install grub
Code: Select all
sudo update-grub
Code: Select all
sudo grub-install /dev/sdX
(eg /dev/sda6) that will install grub to partition sda6.
Up till now this has been exactly the same as the Ubuntu docs, but they now tell you to reboot DON'T!
The reason is that your new menu.lst file although created is not properly written (I think the reason is that it gets confused with grub2 notation, not sure but it certainly won't boot yet anyway), so,
Code: Select all
sudo gedit /boot/grub/menu.lst
The newly created file looks a bit like this (I have altered mine a bit so it won't be identical):
title Linux Mint 8 Helena - Fluxbox CE, kernel 2.6.31-20-generic
uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
kernel /boot/vmlinuz-2.6.31-20-generic root=LABEL=spare3 ro nosplash
initrd /boot/initrd.img-2.6.31-20-generic
title Chainload into GRUB 2
uuid xxxxxxxxxxxxxxxxxxxxxxxxx
kernel /boot/grub/core.img
The lines in red are the errors so change 'uuid' to 'root' and the actual uuid number to the format (hdx,y) so it looks like this (of course it helps if you know the correct partition number for your machine!)
title Linux Mint 8 Helena - Fluxbox CE, kernel 2.6.31-20-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.31-20-generic root=LABEL=spare3 ro nosplash
initrd /boot/initrd.img-2.6.31-20-generic
title Chainload into GRUB 2
root (hd0,5)
kernel /boot/grub/core.img
Then you can boot, and you will actually have a choice of booting with grub legacy or grub2 although grub legacy will be in control of the boot process.