Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to build a custom cd using uck. Now, i want to upgrade the kernel, remove the old kernel and then create the iso. I am able to upgrade the kernel but I am not able to switch to the new kernel as I cannot reboot ( as its a chroot session).

Is it possible to switch to the new kernel and remove the old kernel?

share|improve this question
The running kernel and the kernel image within the chroot should be unconnected removing the current kernel from the chroot image should be safe. – Andy Jul 26 '11 at 7:53
i think that didnt work. If i remove the present kernel, i am getting errors while creating a boot image for the latest kernel – Ubuntuser Jul 28 '11 at 12:08
up vote 1 down vote accepted

In the ISO image, updating the Kernel will create problems with all packages related to that version of the kernel. It is like a waterfall effect. You change the kernel and any packages in your ISO that have relation with the old kernel might show problems when installing them.

In any case I also tried to upgrade the kernel, my case was 2.6.36 to 2.6.39. No luck there was no option for me at that time but for what I have checked here: and here: there has been work to accomplish this using some methods.

In all cases, the problems described in those links suggest that doing the upgrade like I mentioned will create other problems: Not booting, problems looking for packages, package managers having upgrade problems with the kernel, etc..

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.