Steps for using custom kernel

Sysprogs forums Forums VisualKernel Steps for using custom kernel

This topic contains 1 reply, has 2 voices, and was last updated by  support 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26712




    I would like to ask for the steps needed in order to build modules targeting other kernels than the one that comes with the OS. For example kernel 5.4 (compiled and installed by myself) instead of the one that comes with Ubuntu 18.04 which is the kernel version 5.0.


    I have compiled and installed that kernel but when I have tried to run with VisualKernel it looks for the headers and symbols within the Ubuntu repositories and therefore they are not found. Should I place any file obtained from the compilation somewhere? How could I achieve it?


    The steps I used for compiling the kernel where:


    make modules install

    make install


    And finally updating the grub.


    Thanks in advance




    We would advise creating a VisualKernel project for the kernel itself  (see this tutorial). First of all, this will allow building and installing the kernel directly from Visual Studio.

    Second of all, all you would need to do when creating a new kernel module, is to select “My Kernel is built with VisualKernel” and point it to the Kernel project file. This will automatically handle build paths, versions and source file mappings (see this tutorial).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.