$ su
$ cd /media
$ mkdir tmp # make a temporary directory to mount /boot
$ mount /dev/sda3 tmp # sda3 is my /boot partition
$ grub2-install --boot-directory=tmp /dev/sda # install grub2 at the mbr of sda
$ grub2-mkconfig -o tmp/grub2/grub.cfg # update grub.cfg
$ reboot
Recover Grub2 using a LiveCD(for Fedora 17)
最新推荐文章于 2020-07-08 14:42:22 发布