命令grub-install提示Unrecognized option `--grub-probe=/usr/share

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
wangqi060934
帖子: 23
注册时间: 2008-11-20 14:07

命令grub-install提示Unrecognized option `--grub-probe=/usr/share

#1

帖子 wangqi060934 » 2011-07-01 9:25

我将grub2降级到grub,
sudo apt-get purge grub-pc
sudo rm /boot/grub/*
sudo apt-get install grub
然后输入grub-install(不管后面是什么参数)都会提示:
Unrecognized option `–grub-probe=/usr/share/lupin-support/grub-probe’
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

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.

Report bugs to .
这个是怎么回事?
头像
Steve Jobs
帖子: 824
注册时间: 2011-04-28 12:27

Re: 命令grub-install提示Unrecognized option `--grub-probe=/usr/s

#2

帖子 Steve Jobs » 2011-07-01 11:36

grub-install 后面应该是/dev/sda之类的吧

代码: 全选

grub-install /dev/sda
你把爱情给了誰 不管我憔悴
哭红眼睛挽不回 心一点点碎
你把爱情给了誰 不再给我安慰
为你伤悲为你醉 爱已不完美

代码: 全选

不喜欢我的人可以把我加入黑名单,谢谢
方法,下面的个人资料》添加坏蛋
wangqi060934
帖子: 23
注册时间: 2008-11-20 14:07

Re: 命令grub-install提示Unrecognized option `--grub-probe=/usr/s

#3

帖子 wangqi060934 » 2011-07-01 14:19

Steve Jobs 写了:grub-install 后面应该是/dev/sda之类的吧

代码: 全选

grub-install /dev/sda
说了 后面不管接什么 都是一样的提示
回复