Fedora disimprovements: am I alone?

Bryn M. Reeves bmr at redhat.com
Thu Mar 22 13:26:53 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/22/2012 01:05 PM, Aaron Konstam wrote:
> I'll say this. I recently went to read the grub2 documentation and
> found this product rather obtuse and complex. As an example trying
> to figure out the camparative roles of grub2-mkconfig and
> grub2-install.

The grub2-mkconfig command processes the templates in /etc/ and the
options specified in /etc/default/grub to generate a new grub config
file (Normally read from /boot/grub/grub.cfg and symlinked into /etc/
as /etc/grub2.cfg).

It produces output on stdout. Redirect it to the file to update it.

This is covered in the info manual, section 20 "Invoking grub-mkconfig".

Updating the configuration with grub-mkconfig is analogous to editing
/boot/grub/grub.conf on prior releases.

> One would think that grub2-install wold have to run grub2-mkinstall
> but as far as I can see it doesn't. How confusing!

The grub2-install command installs the grub2 bootloader components to
a drive. It's exactly analogous to grub 1.x's grub-install script and
is documented in section 19 of the info manual, "Invoking grub-install".

You only need to do that once unless something has overwritten it
(like another OS installer) or you replace disks.

You might also like to take a look at section 1.3, "Differences from
previous versions" and section 3, and 3.1; "Installation" and
"Installing GRUB using grub-install".

I can't stand the info manual format personally and I'd much rather
have a well-written traditional man page but the information is there
and quite clear imho.

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9rKJ0ACgkQ6YSQoMYUY97nYwCfa2PrhiOTK4gzPBuJ2MQDVHS7
HGEAoKpfw0V21yS2hhSgoia7aBoOgFUh
=v0/w
-----END PGP SIGNATURE-----


More information about the users mailing list