[Bug 2065155] Re: os-prober ignores grub devicetree statement

Tobias Heider 2065155 at bugs.launchpad.net
Fri Aug 2 10:21:24 UTC 2024


** Changed in: os-prober (Ubuntu)
     Assignee: (unassigned) => Tobias Heider (tobhe)

** Changed in: os-prober (Ubuntu)
       Status: New => Confirmed

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

Title:
  os-prober ignores grub devicetree statement

Status in os-prober package in Ubuntu:
  Confirmed

Bug description:
  os-prober doesn't recognize a grub devicetree statement which results
  in an unbootable grub entry.

  I.e. from /boot/grub/grub.cfg on /dev/nvme0n1p5:

  menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ddc4f4b5-4f16-419d-aa64-50bbafcc93ae' {
          recordfail
          load_video
          gfxmode $linux_gfx_mode
          insmod gzio
          if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
          insmod part_gpt
          insmod ext2
          search --no-floppy --fs-uuid --set=root ddc4f4b5-4f16-419d-aa64-50bbafcc93ae
          linux   /boot/vmlinuz-6.8.0-31-generic root=UUID=ddc4f4b5-4f16-419d-aa64-50bbafcc93ae ro  clk_ignore_unused pd_ignore_unused arm64.nopauth 
          initrd  /boot/initrd.img-6.8.0-31-generic
          devicetree      /boot/dtb-6.8.0-31-generic
  }

  But os-prober (running from /dev/nvme0n1p6) constructs the following
  (missing devictree line):

  menuentry 'Ubuntu 23.10 (23.10) (on /dev/nvme0n1p5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ddc4f4b5-4f16-419d-aa64-50bbafcc93ae' {
          insmod part_gpt
          insmod ext2
          search --no-floppy --fs-uuid --set=root ddc4f4b5-4f16-419d-aa64-50bbafcc93ae
          linux /boot/vmlinuz-6.8.0-31-generic root=UUID=ddc4f4b5-4f16-419d-aa64-50bbafcc93ae ro clk_ignore_unused pd_ignore_unused arm64.nopauth
          initrd /boot/initrd.img-6.8.0-31-generic
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/2065155/+subscriptions




More information about the foundations-bugs mailing list