“UbuntuHelp:KernelDoesNotSupportCapabilities”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/KernelDoesNotSupportCapabilities}} {{Languages|UbuntuHelp:KernelDoesNotSupportCapabilities}} Your make-kpkg kernel may not automatically load capa...) |
小 |
||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:KernelDoesNotSupportCapabilities}} | {{Languages|UbuntuHelp:KernelDoesNotSupportCapabilities}} | ||
Your make-kpkg kernel may not automatically load capabilities. This is how to add it: | Your make-kpkg kernel may not automatically load capabilities. This is how to add it: | ||
− | |||
− | |||
Start with your custom kernel and do following: | Start with your custom kernel and do following: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
$ echo capability | sudo tee -a /etc/modules | $ echo capability | sudo tee -a /etc/modules | ||
sudo mkinitrd -o /boot/initrd.img-$(uname -r) $(uname -r) | sudo mkinitrd -o /boot/initrd.img-$(uname -r) $(uname -r) | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
If you use a bootloader not handling changes by itself (e.g. lilo) you have to tell it about the new initrd.img. | 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 CedricVeilleux Fri Apr 8 16:25:34 +0100 2005 | ||
From: Cedric Veilleux | From: Cedric Veilleux | ||
Date: Fri, 08 Apr 2005 16:25:34 +0100 | Date: Fri, 08 Apr 2005 16:25:34 +0100 | ||
Subject: uname -r ?? | Subject: uname -r ?? | ||
− | |||
The commands above uses uname -r to get the version of the running kernel. | 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... | 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... | ||
---- | ---- |
2007年11月30日 (五) 19:59的版本
点击翻译: |
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...