jump to navigation

Recovering Grub 2 after installing other OS April 10, 2010

Posted by viboon in : Ubuntu , trackback

Boot with live CD and enter the below command in the terminal.

mount | tail -1

You will get something like this:

/dev/sda2 on /media/0d104aff-ec8c-44c8-b811-92b993823444
type ext4 (rw,nosuid,nodev,uhelper=devkit)

Install grub to the mounted drive.

sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-
b811-92b993823444 /dev/sda

Finally, update grub.

sudo update-grub2

Ref: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Tags: , ,

Related posts:


no comments yet - be the first?