$ 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)
本文详细介绍了如何在Linux系统中使用命令行安装Grub2,并将其配置到GRUB.cfg文件中,确保系统的稳定性和兼容性。

被折叠的 条评论
为什么被折叠?



