dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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