Blame SOURCES/0048-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch

8631a2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8631a2
From: Peter Jones <pjones@redhat.com>
8631a2
Date: Tue, 4 Mar 2014 11:00:23 -0500
8631a2
Subject: [PATCH] Replace a lot of man pages with slightly nicer ones.
8631a2
8631a2
Replace a bunch of machine generated ones with ones that look nicer.
8631a2
---
8631a2
 configure.ac                      |  23 ++++++
8631a2
 conf/Makefile.extra-dist          |   1 -
8631a2
 docs/Makefile.am                  |   2 -
8631a2
 docs/man/grub-bios-setup.h2m      |   6 --
8631a2
 docs/man/grub-editenv.h2m         |   5 --
8631a2
 docs/man/grub-emu.h2m             |   6 --
8631a2
 docs/man/grub-file.h2m            |   2 -
8631a2
 docs/man/grub-fstest.h2m          |   4 -
8631a2
 docs/man/grub-glue-efi.h2m        |   4 -
8631a2
 docs/man/grub-install.h2m         |   6 --
8631a2
 docs/man/grub-kbdcomp.h2m         |  10 ---
8631a2
 docs/man/grub-macbless.h2m        |   4 -
8631a2
 docs/man/grub-macho2img.h2m       |   4 -
8631a2
 docs/man/grub-menulst2cfg.h2m     |   4 -
8631a2
 docs/man/grub-mkconfig.h2m        |   4 -
8631a2
 docs/man/grub-mkfont.h2m          |   4 -
8631a2
 docs/man/grub-mkimage.h2m         |   6 --
8631a2
 docs/man/grub-mklayout.h2m        |  10 ---
8631a2
 docs/man/grub-mknetdir.h2m        |   4 -
8631a2
 docs/man/grub-mkpasswd-pbkdf2.h2m |   4 -
8631a2
 docs/man/grub-mkrelpath.h2m       |   4 -
8631a2
 docs/man/grub-mkrescue.h2m        |   4 -
8631a2
 docs/man/grub-mkstandalone.h2m    |   4 -
8631a2
 docs/man/grub-mount.h2m           |   2 -
8631a2
 docs/man/grub-ofpathname.h2m      |   4 -
8631a2
 docs/man/grub-pe2elf.h2m          |   4 -
8631a2
 docs/man/grub-probe.h2m           |   4 -
8631a2
 docs/man/grub-reboot.h2m          |   5 --
8631a2
 docs/man/grub-render-label.h2m    |   3 -
8631a2
 docs/man/grub-script-check.h2m    |   4 -
8631a2
 docs/man/grub-set-default.h2m     |   5 --
8631a2
 docs/man/grub-sparc64-setup.h2m   |   6 --
8631a2
 docs/man/grub-syslinux2cfg.h2m    |   4 -
8631a2
 gentpl.py                         |   5 +-
8631a2
 util/grub-bios-setup.8            |  54 +++++++++++++
8631a2
 util/grub-editenv.1               |  46 +++++++++++
8631a2
 util/grub-file.1                  | 165 ++++++++++++++++++++++++++++++++++++++
8631a2
 util/grub-fstest.1                |  99 +++++++++++++++++++++++
8631a2
 util/grub-glue-efi.1              |  31 +++++++
8631a2
 util/grub-install.8               | 129 +++++++++++++++++++++++++++++
8631a2
 util/grub-kbdcomp.1               |  19 +++++
8631a2
 util/grub-macbless.1              |  22 +++++
8631a2
 util/grub-menulst2cfg.1           |  12 +++
8631a2
 util/grub-mkconfig.8              |  17 ++++
8631a2
 util/grub-mkfont.1                |  87 ++++++++++++++++++++
8631a2
 util/grub-mkimage.1               |  95 ++++++++++++++++++++++
8631a2
 util/grub-mklayout.1              |  27 +++++++
8631a2
 util/grub-mknetdir.1              |  12 +++
8631a2
 util/grub-mkpasswd-pbkdf2.1       |  27 +++++++
8631a2
 util/grub-mkrelpath.1             |  12 +++
8631a2
 util/grub-mkrescue.1              | 123 ++++++++++++++++++++++++++++
8631a2
 util/grub-mkstandalone.1          | 100 +++++++++++++++++++++++
8631a2
 util/grub-ofpathname.8            |  12 +++
8631a2
 util/grub-probe.8                 |  80 ++++++++++++++++++
8631a2
 util/grub-reboot.8                |  21 +++++
8631a2
 util/grub-render-label.1          |  51 ++++++++++++
8631a2
 util/grub-script-check.1          |  21 +++++
8631a2
 util/grub-set-default.8           |  21 +++++
8631a2
 util/grub-sparc64-setup.8         |  12 +++
8631a2
 59 files changed, 1319 insertions(+), 147 deletions(-)
8631a2
 delete mode 100644 docs/man/grub-bios-setup.h2m
8631a2
 delete mode 100644 docs/man/grub-editenv.h2m
8631a2
 delete mode 100644 docs/man/grub-emu.h2m
8631a2
 delete mode 100644 docs/man/grub-file.h2m
8631a2
 delete mode 100644 docs/man/grub-fstest.h2m
8631a2
 delete mode 100644 docs/man/grub-glue-efi.h2m
8631a2
 delete mode 100644 docs/man/grub-install.h2m
8631a2
 delete mode 100644 docs/man/grub-kbdcomp.h2m
8631a2
 delete mode 100644 docs/man/grub-macbless.h2m
8631a2
 delete mode 100644 docs/man/grub-macho2img.h2m
8631a2
 delete mode 100644 docs/man/grub-menulst2cfg.h2m
8631a2
 delete mode 100644 docs/man/grub-mkconfig.h2m
8631a2
 delete mode 100644 docs/man/grub-mkfont.h2m
8631a2
 delete mode 100644 docs/man/grub-mkimage.h2m
8631a2
 delete mode 100644 docs/man/grub-mklayout.h2m
8631a2
 delete mode 100644 docs/man/grub-mknetdir.h2m
8631a2
 delete mode 100644 docs/man/grub-mkpasswd-pbkdf2.h2m
8631a2
 delete mode 100644 docs/man/grub-mkrelpath.h2m
8631a2
 delete mode 100644 docs/man/grub-mkrescue.h2m
8631a2
 delete mode 100644 docs/man/grub-mkstandalone.h2m
8631a2
 delete mode 100644 docs/man/grub-mount.h2m
8631a2
 delete mode 100644 docs/man/grub-ofpathname.h2m
8631a2
 delete mode 100644 docs/man/grub-pe2elf.h2m
8631a2
 delete mode 100644 docs/man/grub-probe.h2m
8631a2
 delete mode 100644 docs/man/grub-reboot.h2m
8631a2
 delete mode 100644 docs/man/grub-render-label.h2m
8631a2
 delete mode 100644 docs/man/grub-script-check.h2m
8631a2
 delete mode 100644 docs/man/grub-set-default.h2m
8631a2
 delete mode 100644 docs/man/grub-sparc64-setup.h2m
8631a2
 delete mode 100644 docs/man/grub-syslinux2cfg.h2m
8631a2
 create mode 100644 util/grub-bios-setup.8
8631a2
 create mode 100644 util/grub-editenv.1
8631a2
 create mode 100644 util/grub-file.1
8631a2
 create mode 100644 util/grub-fstest.1
8631a2
 create mode 100644 util/grub-glue-efi.1
8631a2
 create mode 100644 util/grub-install.8
8631a2
 create mode 100644 util/grub-kbdcomp.1
8631a2
 create mode 100644 util/grub-macbless.1
8631a2
 create mode 100644 util/grub-menulst2cfg.1
8631a2
 create mode 100644 util/grub-mkconfig.8
8631a2
 create mode 100644 util/grub-mkfont.1
8631a2
 create mode 100644 util/grub-mkimage.1
8631a2
 create mode 100644 util/grub-mklayout.1
8631a2
 create mode 100644 util/grub-mknetdir.1
8631a2
 create mode 100644 util/grub-mkpasswd-pbkdf2.1
8631a2
 create mode 100644 util/grub-mkrelpath.1
8631a2
 create mode 100644 util/grub-mkrescue.1
8631a2
 create mode 100644 util/grub-mkstandalone.1
8631a2
 create mode 100644 util/grub-ofpathname.8
8631a2
 create mode 100644 util/grub-probe.8
8631a2
 create mode 100644 util/grub-reboot.8
8631a2
 create mode 100644 util/grub-render-label.1
8631a2
 create mode 100644 util/grub-script-check.1
8631a2
 create mode 100644 util/grub-set-default.8
8631a2
 create mode 100644 util/grub-sparc64-setup.8
8631a2
8631a2
diff --git a/configure.ac b/configure.ac
030dc3
index 783118ccdcd..d5db2803ec4 100644
8631a2
--- a/configure.ac
8631a2
+++ b/configure.ac
8631a2
@@ -70,6 +70,29 @@ grub_TRANSFORM([grub-set-default])
8631a2
 grub_TRANSFORM([grub-sparc64-setup])
8631a2
 grub_TRANSFORM([grub-render-label])
8631a2
 grub_TRANSFORM([grub-file])
