folks
i have the debian 3.0 seven disk ditro (which is an installation set for both kernels 2.2.18 or 2.4, i.e. both potato and woody).
i am currently running debian with kernel 2.2.15.
i would like to do a kernel upgrade to 2.4 without having to re-partition disks etc. can anyone please tell me how this can be done using the ditro set that i have?
any help greatly welcome. regds
ajit ranade.
-------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
On Sun, 6 Apr 2003, akr!linux-delhi.org@linux-delhi.org wrote: [snip]
i have the debian 3.0 seven disk ditro (which is an installation set for both kernels 2.2.18 or 2.4, i.e. both potato and woody). i am currently running debian with kernel 2.2.15. i would like to do a kernel upgrade to 2.4 without having to re-partition disks etc. can anyone please tell me how this can be done using the ditro set that i have?
Yes, upgrading kernel is like updating any other package on the system. This is possible due to efficient package management systems like apt (Advanced Packaging Tool) and rpm (RedHat Package Manager), which takes care of details for the user. Repartitioning of disk is not required to install another kernel. (This assumes you have sufficient space in / and /boot)
*Make sure you have a boot disk* for your system before you upgrade your kernel.
Under Debian you can simply do,
# apt-get update # apt-cache search kernel-image-2.4 # apt-get install kernel-image-<version> # Put chosen version here
apt will take care of dependencies for you, you will probably have to replace some important packages on system when you do this shift from 2.2.x to 2.4.x kernels.
HTH, Rajesh
On Sunday 06 April 2003 22:46, akr!linux-delhi.org@linux-delhi.org wrote:
i have the debian 3.0 seven disk ditro (which is an installation set for both kernels 2.2.18 or 2.4, i.e. both potato and woody).
i am currently running debian with kernel 2.2.15.
i would like to do a kernel upgrade to 2.4 without having to re-partition disks etc.
Hello,
Take a look at the URL given below. I am not an expert on debian but I think it will help :-)
http://www.nslug.ns.ca/pipermail/nslug/2002-January/000054.html
If you have the kernel sources then you can do the following steps to upgrade the kernel:
1. tar xzf linux-2.4.x-y.tar.gz 2. cd linux 3. make config 4. make-kpkg clean 5. time make-kpkg --revision=custom.2.4.x-y kernel_image 6. cd .. 7. dpkg -i kernel-image-2.4.x-y.deb
Regards, Kapil Karekar
On Sun, Apr 06, 2003 at 01:16:51PM -0400, akr!linux-delhi.org@linux-delhi.org wrote:
i have the debian 3.0 seven disk ditro (which is an installation set for both kernels 2.2.18 or 2.4, i.e. both potato and woody).
Small clarification here ... potato or woody are not the names of a particular kernel version. They are names of the Debian releases. You can upgrade the kernel like any other package in your system.
i would like to do a kernel upgrade to 2.4 without having to re-partition disks etc. can anyone please tell me how this can be done using the ditro set that i have?
Upgrading the kernel has nothing to do with the partitions on your hard disk. You could either use apt to upgrade your kernel, or better still compile it yourself! Just download the kernel sources from http://kernel.org/ and make sure you have the correct utilities as mentioned in the README. Then proceed according to the README.
You'll probably end up rendering your system unusable if you are doing it for the first time, but still its a fun thing to do, and will help you learn a lot.
Sameer.
...
Upgrading the kernel has nothing to do with the partitions on your hard disk. You could either use apt to upgrade your kernel, or better still compile it yourself! Just download the kernel sources from http://kernel.org/ and make sure you have the correct utilities as mentioned in the README. Then proceed according to the README.
It does, ext2 filesystem specs have changed for 2.4.x. You need to add backward compatibility flag if you want it to be used with 2.2.x series AFAIK
Supreet
Installing kernel to most effect is independent of the system itself. Few base packages change with the kernel upgrade. Those are module-tools, filesystem utilities etc etc.
But better idea is to have kernel upgrade to be vendor specific. That is it should be packaged by the vendor. So that the upgrade would automatically take care of utility software upgrade as well.
Coming back to the specific question, that is moving from 2.2.15 to 2.4. Both kernel support ext2 filesystem thus you can upgrade without problem. But you can also change your filesystem to ext3 seemlessly by using tune2fs tool thus you would get journalling facility which is part of ext3 and is support by 2.4.x series kernel.
But if you intend to use 2.2.x and 2.4.x series kernel together switching to journalling is not good.
In fact I am running woody with 2.4.18 kernel with journalling. What I did was. Boot the system with 2.2.15 which is the default kernel. Get debian 2.4 kernel, install it. then switching to ext3 using tune2fs and then changing the filesystem parameters in fstab. Oh and a reboot after installing the kernel parameters in grub or lilo
Supreet
On Sun, 2003-04-06 at 22:46, akr!linux-delhi.org@linux-delhi.org wrote:
folks
i have the debian 3.0 seven disk ditro (which is an installation set for both kernels 2.2.18 or 2.4, i.e. both potato and woody).
i am currently running debian with kernel 2.2.15.
i would like to do a kernel upgrade to 2.4 without having to re-partition disks etc. can anyone please tell me how this can be done using the ditro set that i have?
any help greatly welcome. regds
ajit ranade.
mail2web - Check your email from the web at http://mail2web.com/ .
--