grub distorts default selection during kernel upgrade

Bug #226076 reported by Martin Olsson
4
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

1. install ubuntu and setup your grub config so the grub main menu shows:

A) Ubuntu major.minor
B) Ubuntu major.minor (recovery)
C) Boot other OS

2. Then configured the cursor to be on alternative C) on default so that pressing ENTER or waiting for the timeout will actually boot the other OS.
3. Use Ubuntu for a while until a new kernel comes along (dist upgrade etc)

Expected results:
Grub should add the new kernel version plus a recovery boot option for it at the top but the default selection should still be the same as originally configured (alternative C in this case).

Actual results:
When the new Ubuntu kernel is added to the grub menu it makes my old ubuntu kernel the default booting option because grub uses a hardcoded index to say which item is the current default item.

Note: grub offers the ability to to configure "default saved" and mark one particular item with "savedefault" but this facility does not seem to be used by default in ubuntu. When we upgraded our mothers machine her default was distorted and there is no way she could have fixed this problem herself.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Starting with Ubuntu 9.10 GRUB was replaced with GRUB 2. Currently I only use Linux (Ubuntu), so I can't test this.

Could you tell me please if you still experience this problem? Thank you very much!

Changed in grub (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub (Ubuntu) because there has been no activity for 60 days.]

Changed in grub (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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