# dpkg-reconfigure grub-pc
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-186-generic
Found initrd image: /boot/initrd.img-4.4.0-186-generic
Found linux image: /boot/vmlinuz-4.4.0-185-generic
Found initrd image: /boot/initrd.img-4.4.0-185-generic
Found linux image: /boot/vmlinuz-4.4.0-184-generic
Found initrd image: /boot/initrd.img-4.4.0-184-generic
done
I'm unable to fix this on my ubuntu 16 machine.
# debconf- get-selections | grep -E 'grub-( efi|pc) /install_ devices[ ^_]' install_ devices multiselect /dev/xvda1
grub-pc grub-pc/
# debconf- set-selections install_ devices multiselect /dev/vda1 install_ devices_ disks_changed multiselect /dev/vda1
grub-pc grub-pc/
grub-pc grub-pc/
# dpkg-reconfigure grub-pc 4.4.0-186- generic img-4.4. 0-186-generic 4.4.0-185- generic img-4.4. 0-185-generic 4.4.0-184- generic img-4.4. 0-184-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
done
When i reboot i get the default grub> prompt, and can boot by typing the correct commands from: /www.linux. com/training- tutorials/ how-rescue- non-booting- grub-2- linux/
https:/