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

Re: GRUB Not Booting New Kernel



> On Wed, 2 Apr 2003, Jamie Van Randwyk wrote:
>
> > Here 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 have a /boot partition.  This means that
> > #          all kernel and initrd paths are relative to /boot/, eg.
> > #          root (hd0,0)
> > #          kernel /vmlinuz-version ro root=/dev/md5
> > #          initrd /initrd-version.img
> > #boot=/dev/hda
> > default=0
> > timeout=10
> > splashimage=(hd0,0)/grub/splash.xpm.gz
> > title Red Hat Linux (2.4.18-27.7.x)
> >         root (hd0,0)
> >         kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/md5
> >         initrd /initrd-2.4.18-27.7.x.img
> > title Red Hat Linux (2.4.18-26.7.x)
> >         root (hd0,0)
> >         kernel /vmlinuz-2.4.18-26.7.x ro root=/dev/md5
> >         initrd /initrd-2.4.18-26.7.x.img
> > #title Red Hat Linux (2.4.18-3)
> > #       root (hd0,0)
> > #       kernel /vmlinuz-2.4.18-3 ro root=/dev/md5
> > #       initrd /initrd-2.4.18-3.img
> > ----------------------------------------------------------
> >
> > Here is the result of uname -a (with the server name edited):
> >
> > Linux host.company.com 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686
unknown
> FWIW uname -r will give you just the running kernel. That way you do not
have to
> edit anything.
>
> My best guess here is you are editing/looking at an old version of
> your grub.conf. The kernel you say is running is commented out. The above
cannot
> be the correct file, grub does not work that way.
>
> Is this /boot/grub/grub.conf?? If you are editing /etc/grub.conf where
does
> the link point (ls -l /etc/grub*)??
>
>

Great. Thanks.  I used the '-a' flag so that the build date would be shown
as well.

/etc/grub.conf -> /boot/grub/grub.conf
/boot/grub/menu.lst -> /boot/grub/grub.conf

I've checked all this "easy" stuff.  I am looking for hard-core technical
answers, like digging into the MBR and such.

-Jamie





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