[CentOS-docs] Wiki edit: HowTos/Grub2

Mitchell Roe

mitchell.roe at member.fsf.org
Tue Aug 6 11:52:50 UTC 2019


Greetings!

This is my first contribution, so please let me know if there is
anything I should be doing differently.  I am following the instructions
found here: <https://wiki.centos.org/Contribute>.

Your /FirstnameLastname/ username: MitchellRoe

The proposed subject of your Wiki contribution(s): Corrected path for
getting menu entries

The proposed location of your Wiki contribution(s): In
<https://wiki.centos.org/HowTos/Grub2>, in section 2 titled "2. How to
Define the Default Entries", in the first code block, the command given
is:

#+BEGIN_EXAMPLE
awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
#+END_EXAMPLE

I propose it should be the following:

#+BEGIN_EXAMPLE
awk -F\' '$1=="menuentry "{print i++ " : " $2}' /boot/grub2/grub.cfg
#+END_EXAMPLE

Thanks for the helpful guides.  I look forward to contributing more in
the future!

-- 
Mitchell Roe (he/him/his)
mitchell.roe at member.fsf.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20190806/4513bb39/attachment.html>


More information about the CentOS-docs mailing list