tech:exemples_parametres_noyau_kernel_linux_boot
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:exemples_parametres_noyau_kernel_linux_boot [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:exemples_parametres_noyau_kernel_linux_boot [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Exemples paramètres noyau kernel Linux boot | ||
| + | |||
| + | Voir aussi : | ||
| + | * [[pb_disque_invisible_sur_hp_proliant_disque_invisible_lors_de_l_install_os_redhat7]] | ||
| + | |||
| + | Kernel boot parameter | ||
| + | |||
| + | ~~~bash | ||
| + | cat / | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## En cas de pb | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | ~~~ | ||
| + | noapic nolapic acpi=off nomodeset nodmraid | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | edd=on | ||
| + | ~~~ | ||
| + | |||
| + | Désactiver Cloutinit | ||
| + | ~~~ | ||
| + | cloud-init=disabled | ||
| + | ~~~ | ||
| + | |||
| + | Désactiver la **mitigations** des CPU pour améliorer les performances au dépend de la sécurité | ||
| + | Kernel 5.1.13 et sup | ||
| + | ~~~ | ||
| + | mitigations=off | ||
| + | ~~~ | ||
| + | |||
| + | Avant Kernel 5.1.13 | ||
| + | |||
| + | `/ | ||
| + | ~~~bash | ||
| + | GRUB_CMDLINE_LINUX=" | ||
| + | ~~~ | ||
| + | |||
| + | Retbleed | ||
| + | ~~~ | ||
| + | spectre_v2=ibrs retbleed=off | ||
| + | ~~~ | ||
| + | |||
| + | Voir https:// | ||
| + | |||
| + | ~~~ | ||
| + | pnpbios=off noapic | ||
| + | ~~~ | ||
| + | |||
| + | Désactive partiellement KPTI (Kernel page-table isolation) \\ | ||
| + | KPTI a été crée pour limiter l' | ||
| + | ~~~ | ||
| + | noibrs noibpb nopti | ||
| + | #pti=off | ||
| + | ~~~ | ||
| + | |||
| + | Autres | ||
| + | ~~~ini | ||
| + | pci=noaer | ||
| + | pcie_aspm=off | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### Fix boot errors | ||
| + | |||
| + | Source : https:// | ||
| + | ~~~ | ||
| + | noapic | ||
| + | ~~~ | ||
| + | |||
| + | ou | ||
| + | ~~~ | ||
| + | noapictimer, | ||
| + | ~~~ | ||
| + | |||
| + | ou | ||
| + | |||
| + | ~~~ | ||
| + | acpi=force | ||
| + | irqpoll | ||
| + | pci=nommconf | ||
| + | pci=nomsi | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | splash=silent quiet showopts | ||
| + | |||
| + | |||
| + | lapic=notscdeadline | ||
| + | |||
| + | acpi=rsdt | ||
| + | |||
| + | pci=nocrs | ||
| + | no_timer_check | ||
| + | ~~~ | ||
| + | |||
| + | Pb avec SSD | ||
| + | BIOS : SATA sur **AHCI** à la place de **RAID** | ||
| + | Ou change **RAID On** to **Disabled** (**Disable** : The SATA controllers are hidden). | ||
| + | ~~~ | ||
| + | nvme_load=YES | ||
| + | ~~~ | ||
| + | Source : https:// | ||
| + | |||
| + | |||
| + | ## Debug | ||
| + | |||
| + | ~~~bash | ||
| + | loglevel=7 systemd.log_level=debug | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | ignore_loglevel | ||
| + | ~~~ | ||
| + | Affiche tous les messages | ||
| + | Peut être changé dynamiquement | ||
| + | |||
| + | ## Linux Crashes, Reboots, ACPI and APIC | ||
| + | |||
| + | Source : http:// | ||
| + | |||
| + | On single processor machines you can fully disable ACPI and APIC by passing kernel boot parameters: | ||
| + | |||
| + | ~~~ | ||
| + | noapic nolapic acpi=ht | ||
| + | ~~~ | ||
| + | |||
| + | On a dual core, quad core, or multiprocessor machine, you want to make sure you enable Local APIC. Local APIC has some kind of control over your Multiprocessor machine. If you shut off Local APIC on an multi-core or multiprocessor machine, you will only see one processor available. | ||
| + | |||
| + | ~~~ | ||
| + | noapic lapic acpi=ht | ||
| + | ~~~ | ||
| + | |||
| + | Exemple Oracle | ||
| + | ~~~ | ||
| + | numa=off transparent_hugepage=never clocksource=tsc | ||
| + | |||
| + | ipv6.disable=1 audit=1 audit_backlog_limit=8192 | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Exemples | ||
| + | |||
| + | CloneZilla | ||
| + | ~~~bash | ||
| + | linux / | ||
| + | ~~~ | ||
| + | |||
| + | Autres | ||
| + | ~~~ | ||
| + | xdriver=vesa fastboot | ||
| + | ~~~ | ||
| + | |||
| + | UEFI | ||
| + | ~~~bash | ||
| + | video=efifb fbcon=rotate: | ||
| + | ~~~ | ||
| + | |||
| + | Désactive le chargement du microcode CPU | ||
| + | ~~~ | ||
| + | dis_ucode_ldr | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | Lenteur au boot à cause d'un maque d' | ||
| + | ~~~ini | ||
| + | random.trust_cpu=on | ||
| + | ~~~ | ||
| + | |||
| + | Voir https:// | ||
| + | |||
| + | Voir KVM : https:// | ||
| + | |||
| + | ~~~bash | ||
| + | memmap=512M\$1024M | ||
| + | ~~~ | ||
| + | |||
| + | `/ | ||
| + | ~~~bash | ||
| + | GRUB_CMDLINE_LINUX_DEFAULT=" | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Autres | ||
| + | |||
| + | ~~~ini | ||
| + | force_latency=cstate.id: | ||
| + | |||
| + | force_latency=1 | ||
| + | ~~~ | ||
| + | |||
