Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm no Linux expert and I need to upgrade the kernel, and some applications, in a Ubuntu live ISO file whose structure looks like this:

alt text

I've never done this before, and would like to check something before going further:

To update the kernel, I was thinking of downloading and unpacking the latest kernel package, eg. linux-image-2.6.31-22-386_2.6.31-22.63_i386.deb.

The data.tar.bz2 in the package contains ./boot (System.map, abi, config, vmcoreinfo, vmlinuz), ./lib (firmware/, modules/), and ./usr (share/doc).

I suspect upgrading the kernel is a bit more involved than just replacing vmlinuz in the ISO file in /casper: What about references in configuration files? Do I also need to replace /lib with those in the package? Is building a new initrd.gz required too?

Then, after chrooting into the squashfs (ie. the root filesystem that will be unpacked in RAM), "apt-get upgrade" will download newer versions of the applications, so what about MD5 hashfiles, manifests, etc.?

Thank you for any help.

share|improve this question

migrated from stackoverflow.com Sep 8 '10 at 2:50

This question came from our site for professional and enthusiast programmers.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.