thanks to all for the responses. (yes, potato and woody refer to debian releases - and don't have anything to do with kernel versions. thanks for correcting. it's just that i have started mentally identifying 2.4 with woody.)
also, upgrading kernel from 2.2 to 2.4 is not like any other upgrade since it crosses the lakhman rekha from filesystem ext2 to ext3 (as supreet pointed out). thus in some ways there's no going back! that's why i wanted specific advice.
of course, i could simply install the new system from scratch. but that would be too time consuming, etc etc. that's the last resort anyway.
so, my qs again - has anyone actually done the kernel upgrade using apt? someone also suggested downloading the binary image and adding one more entry in lilo.conf. i don't know if that will work though.
regds
ajit ranade.
-------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
You can upgrade kernel via dselect or apt-get without a problem. I have done that in various production server situations. So rest assured. Just install kernel, which would link /vmlinuz to the new kernel. Add a entry in lilo/grub for older kernel. In case of lilo type lilo on prompt after change in config. and a magical reboot
Supreet
Yup have used it once or twice. Has'nt been much of a hassle. I have compiled the kernel where ever needed.
On Wed, 2003-04-09 at 09:21, zeeble@softhome.net wrote:
supreet writes:
You can upgrade kernel via dselect or apt-get without a problem. I have done that in various production server situations. So rest assured. Just
You mean to say that you use default Debian compiled kernels on production servers? Amen.....
--
On Tue, Apr 08, 2003 at 05:25:56AM -0400, akr!linux-delhi.org@linux-delhi.org wrote:
also, upgrading kernel from 2.2 to 2.4 is not like any other upgrade since it crosses the lakhman rekha from filesystem ext2 to ext3 (as supreet pointed out). thus in some ways there's no going back! that's why i wanted specific advice.
Don't worry ... its not much of a lakshman rekha really, and you _can_ go back. All ext3 partitions are readable as ext2 from an older kernel, no hassles at all! And converting to ext3 is also very easy ... all you need is tune2fs.
so, my qs again - has anyone actually done the kernel upgrade using apt? someone also suggested downloading the binary image and adding one more entry in lilo.conf. i don't know if that will work though.
Never done a kernel upgrade using apt ... I compile the source instead! Very convenient, only thing is you spend time in the initial "make xconfig" phase, getting all the correct functionality inside.
Sameer.
On Wed, Apr 09, 2003 at 08:40:06AM +0530, Sameer D. Sahasrabuddhe wrote:
Never done a kernel upgrade using apt ... I compile the source instead! Very convenient, only thing is you spend time in the initial "make xconfig" phase, getting all the correct functionality inside.
Good. But for newbies info or as a general rule:
Kernel re-compilation is normally not required unless you want to make some additional hardware supported.
Of-course there are benefits out of a custom kernel like avoiding unwanted modules loading into memory etc.
Regards -- .''`. Dileep M. Kumar dileep@kumarayil.net : :' : http://www.kumarayil.net `. `'` `- Debian GNU/Linux - Choice of the Freedom Lovers
akr!linux-delhi.org@linux-delhi.org writes:
so, my qs again - has anyone actually done the kernel upgrade using apt? someone also suggested downloading the binary image and adding one more entry in lilo.conf. i don't know if that will work though.
Kernel 2.2.x and 2.4.x have *many* differences. So, the best bet would be to recompile the kernel. By the way, what do you mean by "upgrading the kernel via apt"? There are a lot of kernel packages....src, and the "bf24" kernel, etc. Which one are you specifically referring to?
Best bet, get the kernel src from kernel.org, or apt-get the src, read /usr/src/linux/Documentation/Changes...then use kernel-package to make a .deb of the kernel. Install it.
I also think that is the recommended way.
Supreet
On Wed, 2003-04-09 at 09:18, zeeble@softhome.net wrote:
akr!linux-delhi.org@linux-delhi.org writes:
so, my qs again - has anyone actually done the kernel upgrade using apt? someone also suggested downloading the binary image and adding one more entry in lilo.conf. i don't know if that will work though.
Kernel 2.2.x and 2.4.x have *many* differences. So, the best bet would be to recompile the kernel. By the way, what do you mean by "upgrading the kernel via apt"? There are a lot of kernel packages....src, and the "bf24" kernel, etc. Which one are you specifically referring to?
Best bet, get the kernel src from kernel.org, or apt-get the src, read /usr/src/linux/Documentation/Changes...then use kernel-package to make a .deb of the kernel. Install it.
--