Restore Grub2 from LiveCD / USB.
This week he installed Backtrack 4 en un Netbook Acer Aspire One ZG5, as I have to take advantage of the swap partition I made a partition with Gparted and then I did a manual installation by specifying the / Root and SWAP systems installed unspecified error on my part but problem solved, the consequence is that only came out at boot Backtrack 4 console solution within Backtrack 4,but the other option for it can not come in any other system with a LiveCD or USB.
1- Boot the LiveCD with USB
2- Open the console and type:
sudo fdisk-l (sample partitions)
2- Mount the partition with Ubuntu Linux installed (replace X by the number corresponding to the partition, for example if sda1, 1 would be the number to change by X):
sudo mount /dev/sdax /mnt (in / mnt mounting the partition where your Linux)
3- We proceed to mount the other devices:
sudo mount --bind /dev /mnt/dev
4- Root access to everything mounted
sudo chroot /mnt
5- This is the penultimate step and there's no need to change anything, as sda leave this without adding more:
grub-install --recheck / dev / sda
6- Reboot normally, since LiveCD.
7- Already in on your Ubuntu and seeing that everything is correct, open a console and update the Grub:
If does not work then install:
sudo aptitude install grub
That's all for today.