• 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

grub-mkconfig Command Options

by admin

Only used for GRUB2, grub-mkconfig will generate GRUB2 configuration files from the user-editable files located in the /etc directory structure. This command converts data from the /etc/default/grub file and the files in the /etc/grub.d directory into the GRUB2 configuration file (either /boot/grub/grub.cfg or /boot/grub/menu.lst).

Note: On some systems, the command name is grub2-mkconfig.

Command Options Descriptions
-o, –output=FILE output generated config to FILE [default=stdout]
-h, –help print this message and exit
-v, –version print the version information and exit

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to Restart Network Services in CentOS/RHEL 8
  2. sar Command Examples in Linux
  3. CentOS / RHEL : How to disable root login or root access on a system
  4. CentOS / RHEL : How to Install and Configure OpenSSH Server and Client
  5. How to Set a Custom Interface Name with NetworkManager in CentOS/RHEL 7
  6. CentOS / RHEL 7 : How to set date, time / NTP and timezone using timedatectl
  7. CentOS / RHEL 6 : how to start the services interactively during boot (to disable/abort some services)
  8. What are sparse files in Linux
  9. UNIX / Linux : What is the correct permission of /tmp and /var/tmp directories
  10. RedHat / CentOS : How to change currently active slave interface of bonding online

You May Also Like

Primary Sidebar

Recent Posts

  • vgextend Command Examples in Linux
  • setpci command – configure PCI device
  • db_load command – generate db database
  • bsdtar command – Read and write tape archive files

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright