Skip to content

Categories:

Reinstalling Grub2 with Live CD or USB

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

Posted in Gudang Linux.

Tagged with , , , , , , .


0 Responses

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



Some HTML is OK

or, reply to this post via trackback.