[Bug 810883] [NEW] [Natty] Generating grub.cfg takes way too long

Lex Ross lross at mail.ru
Fri Jul 15 06:08:36 UTC 2011


Public bug reported:

Ever since updating to 11.04 (Natty) update-grub takes 10-12 minutes to generate grub.cfg
In fact, I had aborted my first attempt to upgrade the system thinking that it had failed at that point.

To date, I am using 64-bit kernel 2.6.38-8-generic and grub-probe
version 1.99~rc1-13ubuntu3 and I can see exact the same problem on each
kernel upgrade. The reason is a mystery to me as the upgrade log comes
clean like this,

run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-10-generic
Found initrd image: /boot/initrd.img-2.6.38-10-generic
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /memtest86+.bin
done

It's just a long wait (10-12 minutes) after "Generating grub.cfg ..."
message, as if update-grub would have froze.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Jul 15 09:57:05 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 LANGUAGE=ru:en
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to natty on 2011-04-15 (90 days ago)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty running-unity

** Description changed:

  Ever since updating to 11.04 (Natty) update-grub takes 10-12 minutes to generate grub.cfg
  In fact, I had aborted my first attempt to upgrade the system thinking that it had failed at that point.
  
  To date, I am using 64-bit kernel 2.6.38-8-generic and grub-probe
- version 1.99~rc1-13ubuntu3 and I can see exact thI have the same problem
- on 11.04 (Natty) nowe same problem on each kernel update. The reason is
- a mystery to me as the update log come clean like this,
+ version 1.99~rc1-13ubuntu3 and I can see exact the same problem on each
+ kernel update. The reason is a mystery to me as the update log come
+ clean like this,
  
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.38-10-generic
  Found initrd image: /boot/initrd.img-2.6.38-10-generic
  Found linux image: /boot/vmlinuz-2.6.38-8-generic
  Found initrd image: /boot/initrd.img-2.6.38-8-generic
  Found memtest86+ image: /memtest86+.bin
  done
  
  It's just a long wait (10-12 minutes) after "Generating grub.cfg ..."
  message, as if update-grub would have froze.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Jul 15 09:57:05 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
-  LANGUAGE=ru:en
-  LANG=ru_RU.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=ru:en
+  LANG=ru_RU.UTF-8
+  SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to natty on 2011-04-15 (90 days ago)

** Description changed:

  Ever since updating to 11.04 (Natty) update-grub takes 10-12 minutes to generate grub.cfg
  In fact, I had aborted my first attempt to upgrade the system thinking that it had failed at that point.
  
  To date, I am using 64-bit kernel 2.6.38-8-generic and grub-probe
  version 1.99~rc1-13ubuntu3 and I can see exact the same problem on each
- kernel update. The reason is a mystery to me as the update log come
+ kernel upgrade. The reason is a mystery to me as the upgrade log come
  clean like this,
  
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.38-10-generic
  Found initrd image: /boot/initrd.img-2.6.38-10-generic
  Found linux image: /boot/vmlinuz-2.6.38-8-generic
  Found initrd image: /boot/initrd.img-2.6.38-8-generic
  Found memtest86+ image: /memtest86+.bin
  done
  
  It's just a long wait (10-12 minutes) after "Generating grub.cfg ..."
  message, as if update-grub would have froze.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Jul 15 09:57:05 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   LANGUAGE=ru:en
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to natty on 2011-04-15 (90 days ago)

** Description changed:

  Ever since updating to 11.04 (Natty) update-grub takes 10-12 minutes to generate grub.cfg
  In fact, I had aborted my first attempt to upgrade the system thinking that it had failed at that point.
  
  To date, I am using 64-bit kernel 2.6.38-8-generic and grub-probe
  version 1.99~rc1-13ubuntu3 and I can see exact the same problem on each
- kernel upgrade. The reason is a mystery to me as the upgrade log come
+ kernel upgrade. The reason is a mystery to me as the upgrade log comes
  clean like this,
  
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.38-10-generic
  Found initrd image: /boot/initrd.img-2.6.38-10-generic
  Found linux image: /boot/vmlinuz-2.6.38-8-generic
  Found initrd image: /boot/initrd.img-2.6.38-8-generic
  Found memtest86+ image: /memtest86+.bin
  done
  
  It's just a long wait (10-12 minutes) after "Generating grub.cfg ..."
  message, as if update-grub would have froze.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Jul 15 09:57:05 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   LANGUAGE=ru:en
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to natty on 2011-04-15 (90 days ago)

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

Title:
  [Natty] Generating grub.cfg takes way too long

Status in “grub2” package in Ubuntu:
  New

Bug description:
  Ever since updating to 11.04 (Natty) update-grub takes 10-12 minutes to generate grub.cfg
  In fact, I had aborted my first attempt to upgrade the system thinking that it had failed at that point.

  To date, I am using 64-bit kernel 2.6.38-8-generic and grub-probe
  version 1.99~rc1-13ubuntu3 and I can see exact the same problem on
  each kernel upgrade. The reason is a mystery to me as the upgrade log
  comes clean like this,

  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.38-10-generic
  Found initrd image: /boot/initrd.img-2.6.38-10-generic
  Found linux image: /boot/vmlinuz-2.6.38-8-generic
  Found initrd image: /boot/initrd.img-2.6.38-8-generic
  Found memtest86+ image: /memtest86+.bin
  done

  It's just a long wait (10-12 minutes) after "Generating grub.cfg ..."
  message, as if update-grub would have froze.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Jul 15 09:57:05 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   LANGUAGE=ru:en
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to natty on 2011-04-15 (90 days ago)

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




More information about the foundations-bugs mailing list