That depends on your comfort with Linux and patience. There are lots of guides available on internet for compiling and installing a Debian/Ubuntu kernel. It isn't a fast process though.
OMV 2 Kernel 4.x Image
-
- OMV 2.x
- Update
- Silverchair_mfcu
-
-
-
To install the ubuntu kernel, yes. To compile a kernel, no. I would be careful using the wildcard with dpkg -i. Make sure all .debs are removed from the directory you are doing that from. I would also be careful using the Ubuntu kernel on Debian.
-
ok thanks!
-
Anyway for a quick tutorial on how to recompile the kernel with tweaked config? These kernel images can't run Docker
-
Use kernel 4.6.5.
It's updated for Docker. -
But isn't that the one that doesn't work with VirtualBox?
-
That's in 4.6.4.
If you look at the changelog in 4.6.5, you'll see it.https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5
-
Cool, thanks!
-
Well, I've compiled 4.6.5 and it still doesn't work with VirtualBox. I get this trying to recompile the kernel modules:
Code
Alles anzeigen/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeFree’: /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:581:21: error: implicit declaration of function ‘page_cache_release’ [-Werror=implicit-function-declaration] /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeLockUser’: /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1039:29: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default] In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88:0, from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31: include/linux/mm.h:1288:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1039:29: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default] In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88:0, from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31: include/linux/mm.h:1288:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1039:29: warning: passing argument 5 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default] In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88:0, from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31: include/linux/mm.h:1288:6: note: expected ‘struct page **’ but argument is of type ‘int’ /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1039:29: warning: passing argument 6 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default] In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88:0, from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31: include/linux/mm.h:1288:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’ /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1039:29: error: too many arguments to function ‘get_user_pages’ In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88:0, from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31: include/linux/mm.h:1288:6: note: declared here cc1: some warnings being treated as errors make[2]: *** [/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1 make[1]: *** [_module_/tmp/vbox.0] Error 2 make: *** [vboxdrv] Error 2
after the patch mentioned on the first page, and another one I googled for, it's all good
-
how can I download the latest 4.6.5 directly on OMV? I want to try it to see if I can have an auto-wake up and WoL, that are currently not working
-
You can download & compile it yourself or find somebody already compiled the kernel.
sudo wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.6.5.tar.xz
sudo wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.6.5.tar.sign
-
The problem is that I never compiled a kernel and I have fear to do something wrong
-
Back up your system before attempt your kernel compilation such as Clonezilla.
It may take you a few tries to make it right.Here's the guide: http://www.cyberciti.biz/faq/d…ng-a-custom-linux-kernel/
-
Not really sure for now, if possible I would try to resolve my standby problem without a kernel update
I made a topic about that -
How do I install 4.5 on the newest OMV 2? I'm using Virtualbox-Plugin.
-
http://www.cyberciti.biz/faq/d…ng-a-custom-linux-kernel/
After you compiled the kernel, do this: dpkg -i linux-image*
dpkg -i linux-header* -
i thought this kernel is already compiled?
I download the Kernel with wget https://miami.tschoerner.eu/kernel/__CURRENT__4.5.X/linux-headers-4.5.7-fts-amd64_01%2Bcustom%2Bfts_amd64.deb and wget https://miami.tschoerner.eu/kernel/__CURRENT__4.5.X/linux-image-4.5.7-fts-amd64_01%2Bcustom%2Bfts_amd64.deb
and then? just dpkg -i linux-image* and dpkg -i linux-header*
-
Kernel 4.5.7 is installed, but virtualbox doesn't work anymore...
-
Click on the Fix Modules button in the virtualbox plugin.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!