分页: 1 / 1

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

发表于 : 2011-07-01 9:25
wangqi060934
我将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 .
这个是怎么回事?

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

发表于 : 2011-07-01 11:36
Steve Jobs
grub-install 后面应该是/dev/sda之类的吧

代码: 全选

grub-install /dev/sda

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

发表于 : 2011-07-01 14:19
wangqi060934
Steve Jobs 写了:grub-install 后面应该是/dev/sda之类的吧

代码: 全选

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