On 09/10/16 00:57, Ben Kohler wrote:
>
>
> On Sat, Oct 8, 2016 at 9:28 AM, Tom H <tomh0...@gmail.com
> <mailto:tomh0...@gmail.com>> wrote:
>
>     On Tue, Oct 4, 2016 at 11:34 PM, William Hubbs
>     <willi...@gentoo.org <mailto:willi...@gentoo.org>> wrote:
>     >
>     > You don't have to use grub-mkconfig. You can write
>     /boot/grub/grub.cfg
>     > by hand if you want, and it appears that the syntax is documented in
>     > the grub info pages.
>
>     If you write "/boot/grub/grub.cfg" by hand and run grub-mkconfig by
>     mistake, you'll wipe out your config. It's safer to write it to
>     "/etc/grub.d/40_custom" and "chmod -x" the other files in
>     "/etc/grub.d/".
>
> Well "grub2-mkconfig" by itself doesn't write anywhere unless you pass
> a -o parameter.  If you are "accidentally" running "grub2-mkconfig -o
> /boot/grub/grub.cfg" and it catches you by surprise that
> /boot/grub/grub.cfg is overwritten, you have bigger problems.
>
> Let's not make up problems where there are none.
>
> -Ben
+1

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to