1

I've been using archlinux with a patched kernel on my surface pro 3.
I switched to ubuntu now and want to use the kernel that includes all the patches from arch with ubuntu.
What is the best way to add the Kernel?
Can I simply copy the vmlinuz and initramfs and update-grub?

I copied the files and updated grub, which worked fine.
But when I boot the new Kernel I get a Kernel panic:
Unable to mount root filesystem.enter image description here

The Kernel here was provided precompiled with with /usr and /lib as a .tar.gz archive.
The Kernel package I used does not provide that,it just contains the patches, so I can't justcopy /usr and /lib from the archive.

I could copy them from my arch distribution running this Kernel, but what specific directories would I have to copy, the whole /usr and /lib?

9
  • In short - yes, in long - yes, but you probably may have a problems with loading modules and other things. Try to just copy these files in boot directory and boot manualy from grub CLI, it's interesting experiment. But I don't think ubuntu have old kernel without patches, try to search kernel ppa for vivid (there is 4.0RC) May 5, 2015 at 18:11
  • Thanks I will try it later. Most patches for the surface pro 3 are unfourtunatley not in the mainline kernel yet so you need to add them yourself.
    – Pabi
    May 5, 2015 at 18:15
  • is this patched kernel available to download?
    – Ron
    May 5, 2015 at 18:15
  • I have compiled it myself, but there is one in the AUR.
    – Pabi
    May 5, 2015 at 18:53
  • Booting the kernel results in a Kernel panic.
    – Pabi
    May 6, 2015 at 8:07

1 Answer 1

0

simply copying the vmlinuz and initramfs and update-grub might work, but you might also need lib and usr. There is an interesting post that shows it is possible to use arch kernals in ubuntu.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .