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

Re: upgrading kernel 2.2.20-idepci



On Sun, May 23, 2004 at 02:41:30PM -0600 or thereabouts, s. keeling wrote:
> Incoming from S.D.A.:
> > On Sun, May 23, 2004 at 01:36:26PM -0600 or thereabouts, s. keeling wrote:

> > > You'll need to move kernel modules out of the way if the new kernel's
> > > /lib/modules/`uname -r` exists already; apt-get will warn about this if
> > 
> > I'm not sure I understand this. Could you explain a little more in detail?
> 
> If you've previously installed a 2.4.25-1-386 kernel, along with it
> came /lib/modules/2.4.25-1-386/*, and apt-get/aptitude will refuse to
> clobber it (feature!) when installing a newer one.  If you haven't
> tried this before, that directory won't exist, and this warning is
> irrelevant.
> 
> If that dir does exist:
> 
>     mv /lib/modules/2.4.25-1-386 /lib/modules/2.4.25-1-386_old
> 
> will solve the problem.

Ah OK, I'm kosher, as I haven't attempted to install another kernel on this box.
:)

> > > If this kernel uses initrd (likely), you'll need to add an
> > > initrd=... line to your grub/lilo config, and re-run lilo if using
> > > lilo.
> > 
> > I've seen that warning before, and perhaps I'm slow, but what goes there
> > exactly, and where in my liloconf do I put it? initrid=(name of my kernel image?)
> 
> This is my grub kernel stanza:
> 
>   -------------------------------------
> title       Debian GNU/Linux, kernel 2.4.18-1-686
> root        (hd0,1)
> kernel      /vmlinuz-2.4.18-1-686 root=/dev/hda9 ro hdc=scsi vga=1 acpi=off
> initrd      /initrd.img-2.4.18-1-686
> savedefault
>   -------------------------------------
> 
> My /boot is a separate partition, which is why it appears everything's
> in / (root).  You'll want lilo to know where your kernel is (Debian
> usually makes a link /vmlinuz -> /path/to/your/kernel/vmlinuz-2.4.25-1-386) 
> and say initrd=/boot/initrd.img-2.4.25-1-386.

Excellent, I can follow this. Thank-you very much for your time and help!

-- 
Steve
+++++++++++++++++++++++++++++++++++++++++++++
  Sunday May 23 2004 04:46:02 PM EDT
+++++++++++++++++++++++++++++++++++++++++++++
Morton's Law:
	If rats are experimented upon, they will develop cancer.

Attachment: pgpenPZ0cs3Px.pgp
Description: PGP signature


Reply to: