SHARE
TWEET

Untitled

a guest Aug 12th, 2017 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo mount /dev/sdb1 /mnt
  2. sudo mount /dev/sdb2 /mnt/home
  3. sudo mount --bind /dev /mnt/dev
  4. sudo mount --bind /proc /mnt/proc
  5. sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
  6. sudo chroot /mnt
  7.  
  8.  
  9. nano -w /etc/default/grub
  10. grub-update
  11.  
  12.  
  13. grub-install /dev/sdb
  14.  
  15.  
  16. grub-install --recheck /dev/sdb
RAW Paste Data
Top