UbuntuHelp:KernelDoesNotSupportCapabilities
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Your make-kpkg kernel may not automatically load capabilities. This is how to add it: Start with your custom kernel and do following:
$ echo capability | sudo tee -a /etc/modules sudo mkinitrd -o /boot/initrd.img-$(uname -r) $(uname -r)
If you use a bootloader not handling changes by itself (e.g. lilo) you have to tell it about the new initrd.img. From CedricVeilleux Fri Apr 8 16:25:34 +0100 2005 From: Cedric Veilleux Date: Fri, 08 Apr 2005 16:25:34 +0100 Subject: uname -r ?? The commands above uses uname -r to get the version of the running kernel. If you are setting up a kernel to boot it, you are not yet running it. All references to uname -r should be changed to the new kernel name...