Results 1 to 10 of 10

Thread: Kali Linux failed to start Load Kernel Modules at boot

  1. #1
    Join Date
    2019-Aug
    Posts
    13

    Kali Linux failed to start Load Kernel Modules at boot

    Hello,
    my System is Kali 2019.2 and i have this error message at boot:
    Kali Linux failed to start Load Kernel Modules.

    The System works fine, but its unable to install the new Kernel version 4.19.0-kali5-amd64.

    if i type in:
    Code:
    systemctl status systemd-modules-load.service
    it gave me this Output


    Code:
    ● systemd-modules-load.service - Load Kernel Modules
       Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; ven
       Active: failed (Result: exit-code) since Fri 2019-08-09 17:07:35 CEST; 10min 
         Docs: man:systemd-modules-load.service(8)
               man:modules-load.d(5)
      Process: 960 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=
     Main PID: 960 (code=exited, status=1/FAILURE)
    
    Aug 09 17:07:30 whoami systemd-modules-load[960]: modprobe: ERROR: could not ins
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: could not ins
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: ../libkmod/li
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: could not ins
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: could not ins
    Aug 09 17:07:35 whoami systemd-modules-load[960]: Error running install command 
    Aug 09 17:07:35 whoami systemd-modules-load[960]: Failed to insert module 'nvidi
    Aug 09 17:07:35 whoami systemd[1]: systemd-modules-load.service: Main process ex
    Aug 09 17:07:35 whoami systemd[1]: systemd-modules-load.service: Failed with res
    Aug 09 17:07:35 whoami systemd[1]: Failed to start Load Kernel Modules.
    lines 1-18/18 (END)...skipping...
    ● systemd-modules-load.service - Load Kernel Modules
       Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
       Active: failed (Result: exit-code) since Fri 2019-08-09 17:07:35 CEST; 10min ago
         Docs: man:systemd-modules-load.service(8)
               man:modules-load.d(5)
      Process: 960 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
     Main PID: 960 (code=exited, status=1/FAILURE)
    
    Aug 09 17:07:30 whoami systemd-modules-load[960]: modprobe: ERROR: could not insert 'nvidia': Operation not permitted
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: could not insert 'nvidia_current_modeset': No such device
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: ../libkmod/libkmod-module.c:979 command_do() Error running install 
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: could not insert 'nvidia_modeset': Operation not permitted
    Aug 09 17:07:35 whoami systemd-modules-load[960]: modprobe: ERROR: could not insert 'nvidia_current_drm': No such device
    Aug 09 17:07:35 whoami systemd-modules-load[960]: Error running install command for nvidia_drm
    Aug 09 17:07:35 whoami systemd-modules-load[960]: Failed to insert module 'nvidia_drm': Operation not permitted
    Aug 09 17:07:35 whoami systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    Aug 09 17:07:35 whoami systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    Aug 09 17:07:35 whoami systemd[1]: Failed to start Load Kernel Modules.

    I think it has to do with the update of the nvidia Driver iǜe done a few Days ago...
    I hope somebody can help me fix this error to update my Kernel!
    Thanks in advance

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    956
    Once you reach grub menu, press e to open grub parameters and replace quiet with nomodeset quiet splash.

    To make this change permanent, once you reach desktop, edit the same in /etc/default/grub.conf and run sudo update-grub

  3. #3
    Join Date
    2019-Aug
    Posts
    13
    In the meantime i deinstalled the new nvidia driver with

    apt remove --purge nvidia* and reboot

    Now the failure at boot up is gone, but it still doesn't upgrade to the new Kernel.
    What i have to do now?

  4. #4
    Join Date
    2019-Aug
    Posts
    13
    Since my System is on a Persistent HDD i can`t access grub or edit it in the Bootmenu. And my /etc/default/grub.conf in nano is empty. What can i do now?

  5. #5
    Join Date
    2016-Dec
    Posts
    674
    Persistence doesn't upgrade the kernel. Unless you mean you installed it? Did you follow the persistence guide or did you run the installation from the grub menu?

  6. #6
    Join Date
    2019-Aug
    Posts
    13
    Yes i installed it with persistence option and followed the persistence guide.

    After updating and upgrading the System comes a blue screen in terminal which says:


    The currently running kernel version is 4.19.0-kali4-amd64 which is not the expected kernel version 4.19.0-kali5-amd64.

    How can i upgrade this. I tried reboot, but this Message comes every time i upgrade the System...

  7. #7
    Join Date
    2016-Dec
    Posts
    674
    You can't really update the kernel in a persistence. It is possible but not a straight-forward process

  8. #8
    Join Date
    2019-Aug
    Posts
    13
    And how is it possible?

  9. #9
    Join Date
    2016-Dec
    Posts
    674
    I was explained it months ago but I can't recall. Basically, the main idea is that the persistence partition is mounted after loading the kernel (then the kernel isn't writable anymore).

    It's just easier to redo using the latest ISO (or a weekly ISO).

  10. #10
    Join Date
    2019-Aug
    Posts
    13
    Okay thank you!

Similar Threads

  1. failed to load/save screen backlight kali live boot
    By blackat in forum Installing Archive
    Replies: 0
    Last Post: 2018-02-07, 08:55
  2. Replies: 1
    Last Post: 2017-10-09, 12:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •