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

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