Skip to content

reinstall grub

CLearing:

FOr new ubuntu, debian versions:aptitude reinstall grub2-common grub-pc-bin grub-common after that: aptitude reinstall linux-image-3.16.0-4-amd64 - > look in apt-cache policy linux-image* what is new kernel

aftert that:

update-grub and grub-install -> you need to specify in some strange cases /dev/hardisklinux

sudo update-initramfs -u -k all

sudo update-grub

for old ubuntu, debian versions:

aptitude reinstall grub2-common grub-pc-bin grub-gfxpayload-lists grub-common

aptitude reinstall linux-image-3.16.0-4-amd64 - > look in apt-cache policy linux-image* what is new kernel

update-grub and grub-install

sudo update-initramfs -u -k all

sudo update-grub

Edited by peturbg