Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lubuntu@lubuntu:~$ sudo mount /dev/sda2 /mnt
- lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
- lubuntu@lubuntu:~$ sudo mount --bind /proc /mnt/proc
- lubuntu@lubuntu:~$ sudo mount --bind /sys /mnt/sys
- lubuntu@lubuntu:~$ sudo chroot /mnt
- root@lubuntu:/# grub-install --target=i386-pc --recheck /dev/sda
- Installing for i386-pc platform.
- Installation finished. No error reported.
- root@lubuntu:/# update-grub
- Generating grub configuration file ...
- Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
- Found linux image: /boot/vmlinuz-4.4.0-24-generic
- Found initrd image: /boot/initrd.img-4.4.0-24-generic
- Found linux image: /boot/vmlinuz-4.4.0-21-generic
- Found initrd image: /boot/initrd.img-4.4.0-21-generic
- Found memtest86+ image: /boot/memtest86+.elf
- Found memtest86+ image: /boot/memtest86+.bin
- Found Windows 7 (loader) on /dev/sda1
- done
- root@lubuntu:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement