karmic: After update, grub2 does not unhide the menu when other operating systems are installed

Bug #411584 reported by Andres Rodriguez
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: grub2

Today I updated my karmic system to the latest packages. This also updated the latest grub2 package (source package version: 1.96+20090725-1ubuntu2).

After the update, I rebooted my machines and they booted directly into Ubuntu without unhiding the menu, though they got other Operating Systems Installed. According to the changelog: "grub-installer will unhide it if other operating systems are installed." So, according to this, the menu should have been unhided because my system has other operating systems installed, however this did not happen.

The first one has Win Vista installed on it. The Second one has Win XP.

Related branches

summary: - karmic: grub2 does not unhide the menu when other operating systems are
- installed
+ karmic: After update, grub2 does not unhide the menu when other
+ operating systems are installed
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

This is a casualty of making the defaults work out properly for Karmic. If I can figure out a nice way to automatically detect things on upgrade, I'll try to do so, but if I can't then it only really affects intra-Karmic upgrades so I'm not going to worry about it too much. Bug 386789 is more important to me.

Changed in grub2 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

(My comment in the changelog about grub-installer was referring only to fresh installations. Perhaps I should have been clearer there.)

Revision history for this message
Steffen Röcker (sroecker) wrote :

Since yesterday grub boots the first operating system without showing the menu. (which I unfortunately set to windows)

I booted from the Karmic alpha3 CD and tried update-grub2 and it only finds the windows partition, it doesn't even check sda8 (where my / is).

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 411584] Re: karmic: After update, grub2 does not unhide the menu when other operating systems are installed

On Tue, Aug 11, 2009 at 12:04:33PM -0000, Steffen Röcker wrote:
> Since yesterday grub boots the first operating system without showing
> the menu. (which I unfortunately set to windows)

See
https://lists.ubuntu.com/archives/ubuntu-devel-announce/2009-August/000599.html

Revision history for this message
Steffen Röcker (sroecker) wrote :

I see, changed the config and it works the way I want.

update-grub *did* find my linux partition when I ran it from alpha3 install cd with chroot, it just showed a lot of error messages.

Revision history for this message
cbinusa (cbinusa) wrote :

Good morning,
I had upgraded to grub2 and it worked fine until yestereday's update. Now grub is missing. It boots straight into karmic without showing jaunty or windows.
Clarence

Revision history for this message
Colin Watson (cjwatson) wrote :

cbinusa: please see comment 4 in this bug.

Revision history for this message
cbinusa (cbinusa) wrote :

Comment 4 unhid my other OS's. Thank you.

Revision history for this message
Freedom908 (picle709) wrote : Re: [Bug 411584] Re: karmic: After update, grub2 does not unhide the menu when other operating systems are installed

Thanks for feedback,but since alpha 4 is around the corner I'll wait,use
jaunty and give it another go.

On Tue, Aug 11, 2009 at 8:01 PM, cbinusa <email address hidden> wrote:

> Comment 4 unhid my other OS's. Thank you.
>
> --
> karmic: After update, grub2 does not unhide the menu when other operating
> systems are installed
> https://bugs.launchpad.net/bugs/411584
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “grub2” package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: grub2
>
> Today I updated my karmic system to the latest packages. This also updated
> the latest grub2 package (source package version: 1.96+20090725-1ubuntu2).
>
> After the update, I rebooted my machines and they booted directly into
> Ubuntu without unhiding the menu, though they got other Operating Systems
> Installed. According to the changelog: "grub-installer will unhide it if
> other operating systems are installed." So, according to this, the menu
> should have been unhided because my system has other operating systems
> installed, however this did not happen.
>
> The first one has Win Vista installed on it. The Second one has Win XP.
>

--
Respectfully
Elmer

Revision history for this message
Dr. Asfak Motiwala (ghpibm) wrote :

I face the same problem after upgrade today but as my default OS is win xp, i don't know what to do ?

Revision history for this message
Freedom908 (picle709) wrote :

Install 9.04 over top of 9.10 and you get a grub menu,temp fix until problem
is resolved.

On Wed, Aug 12, 2009 at 12:24 PM, Dr. Asfak Motiwala <email address hidden>wrote:

> I face the same problem after upgrade today but as my default OS is win
> xp, i don't know what to do ?
>
> --
> karmic: After update, grub2 does not unhide the menu when other operating
> systems are installed
> https://bugs.launchpad.net/bugs/411584
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “grub2” package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: grub2
>
> Today I updated my karmic system to the latest packages. This also updated
> the latest grub2 package (source package version: 1.96+20090725-1ubuntu2).
>
> After the update, I rebooted my machines and they booted directly into
> Ubuntu without unhiding the menu, though they got other Operating Systems
> Installed. According to the changelog: "grub-installer will unhide it if
> other operating systems are installed." So, according to this, the menu
> should have been unhided because my system has other operating systems
> installed, however this did not happen.
>
> The first one has Win Vista installed on it. The Second one has Win XP.
>

--
Respectfully
Elmer

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 411584] Re: karmic: After update, grub2 does not unhide the menu when other operating systems are installed

On Wed, Aug 12, 2009 at 05:24:36PM -0000, Dr. Asfak Motiwala wrote:
> I face the same problem after upgrade today but as my default OS is win
> xp, i don't know what to do ?

I gave a detailed description of the things you need to do in my post to
ubuntu-devel-announce, linked from a previous comment. Please read it?

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote :

This may eventually work, but it did not find my FreeDOS bootable partition which was their previously. I will wager an entire ice cold 6-pack of Mt. Dew it hung because of the SATA bug this kernel/boot code has where it identifies SATA drives in the wrong order.

When I ran sudo update-grub this is as far as it got.

roland@logikaldesktop:~$ sudo scite /etc/default/grub
[sudo] password for roland:
roland@logikaldesktop:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-3-generic
Found initrd image: /boot/initrd.img-2.6.31-3-generic
Found memtest86+ image: /boot/memtest86+.bin

It never completed.

Revision history for this message
Colin Watson (cjwatson) wrote :

On Thu, Aug 13, 2009 at 09:58:11AM -0000, seasoned_geek wrote:
> This may eventually work, but it did not find my FreeDOS bootable
> partition which was their previously. I will wager an entire ice cold
> 6-pack of Mt. Dew it hung because of the SATA bug this kernel/boot code
> has where it identifies SATA drives in the wrong order.

That's distinct from this bug, which is purely about the graceless
configuration upgrade; please file a separate one (probably on
os-prober).

Revision history for this message
Freedom908 (picle709) wrote : Re: [Bug 411584] Re: karmic: After update, grub2 does not unhide the menu when other operating systems are installed

Just installed alpha 4 and grub appears fine.

On Thu, Aug 13, 2009 at 6:36 AM, Colin Watson <email address hidden>wrote:

> On Thu, Aug 13, 2009 at 09:58:11AM -0000, seasoned_geek wrote:
> > This may eventually work, but it did not find my FreeDOS bootable
> > partition which was their previously. I will wager an entire ice cold
> > 6-pack of Mt. Dew it hung because of the SATA bug this kernel/boot code
> > has where it identifies SATA drives in the wrong order.
>
> That's distinct from this bug, which is purely about the graceless
> configuration upgrade; please file a separate one (probably on
> os-prober).
>
> --
> karmic: After update, grub2 does not unhide the menu when other operating
> systems are installed
> https://bugs.launchpad.net/bugs/411584
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “grub2” package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: grub2
>
> Today I updated my karmic system to the latest packages. This also updated
> the latest grub2 package (source package version: 1.96+20090725-1ubuntu2).
>
> After the update, I rebooted my machines and they booted directly into
> Ubuntu without unhiding the menu, though they got other Operating Systems
> Installed. According to the changelog: "grub-installer will unhide it if
> other operating systems are installed." So, according to this, the menu
> should have been unhided because my system has other operating systems
> installed, however this did not happen.
>
> The first one has Win Vista installed on it. The Second one has Win XP.
>

