Reinstalling GRUB: Difference between revisions

From RAJ INFO
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 9: Line 9:


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

Latest revision as of 13:50, 22 July 2010

Boot from live CD

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 (in home computer it was sda5)
    • the boot partition should be in the same partition