Guest User

Untitled

a guest
Jan 21st, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #first I mount my ext2 partition which is on sdb partition 4
  2. sudo mount -o rw /dev/sdb4 /mnt
  3. #then I install grub in my partition
  4. sudo grub-install --root-directory=/mnt /dev/sdb
  5. sudo chmod 777 -R /mnt
  6. #then I configure grub to have the OS list
  7. sudo grub-mkconfig -o /mnt/boot/grub/grub.cfg
  8. grub
  9. # this part is supposed to make my new grub work.
  10. root (hd1,3) # 3 is 4 - 1
  11. setup (hd1) # 1 is 2 for sdb - 1
  12. quit
  13. sudo update-grub
  14. reboot
Add Comment
Please, Sign In to add comment