On Tue, Oct 4, 2016 at 9:57 PM, Kent Fredric <ken...@gentoo.org> wrote:
> On Tue, 4 Oct 2016 22:22:12 -0400
> Rich Freeman <ri...@gentoo.org> wrote:
>
>> How do you generate your grub-0 config files?
>
> I didn't, it came as a stock example file with comments which I edited
> in a minimal fashion until it worked.
>

Not a surprise, that is how most did it.

>>
>> You can just use the same method to generate the grub-2 ones...
>
> No, I regenerated it with mkconfig, replacing the file.

And that is my point.

In the past you were given a template file and some instructions and
simply edited it.

Now you're given a fancy file-generator tool which you don't like.
So, instead of a template file you ask for another simpler
file-generator tool, which I think is the wrong approach.

What you really want is another template file.

I'm happy with mkconfig, but I did hand-roll my config files before
that.  The docs are out there.  However, for whatever reason, it is
very hard to find examples of simple config files online.  The
official docs try to point you in the direction of mkconfig, and since
99% of linux users don't configure their own grub there isn't much
alternative documentation (and when a distro's solution does break the
solution usually is based on mkconfig anyway).

Unfortunately, I deleted the last copy of my manually-generated config
files eons ago, otherwise I'd happily post one.  The syntax is ALMOST
identical to grub-0, but not quite.  The syntax is documented though,
and you can get a sense for how it works in the mkconfig-generated
ones, but I'll go ahead and point out that 99% of the stuff in those
is unnecessary.  The essential elements are basically the same as they
were before.

-- 
Rich

Reply via email to