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

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