[Bug 2086843] Re: Grub creates spurious entries in the menu

Rick S 2086843 at bugs.launchpad.net
Wed Dec 11 16:30:50 UTC 2024


T add to this, on my machine NO multi-boot.
update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: vmlinuz-6.11.0-8-generic in rpool/ROOT/ubuntu_a1d4up
Found initrd image: initrd.img-6.11.0-8-generic in rpool/ROOT/ubuntu_a1d4up
Found linux image: vmlinuz-6.11.0-8-generic in rpool/ROOT/ubuntu_a1d4up at 12-10
Found initrd image: initrd.img-6.11.0-8-generic in rpool/ROOT/ubuntu_a1d4up at 12-10
Found linux image: vmlinuz-linux-cachyos-bore-lto in zpcachyos/ROOT/cos/root
Warning: Couldn't find any valid initrd for dataset zpcachyos/ROOT/cos/root.
Found linux image: vmlinuz-linux-cachyos in zpcachyos/ROOT/cos/root
Warning: Couldn't find any valid initrd for dataset zpcachyos/ROOT/cos/root.
Warning: didn't find any valid initrd or kernel.
Found linux image: vmlinuz-linux-cachyos-bore-lto in zpcachyos/ROOT/cos/root at 11-7
Warning: Couldn't find any valid initrd for dataset zpcachyos/ROOT/cos/root at 11-7.
Found linux image: vmlinuz-linux-cachyos in zpcachyos/ROOT/cos/root at 11-7
Warning: Couldn't find any valid initrd for dataset zpcachyos/ROOT/cos/root at 11-7.
Warning: didn't find any valid initrd or kernel.
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

ClI for grub

  * awk -F\' '$1=="menuentry " || $1=="submenu " {print i++ " : " $2}; /\smenuentry / {print "\t" i-1">"j++ " : " $2};' /boot/grub/grub.cfg
0 : Ubuntu Plucky Puffin (development branch)
1 : Advanced options for Ubuntu Plucky Puffin (development branch)

more on that here
   *awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg 
[sudo] password for me: 
Revert system only
Revert system and user data
Revert system only (recovery mode)
Revert system and user data (recovery mode)
Ubuntu Plucky Puffin (development branch)
Ubuntu Plucky Puffin (development branch), with Linux 6.11.0-8-generic
Ubuntu Plucky Puffin (development branch), with Linux 6.11.0-8-generic (recovery mode)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-unsigned in Ubuntu.
https://bugs.launchpad.net/bugs/2086843

Title:
  Grub creates spurious entries in the menu

Status in grub2-unsigned package in Ubuntu:
  Confirmed

Bug description:
  Selecting 'advanced options' in the grub menu for my Ubuntu 24.10 I see some spurious entries in the menu displayed.
  see attached image.  
  boot partition for same os is:
  corrado at corrado-n4-noble:/media/corrado$ ls -alh /media/corrado/n7-oracular/boot/
  total 178M
  drwxr-xr-x  4 root root 4.0K Oct 25 15:34 .
  drwxr-xr-x 20 root root 4.0K Oct 30 09:28 ..
  -rw-r--r--  1 root root 286K Sep 16 14:04 config-6.11.0-8-generic
  -rw-r--r--  1 root root 286K Oct 14 13:20 config-6.11.0-9-generic
  drwxr-xr-x  2 root root 4.0K Oct 15 13:48 efi
  drwxr-xr-x  5 root root 4.0K Nov  4 14:52 grub
  lrwxrwxrwx  1 root root   27 Oct 25 15:34 initrd.img -> initrd.img-6.11.0-9-generic
  -rw-r--r--  1 root root  65M Oct 25 15:34 initrd.img-6.11.0-8-generic
  -rw-r--r--  1 root root  65M Oct 25 15:34 initrd.img-6.11.0-9-generic
  lrwxrwxrwx  1 root root   27 Oct  9 15:19 initrd.img.old -> initrd.img-6.11.0-8-generic
  -rw-r--r--  1 root root 140K Apr  8  2024 memtest86+ia32.bin
  -rw-r--r--  1 root root 141K Apr  8  2024 memtest86+ia32.efi
  -rw-r--r--  1 root root 145K Apr  8  2024 memtest86+x64.bin
  -rw-r--r--  1 root root 146K Apr  8  2024 memtest86+x64.efi
  -rw-------  1 root root 9.2M Sep 16 14:04 System.map-6.11.0-8-generic
  -rw-------  1 root root 9.2M Oct 14 13:20 System.map-6.11.0-9-generic
  lrwxrwxrwx  1 root root   24 Oct 25 15:34 vmlinuz -> vmlinuz-6.11.0-9-generic
  -rw-------  1 root root  15M Sep 16 14:06 vmlinuz-6.11.0-8-generic
  -rw-------  1 root root  15M Oct 14 13:40 vmlinuz-6.11.0-9-generic
  lrwxrwxrwx  1 root root   24 Oct  9 15:19 vmlinuz.old -> vmlinuz-6.11.0-8-generic

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: grub-efi-amd64 2.12-1ubuntu7
  ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
  Uname: Linux 6.8.0-48-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Nov  7 09:23:00 2024
  InstallationDate: Installed on 2024-10-29 (9 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: grub2-unsigned
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2086843/+subscriptions




More information about the foundations-bugs mailing list