[Bug 2099662] Re: update-grub Segmentation fault

corrado venturini 2099662 at bugs.launchpad.net
Fri Feb 21 15:03:02 UTC 2025


On same PC update-grub from Ubuntu 24.04 says:
corrado at corrado-n4-noble:~$ sudo update-grub
[sudo] password for corrado: 
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found background image: JumpSpider-n4.png
Found linux image: /boot/vmlinuz-6.11.0-17-generic
Found initrd image: /boot/initrd.img-6.11.0-17-generic
Found linux image: /boot/vmlinuz-6.8.0-52-generic
Found initrd image: /boot/initrd.img-6.8.0-52-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p2
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p3
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p5
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p6
Found Ubuntu 24.10 (24.10) on /dev/nvme0n1p7
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p8
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p9
Found Debian GNU/Linux trixie/sid on /dev/sda4
Found Ubuntu 24.04.2 LTS (24.04) on /dev/sda5
Found Ubuntu 22.04.5 LTS (22.04) on /dev/sdb2
Adding boot menu entry for UEFI Firmware Settings ...
done
corrado at corrado-n4-noble:~$

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

Title:
  update-grub Segmentation fault

Status in grub2 package in Ubuntu:
  New

Bug description:
  running update-grub i see messages of segmentation fault and grub finds only the current OS, all other bootable partitions are not found despite os-prober is called.
  On the same PC I have various partitions with Ubuntu Plucky, Noble, Jammy and Debian 
  corrado at corrado-n9-pp-0128:~$ sudo update-grub
  Sourcing file `/etc/default/grub'
  Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
  Generating grub configuration file ...
  Found background image: JumpSpider-n9.png
  Found linux image: /boot/vmlinuz-6.12.0-15-generic
  Found initrd image: /boot/initrd.img-6.12.0-15-generic
  Found linux image: /boot/vmlinuz-6.12.0-12-generic
  Found initrd image: /boot/initrd.img-6.12.0-12-generic
  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 be executed to detect other bootable partitions.
  Its output will be used to detect bootable binaries on them and create new boot entries.
  find: Failed to restore initial working directory: /home/corrado: Permission denied
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Adding boot menu entry for UEFI Firmware Settings ...
  done
  corrado at corrado-n9-pp-0128:~$ 

  attaching default/grub

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: grub2-common 2.12-5ubuntu7
  ProcVersionSignature: Ubuntu 6.12.0-15.15-generic 6.12.11
  Uname: Linux 6.12.0-15-generic x86_64
  ApportVersion: 2.31.0+git20250220-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Feb 21 08:12:20 2025
  InstallationDate: Installed on 2025-01-28 (24 days ago)
  InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Daily amd64 (20250107)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list