特殊:Badtitle/NS100:Update the Ramdisk
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Update%20the%20Ramdisk }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/af | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Afrikaans| [[::Update the Ramdisk/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ar | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|العربية| [[::Update the Ramdisk/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/az | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|azərbaycanca| [[::Update the Ramdisk/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/bcc | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|جهلسری بلوچی| [[::Update the Ramdisk/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/bg | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|български| [[::Update the Ramdisk/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/br | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|brezhoneg| [[::Update the Ramdisk/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ca | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|català| [[::Update the Ramdisk/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/cs | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|čeština| [[::Update the Ramdisk/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/de | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Deutsch| [[::Update the Ramdisk/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/el | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Ελληνικά| [[::Update the Ramdisk/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/es | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|español| [[::Update the Ramdisk/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/fa | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|فارسی| [[::Update the Ramdisk/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/fi | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|suomi| [[::Update the Ramdisk/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/fr | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|français| [[::Update the Ramdisk/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/gu | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|ગુજરાતી| [[::Update the Ramdisk/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/he | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|עברית| [[::Update the Ramdisk/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/hu | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|magyar| [[::Update the Ramdisk/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/id | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Bahasa Indonesia| [[::Update the Ramdisk/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/it | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|italiano| [[::Update the Ramdisk/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ja | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|日本語| [[::Update the Ramdisk/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ko | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|한국어| [[::Update the Ramdisk/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ksh | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Ripoarisch| [[::Update the Ramdisk/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/mr | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|मराठी| [[::Update the Ramdisk/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ms | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Bahasa Melayu| [[::Update the Ramdisk/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/nl | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Nederlands| [[::Update the Ramdisk/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/no | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|norsk| [[::Update the Ramdisk/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/oc | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|occitan| [[::Update the Ramdisk/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/pl | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|polski| [[::Update the Ramdisk/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/pt | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|português| [[::Update the Ramdisk/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ro | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|română| [[::Update the Ramdisk/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/ru | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|русский| [[::Update the Ramdisk/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/si | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|සිංහල| [[::Update the Ramdisk/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/sq | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|shqip| [[::Update the Ramdisk/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/sr | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|српски / srpski| [[::Update the Ramdisk/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/sv | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|svenska| [[::Update the Ramdisk/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/th | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|ไทย| [[::Update the Ramdisk/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/tr | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Türkçe| [[::Update the Ramdisk/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/vi | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|Tiếng Việt| [[::Update the Ramdisk/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/yue | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|粵語| [[::Update the Ramdisk/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/zh | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|中文| [[::Update the Ramdisk/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/zh-hans | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|中文(简体)| [[::Update the Ramdisk/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Update%20the%20Ramdisk | UbuntuHelp:Update%20the%20Ramdisk | {{#if: | :}}Update the Ramdisk}}/zh-hant | • {{#if: UbuntuHelp:Update%20the%20Ramdisk|中文(繁體)| [[::Update the Ramdisk/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Update%20the%20Ramdisk|:Update the Ramdisk|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Update the Ramdisk/zh | | {{#ifexist: Update the Ramdisk/zh | | {{#ifeq: {{#titleparts:Update the Ramdisk|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Update the Ramdisk|1|-1|}} | zh | | }}
Introduction
The automatic configuration of hardware is achieved by using a two-phase boot: 1. Load a generic system from a ram disk. Determine what hardware is present, and what kernel modules to use. 2. Boot the system using the appropriate modules.
In order for changes to the module configuration to take effect in the first phase, the ram disk needs to be updated.
How to update the ramdisk
After having made changes to any of the files in /etc/initramfs-tools/, the ramdisk usually needs to be updated.
sudo update-initramfs -u -v -k `uname -r`