Comment 4 for bug 425650

moma (osmoma) wrote :

Re-hello,

Ok, new updates just arrived with os-prober v1.31 package.

a) First, upgrading an existing system. Here is the message log after running
$ sudo aptitude update && sudo aptitude upgrade

...
(hd0) /dev/sda
(hd1) /dev/sdb
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-9-generic
Found initrd image: /boot/initrd.img-2.6.31-9-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 9.04 (9.04) on /dev/sda1
Found Ubuntu 8.10 (8.10) on /dev/sda3
Found Ubuntu 8.04 (8.04) on /dev/sda5
Found Linux Mint 7 Gloria - x64 Edition (7) on /dev/sda9
Found Ubuntu 8.04.1 (8.04) on /dev/sdb1
Found Ubuntu 9.04 (9.04) on /dev/sdb2
Found Linux Mint 7 Gloria - Main Edition (7) on /dev/sdb3
done
--

Now the GRUB2 update took only a few seconds (maybe 5 - 6 seconds or so).

But some menu entries are missing.
The newly-generated /boot/grub/grub.cfg file contains only entries from this actual Ubuntu installation + rescue mode and memtest86. It does not include the various Linuxes from other partitions. Most notably the "Other operating systems:" section of grub.cfg is completly empty. See the attached grub.cfg.
-----

The version of os-prober is now:

$ sudo apt-cache show os-prober
Package: os-prober
Priority: optional
Section: utils
Installed-Size: 180
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Install System Team <email address hidden>
Architecture: amd64
Version: 1.31
Depends: libc6 (>= 2.4)
Filename: pool/main/o/os-prober/os-prober_1.31_amd64.deb
Size: 20784
MD5sum: 77a765fd961d3c972ef59b05d2572a61
...
--------

b) I also did a totally new 64bit Ubuntu Alpha5 installation.
The grub.cfg after first boot is exactly 100% same as in the upgrade step a).

And files in /etc/grub.d/ are:
$ ls -l /etc/grub.d/
-rwxr-xr-x 1 root root 2944 2009-09-01 23:53 00_header
-rwxr-xr-x 1 root root 1154 2009-09-01 23:41 05_debian_theme
-rwxr-xr-x 1 root root 3434 2009-09-01 23:53 10_linux
-rwxr-xr-x 1 root root 472 2009-06-24 18:04 20_memtest86+
-rwxr-xr-x 1 root root 5123 2009-09-01 23:53 30_os-prober
-rwxr-xr-x 1 root root 84 2009-09-01 23:53 40_custom
-rw-r--r-- 1 root root 483 2009-09-01 23:53 README
--------

The missing menu entries (the other partitions/Linuces) are not a big problem because I always maintain my own grub.cfg manually.

But maybe the "30_otheros" script is still required? Or maybe 30_os-prober script needs som fine-tuning?

See the attached grub.cfg.

Do not hesitate to ask me to do additional tests. I'll very happy to help. That's what I do.
--------