8631a2
+grub_TRANSFORM([grub-bios-setup.3])
8631a2
+grub_TRANSFORM([grub-editenv.1])
8631a2
+grub_TRANSFORM([grub-fstest.3])
8631a2
+grub_TRANSFORM([grub-glue-efi.3])
8631a2
+grub_TRANSFORM([grub-install.1])
8631a2
+grub_TRANSFORM([grub-kbdcomp.3])
8631a2
+grub_TRANSFORM([grub-menulst2cfg.1])
8631a2
+grub_TRANSFORM([grub-mkconfig.1])
8631a2
+grub_TRANSFORM([grub-mkfont.3])
8631a2
+grub_TRANSFORM([grub-mkimage.1])
8631a2
+grub_TRANSFORM([grub-mklayout.3])
8631a2
+grub_TRANSFORM([grub-mknetdir.3])
8631a2
+grub_TRANSFORM([grub-mkpasswd-pbkdf2.3])
8631a2
+grub_TRANSFORM([grub-mkrelpath.3])
8631a2
+grub_TRANSFORM([grub-mkrescue.1])
8631a2
+grub_TRANSFORM([grub-mkstandalone.3])
8631a2
+grub_TRANSFORM([grub-ofpathname.3])
8631a2
+grub_TRANSFORM([grub-probe.3])
8631a2
+grub_TRANSFORM([grub-reboot.3])
8631a2
+grub_TRANSFORM([grub-render-label.3])
8631a2
+grub_TRANSFORM([grub-script-check.3])
8631a2
+grub_TRANSFORM([grub-set-default.1])
8631a2
+grub_TRANSFORM([grub-sparc64-setup.3])
8631a2
 
8631a2
 # Optimization flag.  Allow user to override.
8631a2
 if test "x$TARGET_CFLAGS" = x; then
8631a2
diff --git a/conf/Makefile.extra-dist b/conf/Makefile.extra-dist
030dc3
index b16bd925320..39eb94bded6 100644
8631a2
--- a/conf/Makefile.extra-dist
8631a2
+++ b/conf/Makefile.extra-dist
8631a2
@@ -11,7 +11,6 @@ EXTRA_DIST += unicode
8631a2
 EXTRA_DIST += util/import_gcry.py
8631a2
 EXTRA_DIST += util/import_unicode.py
8631a2
 
8631a2
-EXTRA_DIST += docs/man
8631a2
 EXTRA_DIST += docs/autoiso.cfg
8631a2
 EXTRA_DIST += docs/grub.cfg
8631a2
 EXTRA_DIST += docs/osdetect.cfg
8631a2
diff --git a/docs/Makefile.am b/docs/Makefile.am
030dc3
index 93eb3962765..ab28f199694 100644
8631a2
--- a/docs/Makefile.am
8631a2
+++ b/docs/Makefile.am
8631a2
@@ -5,5 +5,3 @@ info_TEXINFOS = grub.texi grub-dev.texi
8631a2
 grub_TEXINFOS = fdl.texi
8631a2
 
8631a2
 EXTRA_DIST = font_char_metrics.png font_char_metrics.txt
8631a2
-
8631a2
-
8631a2
diff --git a/docs/man/grub-bios-setup.h2m b/docs/man/grub-bios-setup.h2m
8631a2
deleted file mode 100644
030dc3
index ac6ede36296..00000000000
8631a2
--- a/docs/man/grub-bios-setup.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,6 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-bios-setup \- set up a device to boot using GRUB
8631a2
-[SEE ALSO]
8631a2
-.BR grub-install (8),
8631a2
-.BR grub-mkimage (1),
8631a2
-.BR grub-mkrescue (1)
8631a2
diff --git a/docs/man/grub-editenv.h2m b/docs/man/grub-editenv.h2m
8631a2
deleted file mode 100644
030dc3
index 3859d3d4c4f..00000000000
8631a2
--- a/docs/man/grub-editenv.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,5 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-editenv \- edit GRUB environment block
8631a2
-[SEE ALSO]
8631a2
-.BR grub-reboot (8),
8631a2
-.BR grub-set-default (8)
8631a2
diff --git a/docs/man/grub-emu.h2m b/docs/man/grub-emu.h2m
8631a2
deleted file mode 100644
030dc3
index ef1c000656a..00000000000
8631a2
--- a/docs/man/grub-emu.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,6 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-emu \- GRUB emulator
8631a2
-[SEE ALSO]
8631a2
-If you are trying to install GRUB, then you should use
8631a2
-.BR grub-install (8)
8631a2
-rather than this program.
8631a2
diff --git a/docs/man/grub-file.h2m b/docs/man/grub-file.h2m
8631a2
deleted file mode 100644
030dc3
index e09bb4d3101..00000000000
8631a2
--- a/docs/man/grub-file.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,2 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-file \- check file type
8631a2
diff --git a/docs/man/grub-fstest.h2m b/docs/man/grub-fstest.h2m
8631a2
deleted file mode 100644
030dc3
index 9676b159afd..00000000000
8631a2
--- a/docs/man/grub-fstest.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-fstest \- debug tool for GRUB filesystem drivers
8631a2
-[SEE ALSO]
8631a2
-.BR grub-probe (8)
8631a2
diff --git a/docs/man/grub-glue-efi.h2m b/docs/man/grub-glue-efi.h2m
8631a2
deleted file mode 100644
030dc3
index c1c6ded49ff..00000000000
8631a2
--- a/docs/man/grub-glue-efi.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-glue-efi \- generate a fat binary for EFI
8631a2
-[DESCRIPTION]
8631a2
-grub-glue-efi processes ia32 and amd64 EFI images and glues them according to Apple format.
8631a2
diff --git a/docs/man/grub-install.h2m b/docs/man/grub-install.h2m
8631a2
deleted file mode 100644
030dc3
index 8cbbc87a0f2..00000000000
8631a2
--- a/docs/man/grub-install.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,6 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-install \- install GRUB to a device
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkconfig (8),
8631a2
-.BR grub-mkimage (1),
8631a2
-.BR grub-mkrescue (1)
8631a2
diff --git a/docs/man/grub-kbdcomp.h2m b/docs/man/grub-kbdcomp.h2m
8631a2
deleted file mode 100644
030dc3
index d81f9157e01..00000000000
8631a2
--- a/docs/man/grub-kbdcomp.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,10 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-kbdcomp \- generate a GRUB keyboard layout file
8631a2
-[DESCRIPTION]
8631a2
-grub-kbdcomp processes a X keyboard layout description in
8631a2
-.BR keymaps (5)
8631a2
-format into a format that can be used by GRUB's
8631a2
-.B keymap
8631a2
-command.
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mklayout (8)
8631a2
diff --git a/docs/man/grub-macbless.h2m b/docs/man/grub-macbless.h2m
8631a2
deleted file mode 100644
030dc3
index 0197c0087d7..00000000000
8631a2
--- a/docs/man/grub-macbless.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-macbless \- bless a mac file/directory
8631a2
-[SEE ALSO]
8631a2
-.BR grub-install (1)
8631a2
diff --git a/docs/man/grub-macho2img.h2m b/docs/man/grub-macho2img.h2m
8631a2
deleted file mode 100644
030dc3
index d79aaeed8f9..00000000000
8631a2
--- a/docs/man/grub-macho2img.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-macho2img \- convert Mach-O to raw image
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkimage (1)
8631a2
diff --git a/docs/man/grub-menulst2cfg.h2m b/docs/man/grub-menulst2cfg.h2m
8631a2
deleted file mode 100644
030dc3
index c2e0055ed7e..00000000000
8631a2
--- a/docs/man/grub-menulst2cfg.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-menulst2cfg \- transform legacy menu.lst into grub.cfg
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkconfig (8)
8631a2
diff --git a/docs/man/grub-mkconfig.h2m b/docs/man/grub-mkconfig.h2m
8631a2
deleted file mode 100644
030dc3
index 9b42f813010..00000000000
8631a2
--- a/docs/man/grub-mkconfig.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mkconfig \- generate a GRUB configuration file
8631a2
-[SEE ALSO]
8631a2
-.BR grub-install (8)
8631a2
diff --git a/docs/man/grub-mkfont.h2m b/docs/man/grub-mkfont.h2m
8631a2
deleted file mode 100644
030dc3
index d46fe600eca..00000000000
8631a2
--- a/docs/man/grub-mkfont.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mkfont \- make GRUB font files
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkconfig (8)
8631a2
diff --git a/docs/man/grub-mkimage.h2m b/docs/man/grub-mkimage.h2m
8631a2
deleted file mode 100644
030dc3
index f0fbc2bb197..00000000000
8631a2
--- a/docs/man/grub-mkimage.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,6 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mkimage \- make a bootable image of GRUB
8631a2
-[SEE ALSO]
8631a2
-.BR grub-install (8),
8631a2
-.BR grub-mkrescue (1),
8631a2
-.BR grub-mknetdir (8)
8631a2
diff --git a/docs/man/grub-mklayout.h2m b/docs/man/grub-mklayout.h2m
8631a2
deleted file mode 100644
030dc3
index 1e43409c0ab..00000000000
8631a2
--- a/docs/man/grub-mklayout.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,10 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mklayout \- generate a GRUB keyboard layout file
8631a2
-[DESCRIPTION]
8631a2
-grub-mklayout processes a keyboard layout description in
8631a2
-.BR keymaps (5)
8631a2
-format into a format that can be used by GRUB's
8631a2
-.B keymap
8631a2
-command.
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkconfig (8)
8631a2
diff --git a/docs/man/grub-mknetdir.h2m b/docs/man/grub-mknetdir.h2m
8631a2
deleted file mode 100644
030dc3
index a2ef13ec111..00000000000
8631a2
--- a/docs/man/grub-mknetdir.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mknetdir \- prepare a GRUB netboot directory.
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkimage (1)
8631a2
diff --git a/docs/man/grub-mkpasswd-pbkdf2.h2m b/docs/man/grub-mkpasswd-pbkdf2.h2m
8631a2
deleted file mode 100644
030dc3
index 4d202f3da7e..00000000000
8631a2
--- a/docs/man/grub-mkpasswd-pbkdf2.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mkpasswd-pbkdf2 \- generate hashed password for GRUB
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkconfig (8)
8631a2
diff --git a/docs/man/grub-mkrelpath.h2m b/docs/man/grub-mkrelpath.h2m
8631a2
deleted file mode 100644
030dc3
index d01f3961e3f..00000000000
8631a2
--- a/docs/man/grub-mkrelpath.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mkrelpath \- make a system path relative to its root
8631a2
-[SEE ALSO]
8631a2
-.BR grub-probe (8)
8631a2
diff --git a/docs/man/grub-mkrescue.h2m b/docs/man/grub-mkrescue.h2m
8631a2
deleted file mode 100644
030dc3
index a427f02e3c6..00000000000
8631a2
--- a/docs/man/grub-mkrescue.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mkrescue \- make a GRUB rescue image
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkimage (1)
8631a2
diff --git a/docs/man/grub-mkstandalone.h2m b/docs/man/grub-mkstandalone.h2m
8631a2
deleted file mode 100644
030dc3
index c77313978ad..00000000000
8631a2
--- a/docs/man/grub-mkstandalone.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mkstandalone \- make a memdisk-based GRUB image
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkimage (1)
8631a2
diff --git a/docs/man/grub-mount.h2m b/docs/man/grub-mount.h2m
8631a2
deleted file mode 100644
030dc3
index 8d168982d72..00000000000
8631a2
--- a/docs/man/grub-mount.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,2 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-mount \- export GRUB filesystem with FUSE
8631a2
diff --git a/docs/man/grub-ofpathname.h2m b/docs/man/grub-ofpathname.h2m
8631a2
deleted file mode 100644
030dc3
index 74b43eea039..00000000000
8631a2
--- a/docs/man/grub-ofpathname.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-ofpathname \- find OpenBOOT path for a device
8631a2
-[SEE ALSO]
8631a2
-.BR grub-probe (8)
8631a2
diff --git a/docs/man/grub-pe2elf.h2m b/docs/man/grub-pe2elf.h2m
8631a2
deleted file mode 100644
030dc3
index 7ca29bd703c..00000000000
8631a2
--- a/docs/man/grub-pe2elf.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-pe2elf \- convert PE image to ELF
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkimage (1)
8631a2
diff --git a/docs/man/grub-probe.h2m b/docs/man/grub-probe.h2m
8631a2
deleted file mode 100644
030dc3
index 6e1ffdcf937..00000000000
8631a2
--- a/docs/man/grub-probe.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-probe \- probe device information for GRUB
8631a2
-[SEE ALSO]
8631a2
-.BR grub-fstest (1)
8631a2
diff --git a/docs/man/grub-reboot.h2m b/docs/man/grub-reboot.h2m
8631a2
deleted file mode 100644
030dc3
index e4acace65ce..00000000000
8631a2
--- a/docs/man/grub-reboot.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,5 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-reboot \- set the default boot entry for GRUB, for the next boot only
8631a2
-[SEE ALSO]
8631a2
-.BR grub-set-default (8),
8631a2
-.BR grub-editenv (1)
8631a2
diff --git a/docs/man/grub-render-label.h2m b/docs/man/grub-render-label.h2m
8631a2
deleted file mode 100644
030dc3
index 50ae5247c05..00000000000
8631a2
--- a/docs/man/grub-render-label.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,3 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-render-label \- generate a .disk_label for Apple Macs.
8631a2
-
8631a2
diff --git a/docs/man/grub-script-check.h2m b/docs/man/grub-script-check.h2m
8631a2
deleted file mode 100644
030dc3
index 3653682671a..00000000000
8631a2
--- a/docs/man/grub-script-check.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-script-check \- check grub.cfg for syntax errors
8631a2
-[SEE ALSO]
8631a2
-.BR grub-mkconfig (8)
8631a2
diff --git a/docs/man/grub-set-default.h2m b/docs/man/grub-set-default.h2m
8631a2
deleted file mode 100644
030dc3
index 7945001c154..00000000000
8631a2
--- a/docs/man/grub-set-default.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,5 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-set-default \- set the saved default boot entry for GRUB
8631a2
-[SEE ALSO]
8631a2
-.BR grub-reboot (8),
8631a2
-.BR grub-editenv (1)
8631a2
diff --git a/docs/man/grub-sparc64-setup.h2m b/docs/man/grub-sparc64-setup.h2m
8631a2
deleted file mode 100644
030dc3
index 18f803a50db..00000000000
8631a2
--- a/docs/man/grub-sparc64-setup.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,6 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-sparc64-setup \- set up a device to boot using GRUB
8631a2
-[SEE ALSO]
8631a2
-.BR grub-install (8),
8631a2
-.BR grub-mkimage (1),
8631a2
-.BR grub-mkrescue (1)
8631a2
diff --git a/docs/man/grub-syslinux2cfg.h2m b/docs/man/grub-syslinux2cfg.h2m
8631a2
deleted file mode 100644
030dc3
index ad25c8ab753..00000000000
8631a2
--- a/docs/man/grub-syslinux2cfg.h2m
8631a2
+++ /dev/null
8631a2
@@ -1,4 +0,0 @@
8631a2
-[NAME]
8631a2
-grub-syslinux2cfg \- transform syslinux config into grub.cfg
8631a2
-[SEE ALSO]
8631a2
-.BR grub-menulst2cfg (8)
8631a2
diff --git a/gentpl.py b/gentpl.py
030dc3
index da67965a41a..bf8439fa743 100644
8631a2
--- a/gentpl.py
8631a2
+++ b/gentpl.py
8631a2
@@ -802,10 +802,7 @@ def manpage(defn, adddeps):
8631a2
 
8631a2
     output("if COND_MAN_PAGES\n")
8631a2
     gvar_add("man_MANS", name + "." + mansection)
8631a2
-    rule(name + "." + mansection, name + " " + adddeps, """
8631a2
-chmod a+x """ + name + """
8631a2
-PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=""" + mansection + """ -i $(top_srcdir)/docs/man/""" + name + """.h2m -o $@ """ + name + """
8631a2
-""")
8631a2
+    rule(name + "." + mansection, name + " " + adddeps, "cat $(top_srcdir)/util/" + name + "." + mansection + " | $(top_builddir)/config.status --file=$@:-")
8631a2
     gvar_add("CLEANFILES", name + "." + mansection)
8631a2
     output("endif\n")
8631a2
 
8631a2
diff --git a/util/grub-bios-setup.8 b/util/grub-bios-setup.8
8631a2
new file mode 100644
030dc3
index 00000000000..56f582b3d75
8631a2
--- /dev/null
8631a2
+++ b/util/grub-bios-setup.8
8631a2
@@ -0,0 +1,54 @@
8631a2
+.TH GRUB-BIOS-SETUP 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-bios-setup\fR \(em Set up images to boot from a device.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-bios-setup\fR [-a | --allow-floppy] [-b | --boot-image=\fIFILE\fR]
8631a2
+.RS 17
8631a2
+[-c | --core-image=\fIFILE\fR] [-d | --directory=\fIDIR\fR]
8631a2
+.RE
8631a2
+.RS 17
8631a2
+[-f | --force] [-m | --device-map=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 17
8631a2
+[-s | --skip-fs-probe] [-v | --verbose] \fIDEVICE\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+You should not normally run this program directly.  Use grub-install instead.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--allow-floppy\fR
8631a2
+Make the device also bootable as a floppy.  This option is the default for
8631a2
+/dev/fdX devices.  Some BIOSes will not boot images created with this option.
8631a2
+
8631a2
+.TP
8631a2
+\fB--boot-image\fR=\fIFILE\fR
8631a2
+Use FILE as the boot image.  The default value is \fBboot.img\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--core-image\fR=\fIFILE\fR
8631a2
+Use FILE as ther core image.  The default value is \fBcore.img\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--directory\fR=\fIDIR\fR
8631a2
+Use GRUB files in the directory DIR.  The default value is \fB/boot/grub\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--force\fR
8631a2
+Install even if problems are detected.
8631a2
+
8631a2
+.TP
8631a2
+\fB--device-map\fR=\fIFILE\fR
8631a2
+Use FILE as the device map.  The default value is /boot/grub/device.map .
8631a2
+
8631a2
+.TP
8631a2
+\fB--skip-fs-probe\fR
8631a2
+Do not probe DEVICE for filesystems.
8631a2
+
8631a2
+.TP
8631a2
+\fB--verbose\fR
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-editenv.1 b/util/grub-editenv.1
8631a2
new file mode 100644
030dc3
index 00000000000..d28ba03ba42
8631a2
--- /dev/null
8631a2
+++ b/util/grub-editenv.1
8631a2
@@ -0,0 +1,46 @@
8631a2
+.TH GRUB-EDITENV 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-editenv\fR \(em Manage the GRUB environment block.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-editenv\fR [-v | --verbose] [\fIFILE\fR]
8631a2
+.RS 14
8631a2
+<create | list | set \fINAME\fR=\fIVALUE\fR | unset \fINAME\fR>
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-editenv\fR is a command line tool to manage GRUB's stored environment.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--verbose\fR
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.TP
8631a2
+\fBFILE\fR
8631a2
+.RS 7
8631a2
+File name to use for grub environment.  Default is /boot/grub/grubenv .
8631a2
+.RE
8631a2
+
8631a2
+.SH COMMANDS
8631a2
+.TP
8631a2
+\fBcreate\fR
8631a2
+.RS 7
8631a2
+Create a blank environment block file.
8631a2
+.RE
8631a2
+
8631a2
+.TP
8631a2
+\fBlist\fR
8631a2
+.RS 7
8631a2
+List the current variables.
8631a2
+.RE
8631a2
+
8631a2
+.TP
8631a2
+\fBset\fR [\fINAME\fR=\fIVALUE\fR ...]
8631a2
+Set variables.
8631a2
+
8631a2
+.TP
8631a2
+\fBunset [\fINAME\fR ...]
8631a2
+Delete variables.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-file.1 b/util/grub-file.1
8631a2
new file mode 100644
030dc3
index 00000000000..b29cb327889
8631a2
--- /dev/null
8631a2
+++ b/util/grub-file.1
8631a2
@@ -0,0 +1,165 @@
8631a2
+.TH GRUB-FILE 1 "Web Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-file\fR \(em Check if FILE is of specified type.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-file\fR (--is-i386-xen-pae-domu | --is-x86_64-xen-domu |
8631a2
+.RS 11
8631a2
+--is-x86-xen-dom0 | --is-x86-multiboot |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-x86-multiboot2 | --is-arm-linux | --is-arm64-linux |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-ia64-linux | --is-mips-linux | --is-mipsel-linux |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-sparc64-linux | --is-powerpc-linux | --is-x86-linux |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-x86-linux32 | --is-x86-kfreebsd | --is-i386-kfreebsd |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-x86_64-kfreebsd | --is-x86-knetbsd |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-i386-knetbsd | --is-x86_64-knetbsd | --is-i386-efi |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-x86_64-efi | --is-ia64-efi | --is-arm64-efi |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-arm-efi | --is-hibernated-hiberfil | --is-x86_64-xnu |
8631a2
+.RE
8631a2
+.RS 11
8631a2
+--is-i386-xnu | --is-xnu-hibr | --is-x86-bios-bootsector)
8631a2
+.RE
8631a2
+.RS 11
8631a2
+\fIFILE\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-file\fR is used to check if \fIFILE\fR is of a specified type.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--is-i386-xen-pae-domu
8631a2
+Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel
8631a2
+
8631a2
+.TP
8631a2
+--is-x86_64-xen-domu
8631a2
+Check if FILE can be booted as x86_64 Xen unprivileged guest kernel
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-xen-dom0
8631a2
+Check if FILE can be used as Xen x86 privileged guest kernel
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-multiboot
8631a2
+Check if FILE can be used as x86 multiboot kernel
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-multiboot2
8631a2
+Check if FILE can be used as x86 multiboot2 kernel
8631a2
+
8631a2
+.TP
8631a2
+--is-arm-linux
8631a2
+Check if FILE is ARM Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-arm64-linux
8631a2
+Check if FILE is ARM64 Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-ia64-linux
8631a2
+Check if FILE is IA64 Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-mips-linux
8631a2
+Check if FILE is MIPS Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-mipsel-linux
8631a2
+Check if FILE is MIPSEL Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-sparc64-linux
8631a2
+Check if FILE is SPARC64 Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-powerpc-linux
8631a2
+Check if FILE is POWERPC Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-linux
8631a2
+Check if FILE is x86 Linux
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-linux32
8631a2
+Check if FILE is x86 Linux supporting 32-bit protocol
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-kfreebsd
8631a2
+Check if FILE is x86 kFreeBSD
8631a2
+
8631a2
+.TP
8631a2
+--is-i386-kfreebsd
8631a2
+Check if FILE is i386 kFreeBSD
8631a2
+
8631a2
+.TP
8631a2
+--is-x86_64-kfreebsd
8631a2
+Check if FILE is x86_64 kFreeBSD
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-knetbsd
8631a2
+Check if FILE is x86 kNetBSD
8631a2
+
8631a2
+.TP
8631a2
+--is-i386-knetbsd
8631a2
+Check if FILE is i386 kNetBSD
8631a2
+
8631a2
+.TP
8631a2
+--is-x86_64-knetbsd
8631a2
+Check if FILE is x86_64 kNetBSD
8631a2
+
8631a2
+.TP
8631a2
+--is-i386-efi
8631a2
+Check if FILE is i386 EFI file
8631a2
+
8631a2
+.TP
8631a2
+--is-x86_64-efi
8631a2
+Check if FILE is x86_64 EFI file
8631a2
+
8631a2
+.TP
8631a2
+--is-ia64-efi
8631a2
+Check if FILE is IA64 EFI file
8631a2
+
8631a2
+.TP
8631a2
+--is-arm64-efi
8631a2
+Check if FILE is ARM64 EFI file
8631a2
+
8631a2
+.TP
8631a2
+--is-arm-efi
8631a2
+Check if FILE is ARM EFI file
8631a2
+
8631a2
+.TP
8631a2
+--is-hibernated-hiberfil
8631a2
+Check if FILE is hiberfil.sys in hibernated state
8631a2
+
8631a2
+.TP
8631a2
+--is-x86_64-xnu
8631a2
+Check if FILE is x86_64 XNU (Mac OS X kernel)
8631a2
+
8631a2
+.TP
8631a2
+--is-i386-xnu
8631a2
+Check if FILE is i386 XNU (Mac OS X kernel)
8631a2
+
8631a2
+.TP
8631a2
+--is-xnu-hibr
8631a2
+Check if FILE is XNU (Mac OS X kernel) hibernated image
8631a2
+
8631a2
+.TP
8631a2
+--is-x86-bios-bootsector
8631a2
+Check if FILE is BIOS bootsector
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-fstest.1 b/util/grub-fstest.1
8631a2
new file mode 100644
030dc3
index 00000000000..792fa78634c
8631a2
--- /dev/null
8631a2
+++ b/util/grub-fstest.1
8631a2
@@ -0,0 +1,99 @@
8631a2
+.TH GRUB-FSTEST 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-fstest\fR — Debug tool for GRUB's filesystem driver.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-fstest\fR [-c | --diskcount=\fINUM\fR] [-C | --crypto]
8631a2
+.RS 13
8631a2
+[-d | --debug=\fISTRING\fR] [-K | --zfs-key=\fIFILE\fR|\fIprompt\fR]
8631a2
+.RE
8631a2
+.RS 13
8631a2
+[-n | --length=\fINUM\fR] [-r | --root=\fIDEVICE_NAME\fR]
8631a2
+.RE
8631a2
+.RS 13
8631a2
+[-s | --skip=\fINUM\fR] [-u | --uncompress] [-v | --verbose]
8631a2
+.RE
8631a2
+.RS 13
8631a2
+\fIIMAGE_PATH\fR 
8631a2
+.RE
8631a2
+.RS 13
8631a2
+cmp \fIFILE\fR \fILOCAL\fR | cp \fIFILE\fR \fILOCAL\fR | crc \fIFILE\fR |
8631a2
+.RE
8631a2
+.RS 13
8631a2
+hex \fIFILE\fR | ls \fIPATH\fR | xnu_uuid \fIDEVICE\fR>
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-fstest\fR is a tool for testing GRUB's filesystem drivers.  You should not normally need to run this program.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--diskcount\fR=\fINUM\fR
8631a2
+Specify the number of input files.
8631a2
+
8631a2
+.TP
8631a2
+\fB--crypto\fR
8631a2
+Mount cryptographic devices.
8631a2
+
8631a2
+.TP
8631a2
+\fB--debug\fR=\fISTRING\fR
8631a2
+Set debug environment variable.
8631a2
+
8631a2
+.TP
8631a2
+\fB--zfs-key\fR=\fIFILE\fR|\fIprompt\fR
8631a2
+Load ZFS cryptographic key.
8631a2
+
8631a2
+.TP
8631a2
+\fB--length\fR=\fINUM\fR
8631a2
+Handle NUM bytes in output file.
8631a2
+
8631a2
+.TP
8631a2
+\fB--root\fR=\fIDEVICE_NAME\fR
8631a2
+Set root device.
8631a2
+
8631a2
+.TP
8631a2
+\fB--skip\fR=\fINUM\fR
8631a2
+Skip NUM bytes from output file.
8631a2
+
8631a2
+.TP
8631a2
+\fB--uncompress\fR
8631a2
+Uncompress data.
8631a2
+
8631a2
+.TP
8631a2
+\fB--verbose\fR
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.SH COMMANDS
8631a2
+.TP
8631a2
+\fBblocklist\fR \fIFILE\fR
8631a2
+Display block list of \fIFILE\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fBcat\fR \fIFILE\fR
8631a2
+Display \fIFILE\fR on standard output.
8631a2
+
8631a2
+.TP
8631a2
+\fBcmp\fR \fIFILE\fR \fILOCAL\fR
8631a2
+Compare \fIFILE\fR with local file \fILOCAL\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fBcp\fR \fIFILE\fR \fILOCAL\fR
8631a2
+Copy \fIFILE\fR to local file \fILOCAL\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fBcrc\fR \fIFILE\fR
8631a2
+Display the CRC-32 checksum of \fIFILE\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fBhex\fR \fIFILE\fR
8631a2
+Display contents of \fIFILE\fR in hexidecimal.
8631a2
+
8631a2
+.TP
8631a2
+\fBls\fR \fIPATH\fR
8631a2
+List files at \fIPATH\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fBxnu_uuid\fR \fIDEVICE\fR
8631a2
+Display the XNU UUID of \fIDEVICE\fR.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-glue-efi.1 b/util/grub-glue-efi.1
8631a2
new file mode 100644
030dc3
index 00000000000..72bd555d577
8631a2
--- /dev/null
8631a2
+++ b/util/grub-glue-efi.1
8631a2
@@ -0,0 +1,31 @@
8631a2
+.TH GRUB-GLUE-EFI 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-glue-efi\fR \(em Create an Apple fat EFI binary.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-glue-efi\fR <-3 | --input32=\fIFILE\fR> <-6 | --input64=\fIFILE\fR>
8631a2
+.RS 15
8631a2
+<-o | --output=\fIFILE\fR> [-v | --verbose]
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-glue-efi\fR creates an Apple fat EFI binary from two EFI binaries.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--input32\fR=\fIFILE\fR
8631a2
+Read 32-bit binary from \fIFILE\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--input64\fR=\fIFILE\fR
8631a2
+Read 64-bit binary from \fIFILE\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--output\fR=\fIFILE\fR
8631a2
+Write resulting fat binary to \fIFILE\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--verbose\fR
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-install.8 b/util/grub-install.8
8631a2
new file mode 100644
030dc3
index 00000000000..76272a39d2e
8631a2
--- /dev/null
8631a2
+++ b/util/grub-install.8
8631a2
@@ -0,0 +1,129 @@
8631a2
+.TH GRUB-INSTALL 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-install\fR \(em Install GRUB on a device.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-install\fR [--modules=\fIMODULES\fR] [--install-modules=\fIMODULES\fR]
8631a2
+.RS 14
8631a2
+[--themes=\fITHEMES\fR] [--fonts=\fIFONTS\fR] [--locales=\fILOCALES\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]] [-d | --directory=\fIDIR\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[--grub-mkimage=\fIFILE\fR] [--boot-directory=\fIDIR\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[--target=\fITARGET\fR] [--grub-setup=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[--grub-mkrelpath=\fIFILE\fR] [--grub-probe=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[--allow-floppy] [--recheck] [--force] [--force-file-id]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[--disk-module=\fIMODULE\fR] [--no-nvram] [--removable]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[--bootloader-id=\fIID\fR] [--efi-directory=\fIDIR\fR] \fIINSTALL_DEVICE\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-install\fR installs GRUB onto a device.  This includes copying GRUB images into the target directory (generally \fI/boot/grub\fR), and on some platforms may also include installing GRUB onto a boot sector.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--modules\fR=\fIMODULES\fR\!
8631a2
+Pre-load modules specified by \fIMODULES\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--install-modules\fR=\fIMODULES\fR
8631a2
+Install only \fIMODULES\fR and their dependencies.  The default is to install all available modules.
8631a2
+
8631a2
+.TP
8631a2
+\fB--themes\fR=\fITHEMES\fR
8631a2
+Install \fITHEMES\fR.  The default is to install the \fIstarfield\fR theme, if available.
8631a2
+
8631a2
+.TP
8631a2
+\fB--fonts\fR=\fIFONTS\fR
8631a2
+Install \fIFONTS\fR.  The default is to install the \fIunicode\fR font.
8631a2
+
8631a2
+.TP
8631a2
+\fB--locales\fR=\fILOCALES\fR
8631a2
+Install only locales listed in \fILOCALES\fR.  The default is to install all available locales.
8631a2
+
8631a2
+.TP
8631a2
+\fB--compress\fR=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR
8631a2
+Compress GRUB files using the specified compression algorithm.
8631a2
+
8631a2
+.TP
8631a2
+\fB--directory\fR=\fIDIR\fR
8631a2
+Use images and modules in \fIDIR\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--grub-mkimage\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-mkimage\fR.  The default is \fI/usr/bin/grub-mkimage\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--boot-directory\fR=\fIDIR\fR
8631a2
+Use \fIDIR\fR as the boot directory.  The default is \fI/boot\fR.  GRUB will put its files in a subdirectory of this directory named \fIgrub\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--target\fR=\fITARGET\fR
8631a2
+Install GRUB for \fITARGET\fR platform.  The default is the platform \fBgrub-install\fR is running on.
8631a2
+
8631a2
+.TP
8631a2
+\fB--grub-setup\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-setup\fR.  The default is \fI/usr/bin/grub-setup\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--grub-mkrelpath\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-mkrelpath\fR.  The default is \fI/usr/bin/grub-mkrelpath\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--grub-probe\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-probe\fR.  The default is \fI/usr/bin/grub-mkrelpath\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--allow-floppy
8631a2
+Make the device also bootable as a floppy.  This option is the default for /dev/fdX devices. Some BIOSes will not boot images created with this option.
8631a2
+
8631a2
+.TP
8631a2
+\fB--recheck
8631a2
+Delete any existing device map and create a new one if necessary.
8631a2
+
8631a2
+.TP
8631a2
+\fB--force
8631a2
+Install even if problems are detected.
8631a2
+
8631a2
+.TP
8631a2
+\fB--force-file-id
8631a2
+Use identifier file even if UUID is available.
8631a2
+
8631a2
+.TP
8631a2
+\fB--disk-module\fR=\fIMODULE\fR
8631a2
+Use \fIMODULE\fR for disk access.  This allows you to manually specify either \fIbiosdisk\fR or \fInative\fR disk access.  This option is only available on the BIOS target platform.
8631a2
+
8631a2
+.TP
8631a2
+\fB--no-nvram
8631a2
+Do not update the \fIboot-device\fR NVRAM variable.  This option is only available on IEEE1275 target platforms.
8631a2
+
8631a2
+.TP
8631a2
+\fB--removable
8631a2
+Treat the target device as if it is removeable.  This option is only available on the EFI target platform.
8631a2
+
8631a2
+.TP
8631a2
+\fB--bootloader-id\fR=\fIID\fR
8631a2
+Use \fIID\fR as the bootloader ID.  This opption is only available on the EFI target platform.
8631a2
+
8631a2
+.TP
8631a2
+\fB--efi-directory\fR=\fIDIR\fR
8631a2
+Use \fIDIR\fR as the EFI System Partition root.  This opption is only available on the EFI ta
8631a2
+rget platform.
8631a2
+
8631a2
+.TP
8631a2
+\fIINSTALL_DEVICE\fR
8631a2
+Install GRUB to the block device \fIINSTALL_DEVICE\fR.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-kbdcomp.1 b/util/grub-kbdcomp.1
8631a2
new file mode 100644
030dc3
index 00000000000..0bb969a5b43
8631a2
--- /dev/null
8631a2
+++ b/util/grub-kbdcomp.1
8631a2
@@ -0,0 +1,19 @@
8631a2
+.TH GRUB-KBDCOMP 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-kbdcomp\fR \(em Generate a GRUB keyboard layout file.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-kbdcomp\fR <-o | --output=\fIFILE\fR> \fICKBMAP_ARGUMENTS\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-kbdcomp\fR processes an X keyboard layout description in
8631a2
+\fBkeymaps\fR(5) format into a format that can be used by GRUB's \fBkeymap\fR
8631a2
+command.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--output\fR=\fIFILE\fR
8631a2
+Write output to \fIFILE\fR.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-macbless.1 b/util/grub-macbless.1
8631a2
new file mode 100644
030dc3
index 00000000000..41a96186f70
8631a2
--- /dev/null
8631a2
+++ b/util/grub-macbless.1
8631a2
@@ -0,0 +1,22 @@
8631a2
+.TH GRUB-MACBLESS 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-macbless\fR \(em Mac-style bless on HFS or HFS+
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-macbless\fR [-v | --verbose] [-p | --ppc] \fIFILE\fR | [-x | --x86] \fIFILE\fR
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--x86
8631a2
+Bless for x86 based Macs.
8631a2
+
8631a2
+.TP
8631a2
+--ppc
8631a2
+Bless for PPC based Macs.
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-menulst2cfg.1 b/util/grub-menulst2cfg.1
8631a2
new file mode 100644
030dc3
index 00000000000..91e2ef87113
8631a2
--- /dev/null
8631a2
+++ b/util/grub-menulst2cfg.1
8631a2
@@ -0,0 +1,12 @@
8631a2
+.TH GRUB-MENULST2CFG 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-menulst2cfg\fR \(em Convert a configuration file from GRUB 0.xx to GRUB 2.xx format.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-menulst2cfg\fR [\fIINFILE\fR [\fIOUTFILE\fR]]
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-menulst2cfg\fR converts a configuration file from GRUB 0.xx to the current format.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkconfig.8 b/util/grub-mkconfig.8
8631a2
new file mode 100644
030dc3
index 00000000000..a2d1f577b9b
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mkconfig.8
8631a2
@@ -0,0 +1,17 @@
8631a2
+.TH GRUB-MKCONFIG 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mkconfig\fR \(em Generate a GRUB configuration file.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mkconfig\fR [-o | --output=\fIFILE\fR]
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mkconfig\fR generates a configuration file for GRUB.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--output\fR=\fIFILE\fR
8631a2
+Write generated output to \fIFILE\fR.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkfont.1 b/util/grub-mkfont.1
8631a2
new file mode 100644
030dc3
index 00000000000..3494857987d
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mkfont.1
8631a2
@@ -0,0 +1,87 @@
8631a2
+.TH GRUB-MKFONT 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mkfont\fR \(em Convert common font file formats into the PF2 format.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mkfont\fR [--ascii-bitmaps] [-a | --force-autohint]
8631a2
+.RS 13
8631a2
+[-b | --bold] [-c | --asce=\fINUM\fR] [-d | --desc=\fINUM\fR]
8631a2
+.RE
8631a2
+.RS 13
8631a2
+[-i | --index=\fINUM\fR] [-n | --name=\fINAME\fR] [--no-bitmap]
8631a2
+.RE
8631a2
+.RS 13
8631a2
+[--no-hinting] <-o | --output=\fIFILE\fR>
8631a2
+.RE
8631a2
+.RS 13
8631a2
+[-r | --range=\fIFROM-TO\fR[\fI,FROM-TO\fR]] [-s | --size=\fISIZE\fR]
8631a2
+.RE
8631a2
+.RS 13
8631a2
+[-v | --verbose] [--width-spec] \fIFONT_FILES\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mkfont\fR converts font files from common formats into the PF2 format used by GRUB.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--ascii-bitmaps
8631a2
+Save only bitmaps for ASCII characters.
8631a2
+
8631a2
+.TP
8631a2
+--force-autohint
8631a2
+Force generation of automatic hinting.
8631a2
+
8631a2
+.TP
8631a2
+--bold
8631a2
+Convert font to bold.
8631a2
+
8631a2
+.TP
8631a2
+--asce=\fINUM\fR
8631a2
+Set font ascent to \fINUM\fR.
8631a2
+
8631a2
+.TP
8631a2
+--desc=\fINUM\fR
8631a2
+Set font descent to \fINUM\fR.
8631a2
+
8631a2
+.TP
8631a2
+--index=\fINUM\fR
8631a2
+Select face index \fINUM\fR.
8631a2
+
8631a2
+.TP
8631a2
+--name=\fINAME\fR
8631a2
+Set font family to \fINAME\fR.
8631a2
+
8631a2
+.TP
8631a2
+--no-bitmap
8631a2
+Ignore bitmap strikes when loading.
8631a2
+
8631a2
+.TP
8631a2
+--no-hinting
8631a2
+Disable hinting.
8631a2
+
8631a2
+.TP
8631a2
+--output=\fIFILE\fR
8631a2
+Save ouptut to \fIFILE\fR.  This argument is required.
8631a2
+
8631a2
+.TP
8631a2
+--range=\fIFROM-TO\fR\fI,FROM-TO\fR
8631a2
+Set the font ranges to each pair of \fIFROM\fR,\fITO\fR.
8631a2
+
8631a2
+.TP
8631a2
+--size=\fISIZE\fR
8631a2
+Set font size to \fISIZE\fR.
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.TP
8631a2
+--width-spec
8631a2
+Create a width summary file.
8631a2
+
8631a2
+.TP
8631a2
+\fIFONT_FILES\fR
8631a2
+The input files to be converted.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkimage.1 b/util/grub-mkimage.1
8631a2
new file mode 100644
030dc3
index 00000000000..4dea4f54597
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mkimage.1
8631a2
@@ -0,0 +1,95 @@
8631a2
+.TH GRUB-MKIMAGE 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mkimage\fR \(em Make a bootable GRUB image.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mkimage\fR [-c | --config=\fRFILE\fI] [-C | --compression=(\fIxz\fR,\fInone\fR,\fIauto\fR)]
8631a2
+.RS 14
8631a2
+[-d | --directory=\fRDIR\fR] [-k | --pubkey=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[-m | --memdisk=\fIFILE\fR] [-n | --note] [-o | --output=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[-O | --format=\fIFORMAT\fR] [-p | --prefix=\fIDIR\fR]
8631a2
+.RE
8631a2
+.RS 14
8631a2
+[-v | --verbose] \fIMODULES\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mkimage\fI builds a bootable image of GRUB.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--config=\fIFILE\fR
8631a2
+Embed \fIFILE\fR as the image's initial configuration file.
8631a2
+
8631a2
+.TP
8631a2
+--compression=(\fIxz\fR,\fInone\fR,\fIauto\fR)
8631a2
+Use one of \fIxz\fR, \fInone\fR, or \fIauto\fR as the compression method for the core image.
8631a2
+
8631a2
+.TP
8631a2
+--directory=\fIDIR\fR
8631a2
+Use images and modules from \fIDIR\fR.  The default value is \fB/usr/lib/grub/<platform>\fR.
8631a2
+
8631a2
+.TP
8631a2
+--pubkey=\fIFILE\fR
8631a2
+Embed the public key \fIFILE\fR for signature checking.
8631a2
+
8631a2
+.TP
8631a2
+--memdisk=\fIFILE\fR
8631a2
+Embed the memdisk image \fIFILE\fR.  If no \fB-p\fR option is also specified, this implies \fI-p (memdisk)/boot/grub\fR.
8631a2
+
8631a2
+.TP
8631a2
+--note
8631a2
+Add a CHRP \fINOTE\fR section.  This option is only valid on IEEE1275 platforms.
8631a2
+
8631a2
+.TP
8631a2
+--output=\fIFILE\fR
8631a2
+Write the generated file to \fIFILE\fR.  The default is to write to standard output.
8631a2
+
8631a2
+.TP
8631a2
+--format=\fIFORMAT\fR
8631a2
+Generate an image in the specified \fIFORMAT\fR.  Valid values are:
8631a2
+.RS
8631a2
+.RS 4
8631a2
+.P
8631a2
+i386-coreboot,
8631a2
+i386-multiboot,
8631a2
+i386-pc,
8631a2
+i386-pc-pxe,
8631a2
+i386-efi,
8631a2
+i386-ieee1275,
8631a2
+i386-qemu,
8631a2
+x86_64-efi,
8631a2
+mipsel-yeeloong-flash,
8631a2
+mipsel-fuloong2f-flash,
8631a2
+mipself-loongson-elf,
8631a2
+powerpc-ieee1275,
8631a2
+sparc64-ieee1275-raw,
8631a2
+sparc64-ieee1275-cdcore,
8631a2
+sparc64-ieee1275-aout,
8631a2
+ia64-efi,
8631a2
+mips-arc,
8631a2
+mipsel-arc,
8631a2
+mipsel-qemu_mips-elf,
8631a2
+mips-qemu_mips-flash,
8631a2
+mipsel-qemu_mips-flash,
8631a2
+mips-qemu_mips-elf
8631a2
+.RE
8631a2
+.RE
8631a2
+
8631a2
+.TP
8631a2
+--prefix=\fIDIR\fR
8631a2
+Set prefix directory.  The default value is \fI/boot/grub\fR.
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.TP
8631a2
+\fIMODULES\fR
8631a2
+Include \fIMODULES\fR.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mklayout.1 b/util/grub-mklayout.1
8631a2
new file mode 100644
030dc3
index 00000000000..d1bbc2ec515
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mklayout.1
8631a2
@@ -0,0 +1,27 @@
8631a2
+.TH GRUB-MKLAYOUT 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mklayout\fR \(em Generate a GRUB keyboard layout file.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mklayout\fR [-i | --input=\fIFILE\fR] [-o | --output=\fIFILE\fR]
8631a2
+.RS 15
8631a2
+[-v | --verbose]
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mklayout\fR generates a GRUB keyboard layout description which corresponds with the Linux console layout description given as input.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--input=\fIFILE\fR
8631a2
+Use \fIFILE\fR as the input.  The default value is the standard input device.
8631a2
+
8631a2
+.TP
8631a2
+--output=\fIFILE\fR
8631a2
+Use \fIFILE\fR as the output.  The default value is the standard output device.
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mknetdir.1 b/util/grub-mknetdir.1
8631a2
new file mode 100644
030dc3
index 00000000000..fa7e8d4ef0d
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mknetdir.1
8631a2
@@ -0,0 +1,12 @@
8631a2
+.TH GRUB-MKNETDIR 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mknetdir\fR \(em Prepare a GRUB netboot directory.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mknetdir\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mknetdir\fR prepares a directory for GRUB to be netbooted from.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkpasswd-pbkdf2.1 b/util/grub-mkpasswd-pbkdf2.1
8631a2
new file mode 100644
030dc3
index 00000000000..73c437c15d8
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mkpasswd-pbkdf2.1
8631a2
@@ -0,0 +1,27 @@
8631a2
+.TH GRUB-MKPASSWD-PBKDF2 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mkpasswd-pbkdf2\fR \(em Generate a PBKDF2 password hash.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mkpasswd-pbkdf2\fR [-c | --iteration-count=\fINUM\fR] [-l | --buflen=\fINUM\fR]
8631a2
+.RS 22
8631a2
+[-s | --salt=\fINUM\fR]
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mkpasswd-pbkdf2\fR generates a PBKDF2 password string suitable for use in a GRUB configuration file.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--iteration-count=\fINUM\fR
8631a2
+Number of PBKDF2 iterations.
8631a2
+
8631a2
+.TP
8631a2
+--buflen=\fINUM\fR
8631a2
+Length of generated hash.
8631a2
+
8631a2
+.TP
8631a2
+--salt=\fINUM\fR
8631a2
+Length of salt to use.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkrelpath.1 b/util/grub-mkrelpath.1
8631a2
new file mode 100644
030dc3
index 00000000000..85f1113621d
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mkrelpath.1
8631a2
@@ -0,0 +1,12 @@
8631a2
+.TH GRUB-MKRELPATH 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mkrelpath\fR \(em Generate a relative GRUB path given an OS path.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mkrelpath\fR \fIFILE\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mkrelpath\fR takes an OS filesystem path for \fIFILE\fR and returns a relative path suitable for use in a GRUB configuration file.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkrescue.1 b/util/grub-mkrescue.1
8631a2
new file mode 100644
030dc3
index 00000000000..4ed9fc723fd
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mkrescue.1
8631a2
@@ -0,0 +1,123 @@
8631a2
+.TH GRUB-MKRESCUE 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+grub-mkrescue \(em Generate a GRUB rescue image using GNU Xorriso.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mkrescue\fR [-o | --output=\fIFILE\fR] [--modules=\fIMODULES\fR]
8631a2
+.RS 15
8631a2
+[--install-modules=\fIMODULES\fR] [--themes=\fITHEMES\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--fonts=\fIFONTS\fR] [--locales=\fILOCALES\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]] [-d | --directory=\fIDIR\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--grub-mkimage=\fIFILE\fR] [--rom-directory=\fIDIR\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--xorriso=\fIFILE\fR] [--grub-glue-efi=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--grub-render-label=\fIFILE\fR] [--label-font=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--label-color=\fICOLOR\fR] [--label-bgcolor=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--product-name=\fISTRING\fR] [--product-version=\fISTRING\fR]
8631a2
+.RE
8631a2
+.RS 15
8631a2
+[--sparc-boot] [--arcs-boot]
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mkrescue\fR can be used to generate a rescue image with the GRUB bootloader.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--output\fR=\fIFILE\fR
8631a2
+Write the generated file to \fIFILE\fR.  The default is to write to standard output.
8631a2
+
8631a2
+.TP
8631a2
+\fB--modules\fR=\fIMODULES\fR
8631a2
+Pre-load modules specified by \fIMODULES\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--install-modules\fR=\fIMODULES\fR
8631a2
+Install only \fIMODULES\fR and their dependencies.  The default is to install all available modules.
8631a2
+
8631a2
+.TP
8631a2
+\fB--themes\fR=\fITHEMES\fR
8631a2
+Install \fITHEMES\fR.  The default is to install the \fIstarfield\fR theme, if available.
8631a2
+
8631a2
+.TP
8631a2
+\fB--fonts\fR=\fIFONTS\fR
8631a2
+Install \fIFONTS\fR.  The default is to install the \fIunicode\fR font.
8631a2
+
8631a2
+.TP
8631a2
+\fB--locales\fR=\fILOCALES\fR
8631a2
+Install only locales listed in \fILOCALES\fR.  The default is to install all available locales.
8631a2
+
8631a2
+.TP
8631a2
+\fB--compress\fR[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]
8631a2
+Compress GRUB files using the specified compression algorithm.
8631a2
+
8631a2
+.TP
8631a2
+\fB--directory\fR=\fIDIR\fR
8631a2
+Use images and modules in \fIDIR\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--grub-mkimage\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-mkimage\fR(1).  The default is \fI/usr/bin/grub-mkimage\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--rom-directory\fR=\fIDIR\fR
8631a2
+Save ROM images in \fIDIR\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fB--xorriso\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBxorriso\fI.
8631a2
+
8631a2
+.TP
8631a2
+\fB--grub-glue-efi\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-glue-efi\fR(3).
8631a2
+
8631a2
+.TP
8631a2
+\fB--grub-render-label\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-render-label\fR(3).
8631a2
+
8631a2
+.TP
8631a2
+\fB--label-font\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as the font file for generated labels.
8631a2
+
8631a2
+.TP
8631a2
+\fB--label-color\fR=\fICOLOR\fR
8631a2
+Use \fICOLOR\fI as the color for generated labels.
8631a2
+
8631a2
+.TP
8631a2
+\fB--label-bgcolor\fR=\fICOLOR\fR
8631a2
+Use \fICOLOR\fR as the background color for generated labels.
8631a2
+
8631a2
+.TP
8631a2
+\fB--product-name\fR=\fISTRING\fR
8631a2
+Use \fISTRING\fR as the product name in generated labels.
8631a2
+
8631a2
+.TP
8631a2
+\fB--product-version\fR=\fISTRING\fR
8631a2
+Use \fISTRING\fR as the product version in generated labels.
8631a2
+
8631a2
+.TP
8631a2
+\fB--sparc-boot\fR
8631a2
+Enable booting the SPARC platform.  This disables HFS+, APM, ARCS, and "boot as disk image" on the \fIi386-pc\fR target platform.
8631a2
+
8631a2
+.TP
8631a2
+\fB--arcs-boot\fR
8631a2
+Enable ARCS booting.  This is typically for big-endian MIPS machines, and disables HFS+, APM, sparc64, and "boot as disk image" on the \fIi386-pc\fR target platform.
8631a2
+
8631a2
+.TP
8631a2
+\fB--\fR
8631a2
+All options after a \fB--\fR will be passed directly to xorriso's command line when generating the image.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkstandalone.1 b/util/grub-mkstandalone.1
8631a2
new file mode 100644
030dc3
index 00000000000..ba2d2bdf279
8631a2
--- /dev/null
8631a2
+++ b/util/grub-mkstandalone.1
8631a2
@@ -0,0 +1,100 @@
8631a2
+.TH GRUB-MKSTANDALONE 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-mkstandalone\fR \(em Generate a standalone image in the selected format.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-mkstandalone\fR [-o | --output=\fIFILE\fR] [-O | --format=\fIFORMAT\fR]
8631a2
+.RS 19
8631a2
+[-C | --compression=(\fIxz\fR|\fInone\fR|\fIauto\fR)]
8631a2
+.RE
8631a2
+.RS 19
8631a2
+[--modules=\fIMODULES\fR] [--install-modules=\fIMODULES\fR]
8631a2
+.RE
8631a2
+.RS 19
8631a2
+[--themes=\fITHEMES\fR] [--fonts=\fIFONTS\fR]
8631a2
+.RE
8631a2
+.RS 19
8631a2
+[--locales=\fILOCALES\fR] [--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]]
8631a2
+.RE
8631a2
+.RS 19
8631a2
+[-d | --directory=\fIDIR\fR] [--grub-mkimage=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 19
8631a2
+\fISOURCE...\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--output=\fIFILE\fR
8631a2
+Write the generated file to \fIFILE\fR.  The default is to write to standard output.
8631a2
+
8631a2
+.TP
8631a2
+--format=\fIFORMAT\fR
8631a2
+Generate an image in the specified \fIFORMAT\fR.  Valid values are:
8631a2
+.RS
8631a2
+.RS 4
8631a2
+.P
8631a2
+i386-coreboot,
8631a2
+i386-multiboot,
8631a2
+i386-pc,
8631a2
+i386-pc-pxe,
8631a2
+i386-efi,
8631a2
+i386-ieee1275,
8631a2
+i386-qemu,
8631a2
+x86_64-efi,
8631a2
+mipsel-yeeloong-flash,
8631a2
+mipsel-fuloong2f-flash,
8631a2
+mipself-loongson-elf,
8631a2
+powerpc-ieee1275,
8631a2
+sparc64-ieee1275-raw,
8631a2
+sparc64-ieee1275-cdcore,
8631a2
+sparc64-ieee1275-aout,
8631a2
+ia64-efi,
8631a2
+mips-arc,
8631a2
+mipsel-arc,
8631a2
+mipsel-qemu_mips-elf,
8631a2
+mips-qemu_mips-flash,
8631a2
+mipsel-qemu_mips-flash,
8631a2
+mips-qemu_mips-elf
8631a2
+.RE
8631a2
+.RE
8631a2
+
8631a2
+.TP
8631a2
+--compression=(\fIxz\fR|\fInone\fR|\fIauto\fR)
8631a2
+Use one of \fIxz\fR, \fInone\fR, or \fIauto\fR as the compression method for the core image.
8631a2
+
8631a2
+.TP
8631a2
+--modules=\fIMODULES\fR
8631a2
+Pre-load modules specified by \fIMODULES\fR.
8631a2
+
8631a2
+.TP
8631a2
+--install-modules=\fIMODULES\fR
8631a2
+Install only \fIMODULES\fR and their dependencies.  The default is to install all available modules.
8631a2
+
8631a2
+.TP
8631a2
+--themes=\fITHEMES\fR
8631a2
+Install \fITHEMES\fR.  The default is to install the \fIstarfield\fR theme, if available.
8631a2
+
8631a2
+.TP
8631a2
+--fonts=\fIFONTS\fR
8631a2
+Install \fIFONTS\fR.  The default is to install the \fIunicode\fR font.
8631a2
+
8631a2
+.TP
8631a2
+--locales=\fILOCALES\fR
8631a2
+Install only locales listed in \fILOCALES\fR.  The default is to install all available locales.
8631a2
+
8631a2
+.TP
8631a2
+--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]
8631a2
+Compress GRUB files using the specified compression algorithm.
8631a2
+
8631a2
+.TP
8631a2
+--directory=\fIDIR\fR
8631a2
+Use images and modules in \fIDIR\fR.
8631a2
+
8631a2
+.TP
8631a2
+--grub-mkimage=\fIFILE\fR
8631a2
+Use \fIFILE\fR as \fBgrub-mkimage\fR.  The default is \fI/usr/bin/grub-mkimage\fR.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-ofpathname.8 b/util/grub-ofpathname.8
8631a2
new file mode 100644
030dc3
index 00000000000..bf3743aeba1
8631a2
--- /dev/null
8631a2
+++ b/util/grub-ofpathname.8
8631a2
@@ -0,0 +1,12 @@
8631a2
+.TH GRUB-OFPATHNAME 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-ofpathname\fR \(em Generate an IEEE-1275 device path for a specified device.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-ofpathname\fR \fIDEVICE\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-ofpathname\fR generates an IEEE-1275 device path for the specified \fIDEVICE\fR.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-probe.8 b/util/grub-probe.8
8631a2
new file mode 100644
030dc3
index 00000000000..04e26c832bb
8631a2
--- /dev/null
8631a2
+++ b/util/grub-probe.8
8631a2
@@ -0,0 +1,80 @@
8631a2
+.TH GRUB-PROBE 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-probe\fR \(em Probe device information for a given path.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-probe\fR \[-d | --device] [-m | --device-map=\fIFILE\fR]
8631a2
+.RS 12
8631a2
+[-t | --target=(fs|fs_uuid|fs_label|drive|device|partmap|
8631a2
+.RE
8631a2
+.RS 28
8631a2
+abstraction|cryptodisk_uuid|
8631a2
+.RE
8631a2
+.RS 28
8631a2
+msdos_parttype)]
8631a2
+.RE
8631a2
+.RS 12
8631a2
+[-v | --verbose] (PATH|DEVICE)
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-probe\fR probes a path or device for filesystem and related information.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--device
8631a2
+Final option represents a \fIDEVICE\fR, rather than a filesystem \fIPATH\fR.
8631a2
+.TP
8631a2
+--device-map=\fIFILE\fR
8631a2
+Use \fIFILE\fR as the device map.  The default value is \fI/boot/grub/device.map\fR.
8631a2
+
8631a2
+.TP
8631a2
+--target=(fs|fs_uuid|fs_label|drive|device|partmap|msdos_parttype)
8631a2
+Select among various output definitions.  The default is \fIfs\fR.
8631a2
+.RS
8631a2
+.TP
8631a2
+\fIfs\fR
8631a2
+filesystem module
8631a2
+
8631a2
+.TP
8631a2
+\fIfs_uuid\fR
8631a2
+filesystem UUID
8631a2
+
8631a2
+.TP
8631a2
+\fIfs_label\fR
8631a2
+filesystem label
8631a2
+
8631a2
+.TP
8631a2
+\fIdrive\fR
8631a2
+GRUB drive name
8631a2
+
8631a2
+.TP
8631a2
+\fIdevice\fR
8631a2
+System device
8631a2
+
8631a2
+.TP
8631a2
+\fIpartmap\fR
8631a2
+partition map module
8631a2
+
8631a2
+.TP
8631a2
+\fIabstraction\fR
8631a2
+abstraction module
8631a2
+
8631a2
+.TP
8631a2
+\fIcryptodisk_uuid\fR
8631a2
+cryptographic container
8631a2
+
8631a2
+.TP
8631a2
+\fImsdos_partmap\fR
8631a2
+MS-DOS partition map
8631a2
+.RE
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose output.
8631a2
+
8631a2
+.TP
8631a2
+(\fIPATH\fR|\fIDEVICE\fR)
8631a2
+If --device is passed, a block \fIDEVICE\fR.  Otherwise, the \fIPATH\fR of a file on the filesystem.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-reboot.8 b/util/grub-reboot.8
8631a2
new file mode 100644
030dc3
index 00000000000..faa5e4eece2
8631a2
--- /dev/null
8631a2
+++ b/util/grub-reboot.8
8631a2
@@ -0,0 +1,21 @@
8631a2
+.TH GRUB-REBOOT 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-reboot\fR \(em Set the default boot menu entry for the next boot only.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-reboot\fR [--boot-directory=\fIDIR\fR] \fIMENU_ENTRY\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-reboot\fR sets the default boot menu entry for the next boot, but not further boots after that.  This command only works for GRUB configuration files created with \fIGRUB_DEFAULT=saved\fR in \fI/etc/default/grub\fR.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--boot-directory=\fIDIR\fR
8631a2
+Find GRUB images under \fIDIR/grub\fR.  The default value is \fI/boot\fR, resulting in grub images being search for at \fI/boot/grub\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fIMENU_ENTRY\fR
8631a2
+A number, a menu item title or a menu item identifier.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-render-label.1 b/util/grub-render-label.1
8631a2
new file mode 100644
030dc3
index 00000000000..4d51c8abf01
8631a2
--- /dev/null
8631a2
+++ b/util/grub-render-label.1
8631a2
@@ -0,0 +1,51 @@
8631a2
+.TH GRUB-RENDER-LABEL 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-render-label\fR \(em Render an Apple disk label.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-render-label\fR [-b | --bgcolor=\fICOLOR\fR] [-c | --color=\fICOLOR\fR]
8631a2
+.RS 19
8631a2
+[-f | --font=\fIFILE\fR] [-i | --input=\fIFILE\fR]
8631a2
+.RE
8631a2
+.RS 19
8631a2
+[-o | --output=\fIFILE\fR] [-t | --text=\fISTRING\fR]
8631a2
+.RE
8631a2
+.RS 19
8631a2
+[-v | --verbose]
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-render-label\fR renders an Apple disk label (.disk_label) file.
8631a2
+
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+\fB--color\fR=\fICOLOR\fR
8631a2
+Use \fICOLOR\fI as the color for generated labels.
8631a2
+
8631a2
+.TP
8631a2
+\fB--bgcolor\fR=\fICOLOR\fR
8631a2
+Use \fICOLOR\fR as the background color for generated labels.
8631a2
+
8631a2
+.TP
8631a2
+\fB--font\fR=\fIFILE\fR
8631a2
+Use \fIFILE\fR as the font file for generated labels.
8631a2
+
8631a2
+.TP
8631a2
+--input=\fIFILE\fR
8631a2
+Read input text from \fIFILE\fR.
8631a2
+
8631a2
+.TP
8631a2
+--output=\fIFILE\fR
8631a2
+Render output to \fIFILE\fR.
8631a2
+
8631a2
+.TP
8631a2
+--text=\fISTRING\fR
8631a2
+Use \fISTRING\fR as input text.
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose output.
8631a2
+
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-script-check.1 b/util/grub-script-check.1
8631a2
new file mode 100644
030dc3
index 00000000000..0f1f625b05d
8631a2
--- /dev/null
8631a2
+++ b/util/grub-script-check.1
8631a2
@@ -0,0 +1,21 @@
8631a2
+.TH GRUB-SCRIPT-CHECK 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-script-check\fR \(em Check GRUB configuration file for syntax errors.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-script-check\fR [-v | --verbose] \fIPATH\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-script-check\fR verifies that a specified GRUB configuration file does not contain syntax errors.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose output.
8631a2
+
8631a2
+.TP
8631a2
+\fIPATH\fR
8631a2
+Path of the file to use as input.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-set-default.8 b/util/grub-set-default.8
8631a2
new file mode 100644
030dc3
index 00000000000..a96265a1509
8631a2
--- /dev/null
8631a2
+++ b/util/grub-set-default.8
8631a2
@@ -0,0 +1,21 @@
8631a2
+.TH GRUB-SET-DEFAULT 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-set-default\fR \(em Set the default boot menu entry for GRUB.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-set-default\fR [--boot-directory=\fIDIR\fR] \fIMENU_ENTRY\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-set-default\fR sets the default boot menu entry for all subsequent boots.  This command only works for GRUB configuration files created with \fIGRUB_DEFAULT=saved\fR in \fI/etc/default/grub\fR.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--boot-directory=\fIDIR\fR
8631a2
+Find GRUB images under \fIDIR/grub\fR.  The default value is \fI/boot\fR, resulting in grub images being search for at \fI/boot/grub\fR.
8631a2
+
8631a2
+.TP
8631a2
+\fIMENU_ENTRY\fR
8631a2
+A number, a menu item title or a menu item identifier.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-sparc64-setup.8 b/util/grub-sparc64-setup.8
8631a2
new file mode 100644
030dc3
index 00000000000..37ea2dd5eaa
8631a2
--- /dev/null
8631a2
+++ b/util/grub-sparc64-setup.8
8631a2
@@ -0,0 +1,12 @@
8631a2
+.TH GRUB-SPARC64-SETUP 3 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-sparc64-setup\fR \(em Set up a device to boot a sparc64 GRUB image.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-sparc64-setup\fR [OPTIONS].
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+You should not normally run this program directly.  Use grub-install instead.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"