daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Jan 30th, 2012 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Boot into the Ubuntu Live CD and run a few commands.
  2.  
  3. First, identify which is the Ubuntu partition:
  4.  
  5. sudo fdisk -l
  6.  
  7. Next, mount it (replacing sda2 with the appropriate partition number):
  8.  
  9. sudo mount /dev/sda2 /mnt
  10.  
  11. And finally, reinstall Grub (replacing sda with the appropriate hard drive):
  12.  
  13. sudo grub-install --root-directory=/mnt /dev/sda
  14.  
  15. Now, run this:
  16.  
  17. sudo update-grub
  18.  
  19. This should detect your Ubuntu installation and add it to the Grub menu.
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top