• 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. rm Command Examples in Linux
  2. chage: command not found
  3. “resize2fs: Permission denied to resize filesystem” error while online resize of a filesystem
  4. How to Transfer files securely using SCP Command in Linux
  5. Permissions 0644 for ‘/home/username/.ssh/your_pem_file.pem:’ are too open
  6. Audit rules for monitoring Copy, move, delete and kill Commands In Linux
  7. getenforce: command not found
  8. How to Mask or Unmask a Service in CentOS/RHEL 7 and 8
  9. System Log File /var/log/messages Is Getting Deleted or Trimmed Automatically (CentOS/RHEL)
  10. How to enable/disable wayland on Ubuntu 20.04

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright