os-prober created a 11.6 MB grub.cfg file impossible to boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Also described here:
http://
and here:
http://
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.
Line 223: ### BEGIN /etc/grub.
...
Line 175174: ### END /etc/grub.
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
ProcVersionSign
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_
LANG=es_AR.UTF-8
SHELL=/bin/bash
SourcePackage: os-prober
UpgradeStatus: No upgrade log present (probably fresh install)
More information.
I had 2 identical hard drives. /dev/sda1 and /dev/sda2 set up with software RAID1. Everything was in there /boot included.
The RAID had been created with previous Ubuntu versions. I had been updating every 6 months for at least 2 years. The initial installation was the first Ubuntu version that had grub2.