Ubuntu 20.04.6 LTS apt problems - how to upgrade f/w?
Bo Berglund
bo.berglund at gmail.com
Wed Nov 27 11:23:10 UTC 2024
On Wed, 27 Nov 2024 10:24:23 +0000, Colin Law <clanlaw at gmail.com> wrote:
>On Wed, 27 Nov 2024 at 09:51, Bo Berglund <bo.berglund at gmail.com> wrote:
>
>> >> This is driving me nuts...
>
>Everything so far has been explainable except why it is not working
>with default=0
>What do these commands show?
$ 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
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?
Partition usage for this Ubuntu:
Partition Mount point Size
--------------------------------------
/dev/nvme0n1p1 /boot/efi 256M
/dev/nvme0n1p6 / 30G
/dev/nvme0n1p7 /var/lib/svn 79G
/dev/nvme0n1p8 /home 259G
I have the /home on a separate partition to not clutter the operating system
with userdata (lots of it). Likewise the Subversion server data is on a separate
partition.
The disk holds other stuff as well for example a Windows10 managing UEFI so I
must keep it should I ever need to go into the hardware BIOS.
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list