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

Colin Law clanlaw at gmail.com
Wed Nov 27 11:43:58 UTC 2024


On Wed, 27 Nov 2024 at 11:24, Bo Berglund <bo.berglund at gmail.com> wrote:
>
> $ ls -l /etc/default/grub
> -rw-r--r-- 1 root root 1225 Nov 27 10:13 /etc/default/grub
>
> $ ls -l /boot/grub/grub.cfg
> -r--r--r-- 1 root root 15007 Nov 27 10:14 /boot/grub/grub.cfg

That looks ok.

>
>
> The file grub.cfg contains a lot of lines and I have found a line named "submenu
> 'Advanced options for Ubuntu' "
>
> following which the menu content seems to be listed as a number og "menuentry"
> lines.
>
> grep "menuentry " /boot/grub/grub.cfg
> gives these lines (truncated):
>
> menuentry 'Ubuntu, with Linux 5.15.0-126-generic'
> menuentry 'Ubuntu, with Linux 5.15.0-126-generic (recovery mode)'
> menuentry 'Ubuntu, with Linux 5.4.0-200-generic'
> menuentry 'Ubuntu, with Linux 5.4.0-200-generic (recovery mode)'
> menuentry 'Ubuntu, with Linux 5.4.0-89-generic'
> menuentry 'Ubuntu, with Linux 5.4.0-89-generic (recovery mode)'
>
> menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)'
> menuentry 'Ubuntu 20.04.3 LTS (20.04) (on /dev/nvme0n1p5)'
> menuentry 'Ubuntu (on /dev/nvme0n1p5)'
> menuentry 'Ubuntu, with Linux 5.11.0-38-generic (on /dev/nvme0n1p5)'
> menuentry 'Ubuntu, with Linux 5.11.0-38-generic (recovery mode) (on
> /dev/nvme0n1p5)'
> menuentry 'Ubuntu, with Linux 5.11.0-27-generic (on /dev/nvme0n1p5)'
> menuentry 'Ubuntu, with Linux 5.11.0-27-generic (recovery mode) (on
> /dev/nvme0n1p5)'
>
> If one discards the entries containing (on /dev/nvme0n1p5) then the last entry
> seems to be 5.4.0-89-generic....
>
> I wonder why "/dev/nvme0n1p5" is there?

Do you have that drive with a bootable system on it?  If so then that
is why it is there.

I am running out of ideas here.  Can you post the full output from
sudo update-grub please in case there is something there that helps.

Colin L.



More information about the ubuntu-users mailing list