Subject: Re: Help with RH 7.2

Tom Ward plug-discuss@lists.plug.phoenix.az.us
Sun, 31 Mar 2002 13:22:44 -0700


Frank,

If you're using grub, you don't need the lilo.conf file anymore.
I don't know about reinstalling grub in the MBR, but I can help with gettting grub to use the new kernel by default.
In /boot/grub/grub.conf change the default line to 0 (zero), and it will default to the first entry (the new kernel).
Here's what I use:

default=0
fallback=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.9-31)
        root (hd0,1)
        kernel /vmlinuz-2.4.9-31 ro root=/dev/hda5 noathlon
        initrd /initrd-2.4.9-31.img
title Red Hat Linux (2.4.9-21)
        root (hd0,1)
        kernel /vmlinuz-2.4.9-21 ro root=/dev/hda5 noathlon
        initrd /initrd-2.4.9-21.img
title Win98
        rootnoverify (hd0,0)
        chainloader +1
title Solaris
        rootnoverify (hd1,1)
        chainloader (hd1,1)+1
title DOS
        rootnoverify (hd1,0)
        chainloader +1


Good luck,
Tom



Message: 12
Date: Sun, 31 Mar 2002 07:53:47 -0700
From: LinuxFrank@keyquest.com
To: plug-discuss@lists.plug.phoenix.az.us
Subject: Help with RH 7.2
Reply-To: plug-discuss@lists.plug.phoenix.az.us

Hi Group,

  I need a little help with my boot loader.

  History: I installed RH Linux 7.0 some time ago with Lilo as my boot
loader. I had no problem loading either win2k or Linux, each on their
own HD. I just selected Linux or DOS and away I went.

                  Then I upgraded to RH 7.1 and after that 7.2. This ia
where my problem started. I choose Grub as my loader and I managed to
totally mess up my MBR. After some thinking I did a fdisk /mbr and was
able to reinstall win2k and get my mbr back, but only for win2k.

                   Now I load linux with a boot floppy, works fine,
however, I used RHN up2date to upgrade my kernel from 2.4.7-10 to
2.4.9-31, all went OK according to the messages. I rebooted, ran uname
-a and , low and behold my version # is still 2.4.7-10.

                   Looking at my numerous boot configuration files I see
that the new kernel is included, but does not boot.

                   My question is this: How do get my new kernel to
boot, and all my O/S's to load from the HD, I have win98. win2k and RH
7.2. I also need to know how I find out what .conf file my system uses
to load, I am still booting linux from a floppy, and which .conf files
can I get rif of, if any.

                    Any help is greatly appreciated.

                    Thanks

                     FrankM

==================================================

## This is my grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd1,0)
#          kernel /boot/vmlinuz-version ro root=/dev/hdb1
#          initrd /boot/initrd-version.img
#boot=/dev/hdb1
default=2
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.9-31)
 root (hd1,0)
 kernel /boot/vmlinuz-2.4.9-31 ro root=/dev/hdb1
 initrd /boot/initrd-2.4.9-31.img
title Red Hat Linux (2.4.7-10)
 root (hd1,0)
 kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hdb1
 initrd /boot/initrd-2.4.7-10.img
title DOS
 rootnoverify (hd0,0)
 chainloader +1



Message: 12
Date: Sun, 31 Mar 2002 07:53:47 -0700
From: LinuxFrank@keyquest.com
To: plug-discuss@lists.plug.phoenix.az.us
Subject: Help with RH 7.2
Reply-To: plug-discuss@lists.plug.phoenix.az.us

Hi Group,

  I need a little help with my boot loader.

  History: I installed RH Linux 7.0 some time ago with Lilo as my boot
loader. I had no problem loading either win2k or Linux, each on their
own HD. I just selected Linux or DOS and away I went.

                  Then I upgraded to RH 7.1 and after that 7.2. This ia
where my problem started. I choose Grub as my loader and I managed to
totally mess up my MBR. After some thinking I did a fdisk /mbr and was
able to reinstall win2k and get my mbr back, but only for win2k.

                   Now I load linux with a boot floppy, works fine,
however, I used RHN up2date to upgrade my kernel from 2.4.7-10 to
2.4.9-31, all went OK according to the messages. I rebooted, ran uname
-a and , low and behold my version # is still 2.4.7-10.

                   Looking at my numerous boot configuration files I see
that the new kernel is included, but does not boot.

                   My question is this: How do get my new kernel to
boot, and all my O/S's to load from the HD, I have win98. win2k and RH
7.2. I also need to know how I find out what .conf file my system uses
to load, I am still booting linux from a floppy, and which .conf files
can I get rif of, if any.

                    Any help is greatly appreciated.

                    Thanks

                     FrankM

==================================================

## This is my grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd1,0)
#          kernel /boot/vmlinuz-version ro root=/dev/hdb1
#          initrd /boot/initrd-version.img
#boot=/dev/hdb1
default=2
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.9-31)
 root (hd1,0)
 kernel /boot/vmlinuz-2.4.9-31 ro root=/dev/hdb1
 initrd /boot/initrd-2.4.9-31.img
title Red Hat Linux (2.4.7-10)
 root (hd1,0)
 kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hdb1
 initrd /boot/initrd-2.4.7-10.img
title DOS
 rootnoverify (hd0,0)
 chainloader +1