Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Something
Monday, October 23rd, 2017 at 2:53:57pm UTC 

  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'

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus