nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0130-May-as-well-try-it.patch

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