Bug#260276: grubconf: parses "root=" in menu.lst incorrectly

Mika Wahlroos Mika Wahlroos <mwahlroos@earthling.net>, 260276@bugs.debian.org
Mon, 19 Jul 2004 21:12:08 +0300


Package: grubconf
Version: 0.5.1-3
Severity: normal

When grubconf is started and reads the grub configuration file, root=/dev/hda1x in the 
options of the kernel becomes root=/dev/hda1 - it drops the latter numeral. For example in 
my menu.lst (which was originally generated by grubconf)

title Debian GNU/Linux
#:0 <-- type: 0 => linux, 1 => windows, 2 => other
        root (hd0,7)
        kernel /bzImage root=/dev/hda10 (null)

becomes

title Debian GNU/Linux
#:0 <-- type: 0 => linux, 1 => windows, 2 => other
        root (hd0,7)
        kernel /bzImage root=/dev/hda1 (null)

The same happens to another entry where root=/dev/hda12 - it also becomes
/dev/hda1.

The change appears in the grubconf GUI immediately following grubconf startup and sticks 
in the configuration file if grubconf rewrites it, i.e. if something is modified with 
grubconf.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=fi_FI, LC_CTYPE=fi_FI

Versions of packages grubconf depends on:
ii  grub                  0.95+cvs20040624-4 GRand Unified Bootloader
ii  libart-2.0-2          2.3.16-5           Library of functions for 2D graphi
ii  libatk1.0-0           1.6.1-2            The ATK accessibility toolkit
ii  libaudiofile0         0.2.6-4            Open-source version of SGI's audio
ii  libbonobo2-0          2.6.2-4            Bonobo CORBA interfaces library
ii  libbonoboui2-0        2.6.1-1            The Bonobo UI library
ii  libc6                 2.3.2.ds1-13       GNU C Library: Shared libraries an
ii  libesd0               0.2.29-1           Enlightened Sound Daemon - Shared 
ii  libgconf2-4           2.6.2-1            GNOME configuration database syste
ii  libgcrypt7            1.1.90-9           LGPL Crypto library - runtime libr
ii  libglib2.0-0          2.4.4-1            The GLib library of C routines
ii  libgnome-keyring0     0.2.1-2            GNOME keyring services library
ii  libgnome2-0           2.6.1-8            The GNOME 2 library - runtime file
ii  libgnomecanvas2-0     2.6.1.1-2          A powerful object-oriented display
ii  libgnomeui-0          2.6.1.1-3          The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0        2.6.1.1-5          The GNOME virtual file-system libr
ii  libgnutls10           1.0.4-3            GNU TLS library - runtime library
ii  libgpg-error0         0.7-3              library for common error values an
ii  libgtk2.0-0           2.4.3-3            The GTK+ graphical user interface 
ii  libice6               4.3.0.dfsg.1-6     Inter-Client Exchange library
ii  libjpeg62             6b-9               The Independent JPEG Group's JPEG 
ii  liborbit2             1:2.10.2-1.1       libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0         1.4.0-4            Layout and rendering of internatio
ii  libpopt0              1.7-4              lib for parsing cmdline parameters
ii  libsm6                4.3.0.dfsg.1-6     X Window System Session Management
ii  libtasn1-2            0.2.7.0-2          Manage ASN.1 structures (runtime)
ii  libx11-6              4.3.0.dfsg.1-6     X Window System protocol client li
ii  libxml2               2.6.11-1           GNOME XML library
ii  xlibs                 4.3.0.dfsg.1-6     X Window System client libraries m
ii  zlib1g                1:1.2.1.1-5        compression library - runtime

-- no debconf information