• 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. Bind to port 22 on 0.0.0.0 failed: address already in use – error while starting sshd service CentOS/RHEL
  2. Understanding iscsiadm Utility in CentOS / RHEL
  3. Understanding chroot Jail
  4. CentOS / RHEL 7 : How to disable Transparent Huge pages (THP)
  5. How to install and configure VNC Server on CentOS/RHEL 8
  6. how to rotate Tang Server Keys and update the Clevis Client
  7. how to add a custom script to the systemd in CentOS/RHEL 7
  8. ‘ulimit: max user processes: cannot modify limit:operation not permitted’ Shown When Login
  9. How to disable the default apache “Welcome Page” in CentOS/RHEL 7
  10. How to verify if NX/XD is Enabled or Disabled in CentOS/RHEL 7 and 8

You May Also Like

Primary Sidebar

Recent Posts

  • dig: DNS lookup utility
  • diffstat: Create a histogram from the output of the diff command
  • diffoscope: Compare files, archives, and directories
  • diff-pdf: Tool for comparing two PDFs

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright