Está en la página 1de 1

sudo fdisk -l

sudo mount -t ext4 /dev/sda5 /mnt

sudo mount --bind /dev /mnt/dev

sudo mount --bind /dev/pts /mnt/dev/pts

sudo mount --bind /proc /mnt/proc

sudo mount --bind /sys /mnt/sys

sudo chroot /mnt

grub-mkconfig -o /boot/grub/grub.cfg

grub-install --recheck /dev/sda

--------------------------------- -- ----------

mint@mint ~ $ sudo mount -t ext4 /dev/sda2 /mnt

mint@mint ~ $ sudo mount --bind /dev /mnt/dev

mint@mint ~ $ sudo mount --bind /dev/pts /mnt/dev/pts

mint@mint ~ $ sudo mount --bind /proc /mnt/proc

mint@mint ~ $ sudo mount --bind /sys /mnt/sys

mint@mint ~ $ sudo chroot /mnt

root@mint / # grub-mkconfig -o /boot/grub/grub.cfg


Generating grub configuration file ...
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
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found Windows 7 (loader) on /dev/sda1
done
root@mint / # grub-install --recheck /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
root@mint / #