Ubuntu 20.04.6 LTS apt problems - how to upgrade f/w?

Colin Law clanlaw at gmail.com
Wed Nov 27 21:10:50 UTC 2024


On Wed, 27 Nov 2024 at 16:23, Nils Kassube via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
> I think you can still boot the current kernel from the boot menu of the old system because you have a menuentry there. It doesn't matter that the actually used partition is nvme0n1p6 and not nvme0n1p5. Please check the line like
>
>    set default="0"
>
> near the top of the grub.cfg file on nvme0n1p5. If the number is "8" (if I counted right) you are very likely booting with grub from the other partition.

If that is indeed what is happening then I think you need to run
sudo grub-install /dev/sdx
where /dev/sdx is the drive you are booting from (not the partition).
That will point the boot grub to the correct partition.  However, I am
no expert in this so it would be good if someone more knowledgeable
could comment in order to reduce the likelihood of ending up with a
non-bootable system.  Even then, there is always a risk with this sort
of thing that you end up requiring manual intervention to recover, so
if it would be disastrous if this happened then wait till you have
physical access.

Colin L



More information about the ubuntu-users mailing list