我是 Linux 新手,正在使用 CentOS 6.3,并尝试按照以下说明将 CentOS 5.8 ISO 安装到 U 盘中:这里。
我的 U 盘是/dev/sda
,分区 1 是vfat
。它安装在 上/mnt/usb
。以下是我尝试使用 时发生的情况grub-install
:
[root@localhost ~]# grub-install –root-directory=/mnt/usb /dev/sda
More than one install_devices?
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help
print this message and exit
-v, --version
print the version information and exit
--root-directory=DIR
install GRUB images under the directory DIR instead of the root directory
--grub-shell=FILE
use FILE as the grub shell
--no-floppy
do not probe any floppy drive
--force-lba
force GRUB to use LBA mode even for a buggy BIOS
--recheck
probe a device map even if it already exists
This flag is unreliable and its use is strongly discouraged.
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by --root-directory, and uses the grub shell to install grub into the boot sector.
我不明白此上下文中的错误消息,我做错了什么?