How can I repair grub? (How to get Ubuntu back after installing Windows?)
Hi installed W7 after Ubuntu 11.04, and it broke up my boot options, I followed this tutorial to restore boot loader: Recovering Ubuntu After Installing Windows. But when i run:
sudo grub-install --boot-directory=/media/5292fba2-f517-466d-a120-b8a61a97ca8a/boot /dev/sda2
I get this errors:
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea.. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub-setup: error: will not proceed with blocklists.
Can somebody help me with this? thanks in advance.