How to install new Kernel on OMV from Source

  • Hello,

    I would like to share with you how I updated to linux 5.*.
    There are two options:
    1) Debian Experimental:…atest-rc-kernel-on-debian
    Currently, this gives 5.0

    2) Creating a Debian package yourself:

    edit /etc/default/grub --> GRUB_DEFAULT=0

    sudo update-grub


  • Update:

  • make menuconfig

    LEX scripts/kconfig/lexer.lex.c

    /bin/sh: 1: flex: not found

    make[1]: *** [scripts/Makefile.lib:184: scripts/kconfig/lexer.lex.c] Error 127

    make: *** [Makefile:559: menuconfig] Error 2

  • Hi. Sorry. Context is I broke my GUI and got it to a point where advice on another thread was to upgrade the kernel. An entire day of Googling and thread reading had me here. I followed the instructions in the prev post and got that error on running that line.

    I agree it was too little info. Most people Google a lot and get very stressed before posting. I ended up doing a clean install, and now I'm having grief with that but I'll post separately.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!