3

My concern is theoretical possibility of running ubuntu kernel with fedora root filesystem (e.g. 3.2.58 ubuntu kernel on fedora 22). It's long story why I need this.. Also, I have no chance to make such experiment on my own.

Is there any critical incompatibility between fedora init/libc and ubuntu kernel? Maybe someone has an experience like this?

migrated from askubuntu.com Aug 6 '15 at 23:52

This question came from our site for Ubuntu users and developers.

  • You probably can, but you woudl lilkely need to build the source into RPM format. If you need a new kernel on Fedora, you may be able to use a old version from a old version of fedora (probably 16 or 17). Why do you need the old kernel version (modules can usually be rebuilt for new kernels). – Wilf Aug 6 '15 at 13:28
  • Interesting experiment. I will follow this. Please keep us posted. – fantasia Aug 7 '15 at 0:10
0

Probably.

Put the kernel into /boot/vmlinuz-<version>, put the modules into /lib/modules/<version>, run dracut /boot/initramfs-<version>.img <version> to generate the initramfs image, cross your fingers, and reboot.

You say, "Also, I have no chance to make such experiment on my own", but of course you do. Boot up a Fedora VM, put the Ubuntu kernel in place as described here, and see what happens.

There may be incompatibilities between some of the user space tools and the kernel, but you should probably be able to boot successfully.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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