Reinstalling GRUB

From RAJ INFO
Revision as of 13:49, 22 July 2010 by Raj (talk | contribs) (Created page with 'Category:Tips <pre> sudo -i sudo mount /dev/sdXY /mnt/boot sudo grub-install --root-directory=/mnt /dev/sdX </pre> Reboot the system * Note ** do a fdisk -l to see where it…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


sudo -i
sudo mount /dev/sdXY /mnt/boot
sudo grub-install --root-directory=/mnt /dev/sdX

Reboot the system

  • Note
    • do a fdisk -l to see where it was alrady installed (sda or sdb)
    • the boot partition should be in the same partition