Bug#488466: linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries - Debian

This is a discussion on Bug#488466: linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries - Debian ; Package: linux-image-2.6-686 Version: 2.6.24+13 Severity: important After an upgrade to the latest kernel and restarting the computer Grub failed to boot. It turned out that the menu entries in /boot/grub/menu.lst were pointing to an invalid disk, that is, I got ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Bug#488466: linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries

  1. Bug#488466: linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries

    Package: linux-image-2.6-686
    Version: 2.6.24+13
    Severity: important


    After an upgrade to the latest kernel and restarting the computer Grub failed to boot. It turned out that the menu entries in
    /boot/grub/menu.lst were pointing to an invalid disk, that is, I got

    root (hd1,0)

    instead of the correct

    root (hd0,0)


    After editing the boot command Linux booted fine.

    My system has the following disk configuration:

    /dev/sda (SATA HDD):
    /dev/sda1 / ext3
    /dev/sda5 swap

    /dev/hda (IDE CD-ROM)

    /dev/fd0 Floppy


    -- System Information:
    Debian Release: lenny/sid
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: i386 (i686)

    Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
    Locale: LANG=bg_BG, LC_CTYPE=bg_BG
    Shell: /bin/sh linked to /bin/bash

    Versions of packages linux-image-2.6-686 depends on:
    ii linux-image-2.6.24-1-686 2.6.24-7 Linux 2.6.24 image on PPro/Celeron

    linux-image-2.6-686 recommends no packages.



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#488466: marked as done (linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries)


    Your message dated Mon, 15 Sep 2008 17:21:31 +0200
    with message-id <20080915152131.GA2169@wavehammer.waldi.eu.org>
    and subject line Re: Bug#488466: linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries
    has caused the Debian Bug report #488466,
    regarding linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system
    misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    488466: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488466
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems


  3. Bug#488466: closed by Bastian Blank <waldi@debian.org> (Re: Bug#488466: linux-image-2.6-686: Post-install script creates bad /boot/grub/menu.lst "hd" entries)

    >> ## default grub root device
    >> ## e.g. groot=(hd0,0)
    >> # groot=(hd1,0)

    >
    > Now you fix this. So this is a user error, closing.


    Hm

    Wouldn't it be more helpful for the post-install script to simply reuse
    the previous root entry values, instead of relying on the user edit the
    grub menu.lst options correctly?

    Vladimir
    --
    Vladimir Dzhuvinov * www.valan.net * PGP key ID AC9A5C6C


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

    iD8DBQFIzzt6TVrVaayaXGwRAmg/AJ4g3TZo8j+L5mlFra002ZfKZVVCRQCdG+zT
    TBAhj4LzzdVETOpcDo29f9o=
    =+YZy
    -----END PGP SIGNATURE-----


+ Reply to Thread