• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to disable ACPI in CentOS/RHEL 7

by admin

ACPI stands for Advanced Configuration and Power Interface. It is the system that controls hardware actions such as the dynamic speed fans, the power button behavior, system sleep states, and helps to identify some system capabilities.

ACPI power-saving features are hierarchical, meaning that any device running “behind” another will be dependent on the power state of the parent device. For example, a device cannot be running in full power “behind” a device that is sleeping or in standby mode.

How to disable ACPI completely in grub2?

For an MBR (BIOS-based) system

1. Make copy of the GRUB2 configuration files before making any changes to them.

# cp /etc/default/grub /etc/default/grub-backup
# cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg-backup

2. Open the /etc/default/grub file and append “noacpi acpi=off” to the GRUB_CMDLINE_LINUX option:

# vi /etc/default/grub
...
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet noacpi acpi=off"

3. Once the file is edited, save it and run the command specified below to generate a new grub.cfg file:

# grub2-mkconfig -o /boot/grub2/grub.cfg

4. Finally, reboot the system to apply the changes:

# systemctl reboot

For a GPT (UEFI-based) system

1. Make copy of the GRUB2 configuration files before making any changes to them.

# cp /etc/default/grub /etc/default/grub-backup
# cp /boot/efi/EFI/redhat/grub.cfg /boot/efi/EFI/redhat/grub.cfg-backup

2. Open the /etc/default/grub file and append “noacpi acpi=off” to the GRUB_CMDLINE_LINUX option:

# vi /etc/default/grub
...
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet noacpi acpi=off"

3. Once the file is edited, save it and run the command specified below to generate a new grub.cfg file:

# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

4. Finally, reboot the system to apply the changes:

# systemctl reboot

Filed Under: CentOS/RHEL, CentOS/RHEL 7

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : How to configure kdump using GUI
  2. ‘ip’ Command cheat sheet (Command Line Reference)
  3. systemd command line reference (cheat sheet)
  4. How To Remove Disk from a LVM Volume Group
  5. “yum clean all” not clearing yum repository cache in CentOS/RHEL/OEL
  6. CentOS / RHEL 7 : Configuring static IP adress using network interface configuration files
  7. CentOS / RHEL 7 : How to remove rescue image using grubby
  8. How to Configure Persistent Names for Tape Devices in CentOS/RHEL
  9. How to Use “repoquery” Command to List Package Dependencies
  10. CentOS / RHEL 7 : How to configure VLAN Tagging using nmcli

You May Also Like

Primary Sidebar

Recent Posts

  • What are /dev/zero and /dev/null files in Linux
  • grpck command – Remove corrupt or duplicate entries in the /etc/group and /etc/gshadow files.
  • xxd command – Expressed in hexadecimal form
  • sesearch: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright