fedora21: failed to start load kernel modules 解决方法

本文介绍了Fedora 21升级后遇到的VirtualBox相关错误提示及解决步骤。通过执行特定命令安装VirtualBox必需模块或手动制作initrd文件,可以解决此问题。

fedora21升级之后,每次开机的时候都会出现[failed] failed to start load kernel modules的错误提示,上网搜索之后发现,这个问题几乎都是由VirtualBox导致的

网友提供的解决方法之一:

如果是没有安装VirtualBox必须的模块的情况,运行 dnf install kmod-VirtualBox-`uname -r` kmod-VirtualBox VirtualBox-kmodsrc,

但这些模块我的系统中都已经安装了,所以这个方法对楼主的系统没用

网友提供的解决方法之二:

mkinitrd /boot/initramfs-`uname -r`.img `uname -r`

问题解决!!


原文地址:https://bugzilla.redhat.com/show_bug.cgi?id=1173901

Last login: Mon Nov 3 18:54:25 2025 from 9.11.8.102 [dragon@localhost ~]$ VBoxManage list extpacks WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.19.90-23.59.v2101.ky10.x86_64) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed. VBoxManage: error: Failed to create the VirtualBox object! VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available) VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start. [dragon@localhost ~]$ sudo modprobe vboxdrv modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.19.90-23.59.v2101.ky10.x86_64 [dragon@localhost ~]$ sudo /sbin/vboxconfig vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong. There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root. If your system is using EFI Secure Boot you may need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. [dragon@localhost ~]$ systemctl status vboxdrv.service Failed to execute 'pager', using next fallback pager: 权限不够 ● vboxdrv.service - VirtualBox Linux kernel module Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: d> Active: inactive (dead) lines 1-3/3 (END) ^C [dragon@localhost ~]$
11-04
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值