Advertisement
Guest User

Untitled

a guest
Dec 12th, 2014
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #Install Grub Using Chroot
  2. Determine your normal system partition. The following commands may be helpful. The fdisk switch is a lowercase "L".
  3. Some helpful commands,
  4. 'sudo fdisk -l'
  5. 'sudo blkid'
  6. 'df -Th'
  7. Mount your normal system partition. X is the drive letter.
  8. Y is the partition number
  9. Substitute the correct partition: sda1, sdb5, etc.
  10. 'sudo mount /dev/sdXY /mnt'
  11. Chroot into your normal system device:
  12. 'sudo chroot /mnt'
  13. Reinstall GRUB 2 (substitute the correct device with sda, sdb, etc. Do not specify a partition number)
  14. 'grub-install --recheck /dev/sdX'
  15. Recreate the GRUB 2 menu file (grub.cfg)
  16. 'update-grub'
  17. Exit chroot: CTRL-D on keyboard
  18. Reboot is required,
  19. 'sudo reboot'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement