Thanks for the suggestion, but I don't think this is quite it...

I'm using GRUB.  I did update the lilo.conf file as you can see in my log,
merely so that it would stay current in case I wanted to switch to LILO (Ben
Story had me do this once on another machine...).

Although some people seem to think GRUB needs to be reinstalled every time
you add a kernel, there is not universal agreement on this point.  But,
after your email, I thought I would give that a try, so I ran the install.sh
script.  That did not change my situation.  Those who don't believe in the
necessity of reinstalling GRUB say that you're done after you edit menu.lst.
Those that do believe in the necessity of reinstalling GRUB say that doing
so is the equivalent of running LILO after editing lilo.conf.

Just to be sure I'm not consistently overlooking a typo or something, I used
GRUB's edit-boot-config-line-just-before-booting option and changed the 9 in
vmlinuz-2.4.9 to 3 (so that I could use the kernel I've had working for a
while).  It worked, so the syntax of that kernel entry in the GRUB menu.lst
must be right.

But, in case it is useful, here's the section of my GRUB menu.lst:
---
title linux-2.4.9smp
kernel (hd0,0)/boot/vmlinuz-2.4.9 root=/dev/hda1  mem=256M
---

initrd hasn't worked for me since the original (to Mandrake 7.2)
2.2.17-21mdk; I didn't use it under 2.4.3 and I'm not trying to use it under
2.4.9.

So, any other ideas?

Thanks,
SEan
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Donald J Bindner
Sent: Sunday, September 16, 2001 7:41 PM
To: [EMAIL PROTECTED]
Subject: [tslug] Re: Troubleshooting kernel install


Almost always, the trouble in this situation is that you forgot
to update /etc/lilo.conf and run lilo to update the bootloader.
Typically the fix is to boot from a floppy or CD (you
installation media can usually be used for this) and use it to do
these things.

Don

On Sun, Sep 16, 2001 at 06:25:26PM -0500, Sean M. Foy wrote:
> I finally got around to upgrading from 2.4.3 to 2.4.9.  After I installed
> 2.4.9 and did shutdown -r -t 0 now, my Linux machine failed to come back
up.
>
> So I put a monitor on it and observed that attempting to boot into 2.4.9
> causes the machine to reboot itself immediately after the 2.4.9 option is
> selected on the boot menu.  I booted into my original kernel and
recompiled
> 2.4.9, to be sure I hadn't missed some option in xconfig...  Same results
> after restart.
>
> I'm not having much luck finding answers in google web and newsgroup
> searches.
>
> Any suggestions as to how I can figure out what the problem is and how to
> fix it?
>
> Here's the relevant section from my logbook; This worked for 2.4.3, and I
> followed my steps for 2.4.9:
>  cd ~sean/software/kernel
>  bzcat linux-2.4.3.tar.bz2 | tar xvf -
>  mv linux /usr/src/linux-2.4.3
>  cd /usr/src
>  ln -s linux-2.4.3 linux
>  cd linux
>  #next line really only needed if this isn't a fresh compile
>  #(e.g., kernel tweaking without getting a new kernel)
>  make mrproper
>  make xconfig
>   ensure Processor type and features > MTRR (Memory Type Range Register)
> support is YES
>    this ensures that even on SMP systems with buggy BIOSes, the second
> processor cache
>    will be enabled.
>   ensure Processor type and features > SMP YES
>   turn on Networking Options>CONFIG_SYN_COOKIES (TCP syncookie support)
>   ensure DEC/Tulip networking support YES for FA310TX!
>   turn on Networking Options>network packet filtering
>   ensure Enhanced Character Devices > RTC (Real-time clock) support YES
>   turn on the option to show experimental options and enable ReiserFS
> support in File Systems.
>  #make modules and make modules_install are only necessary if
>  #the kernel is configured with modules!
>  make dep && make clean && make bzImage && make install && make modules &&
> make modules_install
>  cd /boot
>  rm System.map
>  rm vmlinuz
>  rm modules.info
>  ln -s (blah blah blah; link to the new System.map, vmlinuz, modules.info)
>  #create new initrd
>  #-doesn't seem to work with 2.4.3 and ReiserFS
>  #(adjust lilo.conf/menu.lst accordingly.
>  mkinitrd /boot/initrd-2.4.3.img 2.4.3
>  #update LILO (not really necessary since we're using GRUB)
>  xemacs /etc/lilo.conf
>  #update GRUB
>  xemacs /boot/grub/menu.lst
>  bzcat modutils-2.4.5.tar.bz2 | tar xvf -
>  ensure that man pages listed in INSTALL aren't in /usr/man/1
>  ./configure
>  make
>  make install
>
> Thanks,
> Sean
>
>
>

--
Don Bindner <[EMAIL PROTECTED]>



Reply via email to