Grub v2 manual
The pages contributed here (FranklinPiat/*) were an attempt to write some documentation for Grub2. This documentation isn't updated anymore (since grub2-1.96+20080203 approximately) |
(8)GRUB-SETUP - Set up images to boot from a given device.
SYNOPSIS
grub-setup [OPTION]... DEVICE
DESCRIPTION
grub-setup is the tool that will actually copy boot.img and core.img to the boot drive. This tool is usually invoked by (8)grub-install.
If the destination device can have partitions and it is the MBR, grub-setup will try to embed the core image into after the MBR (that's compulsory when root is on RAID or LVM). Otherwise, the core.img will be copied to filesystem.
This command is only useful (and available) on plain PC (not on EFI, or Open Firmware based systems).
-b FILE, --boot-image=FILE
- Use FILE as the boot image [default=/boot/grub/boot.img].
-c FILE, --core-image=FILE
- Use FILE as the core image [default=/boot/grub/core.img]
-d DIR, --directory=DIR
- Use GRUB files in the directory DIR [default=/boot/grub/]
-m FILE, --devicemap=FILE
- Use FILE as the device map [default=/boot/grub/device.map]
-h, --help
- Print this message and exit.
-v, --version
- Print the version information and exit
-r DEV, --root-device=DEV
- Use DEV as the root device [default=guessed].
AUTHOR
Program Written by Yoshinori K. Okuji, Robert Millan, Marco Gerards and others (see AUTHORS file).
Manpage Written by Franklin Piat.
BUGS
Report bugs to <bug-grub@gnu.org>.
COPYRIGHT
Copyright © 2008 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
grub2-1.96+20080203 |
January 2008 |
(8)GRUB-SETUP |
LICENSE |
This page is dual licensed under GPL + GFDL. |