[Bug 1163086] Re: os-prober created a 11.6 MB grub.cfg file impossible to boot

Emerson1000 1163086 at bugs.launchpad.net
Mon Dec 26 09:35:28 UTC 2016


This Bug still exists with Version:

grub-pc: 2.02~beta2-36ubuntu3.2

os-prober 1.70ubuntu3

Furthermore, it also exists for a non-RAID system with 4 linux (ubuntu+mint) system partitions.
Seems the problem aren't the results of os-prober itself:

/dev/sda1:Microsoft Windows XP Professional:Windows:chain
/dev/sda6:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
/dev/sda9:Ubuntu 14.04.5 LTS (14.04):Ubuntu1:linux
/dev/sdb6:Ubuntu 10.04.4 LTS (10.04):Ubuntu2:linux

but the grub-mkconfig process which produces weird results in Section:
### BEGIN /etc/grub.d/30_os-prober ###
.
.
### END /etc/grub.d/30_os-prober ###
(lines 398 to 7421)

Example attachment grub.cfg:





** Attachment added: "Example grub.cfg created on non-raid system 12/26/2016"
   https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1163086/+attachment/4796487/+files/grub.cfg

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

Title:
  os-prober created a 11.6 MB grub.cfg file impossible to boot

Status in os-prober package in Ubuntu:
  Confirmed

Bug description:
  Also described here:
  http://askubuntu.com/questions/271898/what-is-grub-doing-while-it-takes-9-minutes-to-start-booting-the-kernel
  and here:
  http://lists.gnu.org/archive/html/bug-grub/2013-03/msg00037.html

  Sometime around the start of 2013 grub started to take longer and longer to boot the kernel and kernel updates started taking too long (more than 10 minutes). The 30_os-prober process was seen executing. At one point grub was taking 9 minutes to boot the kernel, which once booted just took 28 seconds to boot. The delay was actualy in grub.
  Later I discovered my  /boot/grub/grub.cfg was 11.6 MB which is bad.
  A big chunk of the menu entries is generated by /etc/grub.d/30_os-prober.

  Line 223: ### BEGIN /etc/grub.d/30_os-prober ###
  ...
  Line 175174: ### END /etc/grub.d/30_os-prober ###

  grub.cfg has 175191 lines, so that script represents 99% of the 11.6
  MB in the file.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: os-prober 1.56ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-26.42-generic 3.5.7.6
  Uname: Linux 3.5.0-26-generic x86_64
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: amd64
  Date: Tue Apr  2 00:02:50 2013
  InstallationDate: Installed on 2013-03-27 (6 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=es_AR:es
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=es_AR.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/1163086/+subscriptions



More information about the foundations-bugs mailing list