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

Okay, one more step to installing a new Kernel



I'm upgrading from the 2.2 Kernel to the 2.4.18 kernel on an AMD box. the Apt-get works, and here's what I get:

cpcug:/proc# apt-get install kernel-image-2.4.18-1-k
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  kernel-image-2.4.18-1-k6 kernel-image-2.4.18-1-k7
The following NEW packages will be installed:
  kernel-image-2.4.18-1-k6 kernel-image-2.4.18-1-k7
0 packages upgraded, 2 newly installed, 0 to remove and 0  not upgraded.
Need to get 17.5MB of archives. After unpacking 48.0MB will be used.
Do you want to continue? [Y/n] y

You are attempting to install an initrd kernel image (version 2.4.18-1-k6)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).
As a reminder, in order to configure lilo, you need to
add an 'initrd=/initrd.img' to the image=/vmlinuz
stanza of your /etc/lilo.conf
I repeat, You need to configure your boot loader. If you have already done
so, and you wish to get rid of this message, please put
  `do_initrd = Yes'
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you'll contitnue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]


So,

1. I need to find out if my initrd kernel image will use initrd. How do I find out? 2. Do I just add 'initrd=/initrd.img to /etc/lilo.conf after the line image=/vmlinuz?
3. I have no file /etc/kernel-img.conf


You are attempting to install an initrd kernel image (version 2.4.18-1-k7)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).
As a reminder, in order to configure lilo, you need to
add an 'initrd=/initrd.img' to the image=/vmlinuz
stanza of your /etc/lilo.conf
I repeat, You need to configure your boot loader. If you have already done
so, and you wish to get rid of this message, please put
  `do_initrd = Yes'
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you'll contitnue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]

This appears to be a duplicate of the previous one. So no needs to repeat the questions.


Thanks for everyone's help.  I've never updated a Kernel before.

(BTW, for those curious, the reason for the Kernel update is so I can use shorewall, which does not appear to be 2.22 compliant.)

Scott Mohnkern

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



Reply to: