Following command to see the system partition>>
andriest@FOSSil:~$ sudo fdisk-l
Then mount the Linux partition system>>
andriest@FOSSil:~$ sudo mount /dev/sdXY/ /mnt
Example>>:~$ sudo mount /dev/sda1 /mnt
To reinstall Grub2>>
andriest@FOSSil:~$ sudo grub-install –root-directory=/mnt/ /dev/sda
Unmount the partition>>
andriest@FOSSil:~$ sudo umount /dev/sdaX
Reboot

0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.