We are going to purge and then reinstall grub to mbr:
Put in Live Cd or Usb and use Try Ubuntu and with internet working. (firefox works to get online)
Now copy and paste these one at a time.
Code:
Code:
sudo mount /dev/sda1 /mnt
Code:
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
Code:
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
Should get update with no errors, if errors your internet was not working in live cd or usb
Code:
apt-get purge grub grub-common grub-pc
Code:
apt-get install grub-common grub-pc
Use tab to toggle and say OK to put in sda
Code:
grub-install /dev/sda
above redundant but just in case
Code:
for i in /dev/pts /dev /proc /sys; do sudo umount /mnt$i ; done
A few redundant commands but just want to make sure it is in sda and updated.
Bookmarks