Advertisement
Guest User

gero

a guest
Aug 26th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. lubuntu@lubuntu:~$ sudo mount /dev/sda2 /mnt
  2. lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
  3. lubuntu@lubuntu:~$ sudo mount --bind /proc /mnt/proc
  4. lubuntu@lubuntu:~$ sudo mount --bind /sys /mnt/sys
  5. lubuntu@lubuntu:~$ sudo chroot /mnt
  6. root@lubuntu:/# grub-install --target=i386-pc --recheck /dev/sda
  7. Installing for i386-pc platform.
  8. Installation finished. No error reported.
  9. root@lubuntu:/# update-grub
  10. Generating grub configuration file ...
  11. Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  12. Found linux image: /boot/vmlinuz-4.4.0-24-generic
  13. Found initrd image: /boot/initrd.img-4.4.0-24-generic
  14. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  15. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  16. Found memtest86+ image: /boot/memtest86+.elf
  17. Found memtest86+ image: /boot/memtest86+.bin
  18. Found Windows 7 (loader) on /dev/sda1
  19. done
  20. root@lubuntu:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement