daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest May 8th, 2012 16 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo -s
  2. cd /mnt
  3. mkdir slash
  4. #/dev/sdX is the drive you want to restore grub on
  5. mount /dev/sdX slash
  6. mount /dev/sdX/boot slash/boot
  7. mount -t proc none slash/proc
  8. mount --bind /dev slash/dev
  9. mount --bind /sys slash/sys
  10. chroot slash
  11. #/dev/sdX is still the drive you want to restore grub on
  12. sudo update-grub /dev/sdX
  13. exit
  14. telinit 6
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top