在哪里向 initramfs 添加模块?(15.04)

Aru*_*ruk 4 boot drivers ubuntu-gnome 15.04

我需要添加这些模块,因为当我尝试输入加密密码时,我的 USB 键盘无法工作。

usbcore
uhci_hcd
ehci_hcd
usbhid
Run Code Online (Sandbox Code Playgroud)

我想我需要将它们添加到 /etc/initramfs-tools/modules 中,但是我到底在哪里添加它们。这是模块文件:

# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
Run Code Online (Sandbox Code Playgroud)

我应该在哪里添加它,我做的事情是否正确(安全吗)?

Pil*_*ot6 5

只需将它们添加到文件末尾即可

# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
usbcore
uhci_hcd
ehci_hcd
usbhid
Run Code Online (Sandbox Code Playgroud)

但我认为这与你的问题无关。