Bug#233966: savedefault + update-grub = randm kernel boot

Joey Hess Joey Hess <joeyh@debian.org>, 233966@bugs.debian.org
Fri, 20 Feb 2004 20:05:48 -0500


--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: grub
Version: 0.93+cvs20031021-8
Severity: normal

I have savedefault enabled in menu.lst, and the default kernel was
2.4.24. The boot menu looked something like this:

1. 2.6.2
2. 2.6.1
3. 2.4.24-1-386
4. 2.4.24 (default)
5. 2.4.23

Now I installed 2.4.25, and update-grub added it in position #3. This
pushed the 2.4.24-1-386 kernel down to position 4, so grub used it as
the default kernel. This was very suprising to me, and I'm glad I first
experienced this on a local machine, and not one colocated..

One way to improve this would be for update-grub to always add kernels
to the end of the list, and don't order them. Then the default kernel
would remain unchanged. A sweeter fix might be to change grub's current
default kernel number, but that could be hard.

-- System Information:
Found unknown policy: ('1', 'pool')Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=3Den_US, LC_CTYPE=3Den_US

Versions of packages grub depends on:
ii  libc6                     2.3.2.ds1-11   GNU C Library: Shared librarie=
s an
ii  libncurses5               5.3.20030719-5 Shared libraries for terminal =
hand

-- no debconf information

--=20
see shy jo

--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANq7sd8HHehbQuO8RAp+eAJ47QVX85JS9cgs0vh4MLhgMutdlewCfSf1j
/7KlvjMjqoFSWE/Nx+f4bm8=
=It1T
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--