Reinstalling GRUB: Difference between revisions

From RAJ INFO
Jump to navigation Jump to search
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…'
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Tips]]
[[Category:Tips]]
 
Boot from live CD
<pre>
<pre>
sudo -i
sudo -i
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