bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GRUB upgrade (RH 7.2) incorrectly selected 2ndry boot partition (Win95)


From: alubo
Subject: GRUB upgrade (RH 7.2) incorrectly selected 2ndry boot partition (Win95)
Date: Mon, 07 Jan 2002 12:58:18 -0800

      I'm reporting a bug in the automatic upgrade of LILO to GRUB, while
doing an upgrade of Red Hat 7.1 to 7.2.  GRUB, selected the incorrect
Windows 95 partition to boot from.  I corrected this by editing
/boot/grub/grub.conf to point to the correct Win95 partition.

      I do not expect a response from you, since I've fixed my problem.
This is informational for you.  I expect you'll want to make GRUB smarter
and more bullet-proof for the next release of Red Hat.  You came pretty
close this time.  BTW, my reasons for upgrading to Red Hat 7.2, were for
ext3, GRUB and to check out Nautilus.  I'm happy with the work you guys have
done on GRUB.  Thanks.

Henry Alubowicz

--------------
>Reporting bugs
>**************
>
>   This is the guideline of how to report bugs. Take a look at this list
>below before you send e-mail to <address@hidden>:

>2. Always mention the information on your GRUB. The version number
>and the configuration are quite important. If you build it
>yourself, write the options specified to the configure script and
>your operating system, including the versions of gcc and binutils.

GRUB version 0.9.
Did NOT build GRUB, used the defaults from Red Hat 7.2.

>3. If you get troubled with the installation, inform us of how you
>installed GRUB. Don't omit error messages, if any. Just `GRUB hangs
>up when it boots' is not enough.

No problem with GRUB install.  I let the Red Hat 7.2 upgrade install GRUB.
Used defaults for upgrade.  LILO was used previously on Red Hat 7.1.

>The information on your hardware is also essential. These are
>especially important: the geometries and the partition tables of
>your hard disk drives and your BIOS.

      The system I was upgrading is a VA Research (now VA Software Inc)
VArStation 21 (circa 7/96).

Hardware:
      Pentium 133MHz
      RAM - 96 MB
      Disks - 2 SCSI
            sda - Quantum Fireball ST6.4 (6GB)
            sdb - IBM DNES-309170 (9GB)
      SCSI Interface - Symbios (NCR) ncr53c825
      CD-ROM Drives - 2 SCSI
            cdrom - Teac CD-ROM CD-56S
            cdrom1 - Yamaha CRW4416S
      Video Card - Millennium Matrox (MGA 2054W)
      Tape Drive - HP HP C15533A (4mm DDS-2 DAT)
      Misc - 3.5" 1.44 MB floppy drive
            TurboTV card, Bt848 (doesn't work with Red Hat)
      Network - 33.4 Kbps internal modem
            3Com 3c590 10BaseT (not connected)
--------------

Disk Partitioning:
      /dev/sda (Quantum 6GB)
            sda1 - 2GB FAT (Windows 95)
            sda2 - 260MB Linux swap
            sda3 - 3.9GB ext3 (Red Hat 7.2 root & boot partition)
      /dev/sdb (IBM 9GB)
            sdb1 - 2GB ext3
            sdb2 - 2GB ext3
            sdb3 - 118 MB (none)
            sdb4 - 4.5GB Extended
                  sdb5 - 1.7 GB ext2 (Red Hat 6.2)
                  sdb6 - 1.8 GB FAT (Win 95 games partition)
                  sdb7 - 902 MB FAT (Win 95 space for CRW)
--------------

Boot Config:
      MBR in sda used for booting via GRUB 0.9
      Red Hat 7.2 is the default boot.
      Windows is second boot partition.
      Used to boot Red Hat 6.2, when 7.1 was installed, but now plan
            to remove RH 6.2.
      Old BIOS, only lets me boot from sda or sdb or from floppy.  NO CD boot.
--------------

Software:
      Red Hat 7.2 is primary OS on system (sda2, sda3, sdb1, sdb2 & sdb5).
      Red Hat 7.2 was done via upgrade (not install) from 7.1.
      GNOME 1.4 w/Sawfish and Nautilus
      Windows 95 (sda1, sdb6 & sdb7)
            sda1 also mounts as /dos on Red Hat 7.2.
--------------

>4. If GRUB cannot boot your operating system, write down _all_ on the
>screen. Don't paraphrase them, like `The foo OS crashes with GRUB,
>even though it can boot with the bar boot loader fine'.  Mention the
>commands you executed, the messages printed by them, and information on
>your operating system including the version number.

GRUB booted default partition of Red Hat 7.2, without any problems.

GRUB failed on boot of DOS.  It selected the wrong partition to boot
from, even though previous LILO booted Win95 (aka Dos) correctly.
Errors of Windows 95 boot are as follows:

      Booting 'DOS'
      rootnoverify (h1,5)
      chainloader +1
      Disk I/O error
      Replace the disk, and then press any key

>5.  Explain what you wanted to do.  It is very useful to know your purpose
>and your wish, and how GRUB didn't satisfy you.

      Only complaint I had about GRUB, was it couldn't figure out the correct
Windows 95 partition to boot from, once the automatic upgrade was done from
LILO.  Why did it pick sdb6 (h1,5) instead of correctly picking sda1 (h0,0)?
I've purposely left Win95 on sda1, because that is where (brain-dead OS) Win95
is the happiest.

>6.  If you can investigate the problem yourself, please do.  That will give
>you and us much more information on the problem.  Attaching a patch is even
>better.  When you attach a patch, make the patch in unified diff format, and
>write ChangeLog entries.  But, even when you make a patch, don't forget to
>explain the problem, so that we can understand what your patch is for.

Fixed my problem, by changing (h1,5) to (h0,0) in /boot/grub/grub.conf .
Prior to doing this used the editor in GRUB to change the boot location on
the fly.  Changes worked, so made them permanent in grub.conf.
===========================================================================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]