re-install grub to boot into linux system

Primary tabs

re-install grub to boot into linux system

Topic: 
System Administration

1. boot into live cd

 

2. get the partition id of your '/' filesystem. ex. /dev/sda1

 

3. mount it somewhere:

 

mount /dev/sda1 /mnt

 

4. re-install grub: NOTE: dont use partition ID, use the drive that partition is on.  Ex.  /dev/sda

 

grub-install --root-directory=/mnt/ /dev/sda

 

 

security: