my-desktop:~$ sudo grub-setup --help
Usage: grub-setup [OPTION]... DEVICE
Set up images to boot from DEVICE.
DEVICE must be a GRUB device (e.g. `(hd0,1)').
-b, --boot-image=FILE use FILE as the boot image [default=boot.img]
-c, --core-image=FILE use FILE as the core image [default=core.img]
-d, --directory=DIR
use GRUB files in the directory DIR [default=/boot/grub]
-m, --device-map=FILE use FILE as the device map [default=/boot/grub/device.map]
-r, --root-device=DEV use DEV as the root device [default=guessed]
-f, --force
install even if problems are detected
-s, --skip-fs-probe
do not probe for filesystems in DEVICE
-h, --help
display this message and exit
-V, --version
print version information and exit
-v, --verbose
print verbose messages
Report bugs to <bug-grub@gnu.org>.
Ubuntu Linux, Windows XP 双系统重装Grub2
内容版权声明:除非注明,否则皆为本站原创文章。