[Bug 1353683] [NEW] Incorrect entries in grub2 menu for another Ubuntu distro

Pavel pavel-verteletskiy at yandex.ru
Wed Aug 6 20:44:22 UTC 2014


Public bug reported:

Linux-boot-prober in Precise outputs the next entries for Ubuntu Quantal
on another partition (/dev/sda1):

/dev/sda1:/dev/sda1:Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-51-generic:/boot/initrd.img-3.5.0-51-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro quiet
/dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-51-generic-advanced-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-51-generic:/boot/initrd.img-3.5.0-51-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro quiet
/dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-51-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-51-generic-recovery-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-51-generic:/boot/initrd.img-3.5.0-51-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro recovery nomodeset
/dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-49-generic-advanced-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-49-generic:/boot/initrd.img-3.5.0-49-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro quiet
/dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-49-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-49-generic-recovery-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-49-generic:/boot/initrd.img-3.5.0-49-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro recovery nomodeset

As a result I have 5 menuentries with incorrect titles instead of one
entry for booting Quantal with the last kernel (3.5.0-51) and instead of
a submenu including 4 entries for 2 installed in Quantal versions of the
kernel (3.5.0-49 and 3.5.0-51).  As I understand, the current version of
os-prober in Precise takes entries from my grub.cfg file generated in
Quantal and stored on /dev/sda1 (the partition where Quantal is
installed) so I attach the grub.cfg entries generated by 10_linux script
in Quantal. I have the latest versions of the grub2 packages and os-
prober package in Quantal.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: os-prober 1.51ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-67.101-generic 3.2.60
Uname: Linux 3.2.0-67-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Thu Aug  7 00:03:17 2014
MarkForUpload: True
ProcEnviron:
 LANGUAGE=ru_RU
 TERM=xterm
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: os-prober
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: os-prober (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug grub precise quantal

** Attachment added: "grub.cfg entries generated by 10_linux script in Quantal"
   https://bugs.launchpad.net/bugs/1353683/+attachment/4171435/+files/grub-entries_10-linux_quantal.txt

** Summary changed:

- incorrect entries in grub2 menu for another ubuntu distro
+ Incorrect entries in grub2 menu for another Ubuntu distro

-- 
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/1353683

Title:
  Incorrect entries in grub2 menu for another Ubuntu distro

Status in “os-prober” package in Ubuntu:
  New

Bug description:
  Linux-boot-prober in Precise outputs the next entries for Ubuntu
  Quantal on another partition (/dev/sda1):

  /dev/sda1:/dev/sda1:Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-51-generic:/boot/initrd.img-3.5.0-51-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro quiet
  /dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-51-generic-advanced-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-51-generic:/boot/initrd.img-3.5.0-51-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro quiet
  /dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-51-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-51-generic-recovery-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-51-generic:/boot/initrd.img-3.5.0-51-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro recovery nomodeset
  /dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-49-generic-advanced-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-49-generic:/boot/initrd.img-3.5.0-49-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro quiet
  /dev/sda1:/dev/sda1:Ubuntu, с Linux 3.5.0-49-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-49-generic-recovery-bcd70963-01d2-45ec-83ea-2aaf820470be:/boot/vmlinuz-3.5.0-49-generic:/boot/initrd.img-3.5.0-49-generic:root=UUID=bcd70963-01d2-45ec-83ea-2aaf820470be ro recovery nomodeset

  As a result I have 5 menuentries with incorrect titles instead of one
  entry for booting Quantal with the last kernel (3.5.0-51) and instead
  of a submenu including 4 entries for 2 installed in Quantal versions
  of the kernel (3.5.0-49 and 3.5.0-51).  As I understand, the current
  version of os-prober in Precise takes entries from my grub.cfg file
  generated in Quantal and stored on /dev/sda1 (the partition where
  Quantal is installed) so I attach the grub.cfg entries generated by
  10_linux script in Quantal. I have the latest versions of the grub2
  packages and os-prober package in Quantal.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: os-prober 1.51ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-67.101-generic 3.2.60
  Uname: Linux 3.2.0-67-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Thu Aug  7 00:03:17 2014
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=ru_RU
   TERM=xterm
   PATH=(custom, no user)
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: os-prober
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list