--
Respectfully
Elmer

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.3 KiB)

This bug was fixed in the package grub2 - 1.96+20090826-3ubuntu1

---------------
grub2 (1.96+20090826-3ubuntu1) karmic; urgency=low

  * Resynchronise with Debian (LP: #413151). Remaining changes:
    + debian/control:
      - Recommend rather than Suggest os-prober.
    + debian/default/grub:
      - Adjust for default Ubuntu boot options.
      - Use GRUB_CMDLINE_LINUX_DEFAULT option to set "quiet splash" for
        default items only. These options won't be set in single user mode.
      - Default to hiding the menu with a three-second timeout. Pressing
        Escape during this time will show the menu.
    + debian/grub.d/05_debian_theme:
      - Set a monochromatic theme for Ubuntu.
    + debian/legacy/update-grub:
      - Apply Ubuntu branding: title, recovery mode, quiet option, and tweak
        how memtest86+ is displayed.
      - Use UUIDs where appropriate.
    + debian/patches/03_ubuntu_grub_standards:
      - Remove GNU/Linux from default string.
    + debian/patches/10_crashkernel.patch:
      - add crashkernel= options if kdump and makedumpfile
        is available (part of the kernel-crashdump spec)
  * Drop 950_hidden_timeout.diff, merged upstream.
  * Drop 951_gfxpayload_keep.diff. It doesn't make as much sense as I
    thought, and it needs better kernel support anyway.
  * 950_getkeystatus.diff: New patch. Add getkeystatus terminal method, and
    add a new keystatus command to query it.
  * 951_quick_boot.diff: New patch:
    - If other operating systems are installed, then automatically unhide
      the menu (LP: #411584).
    - Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus if
      available to check whether Shift is pressed. If it is, show the menu,
      otherwise boot immediately. If keystatus is not available, then fall
      back to a short delay interruptible with Escape.
  * debian/default/grub: Adjust defaults to match new quick-boot code.

grub2 (1.96+20090826-3) unstable; urgency=low

  * Add missing quotes in grub-pc.config and *.postinst.

grub2 (1.96+20090826-2) unstable; urgency=low

  * Really use the correct templates in grub-pc.config. ARGS.

grub2 (1.96+20090826-1) unstable; urgency=low

  * New SVN snapshot.

  * Use the right templates in grub-pc.config. (Closes: #543615)

grub2 (1.96+20090825-1) unstable; urgency=low

  * New SVN snapshot.
    - Enable gfxterm only if there's a suitable video backend and don't
      print an error if not. (Closes: #520846)

  [ Felix Zielcke ]
  * Copy unicode.pf2 instead of ascii.pf2 to /boot/grub in grub-pc
    postinst (Closes: #542314).
  * Update Standards version to 3.8.3.
  * Use DEB_HOST_ARCH_CPU for the generation of the lintian overrides.
  * Fix calling the grub-pc/postrm_purge_boot_grub template in
    grub-pc.postinst.
  * Handle GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT via
    debconf. Thanks to Martin F. Krafft and Colin Watson for idea and
    hints.
  * Use ucfr --force when /etc/default/grub is registered to a grub-* package.
  * Use #!/bin/sh in *.config and fix a small bashism in grub-pc.config.

  [ Robert Millan ]
  * patches/907_terminal_output_workaround.diff: Remove. It seems that
    it wasn't really necessary.
  ...

Read more...

Changed in grub2 (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

Now the behavior is menu is unhidden but no timeout at all. Is that the expected behavior. I have Windows XP also.

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 411584] Re: karmic: After update, grub2 does not unhide the menu when other operating systems are installed

Can you clarify exactly what you mean? Do you mean that the menu stays
there permanently until you press a key? If so, that's a mistake.

Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

The menu stays there, until I select a choice. There is no time out. It wont select the first one automatically.

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks. Should be fixed in grub2 1.96+20090826-3ubuntu3 when it hits the
archive.

Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

Its working fine now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.