docs icon indicating copy to clipboard operation
docs copied to clipboard

Repair the Bootloader advice can prevent boot

Open sylvain-ilm opened this issue 11 months ago • 0 comments

Hi,

The advice to reinstall the linux-image-generic and linux-headers-generic packages can cause problems. The problem occurs because the --reinstall option, as stated by the man page, "Re-install at the newest version." So if the system is not completely up to date, "apt --reinstall" will cause the linux kernel to be newer than the modules, thus preventing the boot. In my case apt --reinstall caused the upgrade from linux-image-generic:amd64 6.9.3.76060903.202405300957~1721174657~22.04~abb7c06 to 6.9.3.76060903.202405300957~1732141768~22.04~f2697e1. But linux-modules-6.9.3-76060903-generic stayed at 6.9.3-76060903.202405300957~1721174657~22.04~abb7c06. After apt dist-upgrade I could boot again.

Cheers.

sylvain-ilm avatar Feb 05 '25 17:02 sylvain-ilm