我将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 .
这个是怎么回事?
命令grub-install提示Unrecognized option `--grub-probe=/usr/share
-
- 帖子: 23
- 注册时间: 2008-11-20 14:07
- Steve Jobs
- 帖子: 824
- 注册时间: 2011-04-28 12:27
Re: 命令grub-install提示Unrecognized option `--grub-probe=/usr/s
grub-install 后面应该是/dev/sda之类的吧
代码: 全选
grub-install /dev/sda
-
- 帖子: 23
- 注册时间: 2008-11-20 14:07
Re: 命令grub-install提示Unrecognized option `--grub-probe=/usr/s
说了 后面不管接什么 都是一样的提示Steve Jobs 写了:grub-install 后面应该是/dev/sda之类的吧代码: 全选
grub-install /dev/sda